mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
4539. [bug] Referencing a nonexistant zone with rpz could lead
to a assertion failure when configuring. [RT #43787]
This commit is contained in:
@@ -2963,7 +2963,7 @@ cfg_obj_log(const cfg_obj_t *obj, isc_log_t *lctx, int level,
|
||||
vsnprintf(msgbuf, sizeof(msgbuf), fmt, ap);
|
||||
va_end(ap);
|
||||
|
||||
if (have_current_file(obj->pctx)) {
|
||||
if (obj->file != NULL) {
|
||||
isc_log_write(lctx, CAT, MOD, level,
|
||||
"%s:%u: %s", obj->file, obj->line, msgbuf);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user