]> git.ipfire.org Git - thirdparty/bind9.git/commit
Refactor the isc_log API so it cannot fail on memory failures
authorMark Andrews <marka@isc.org>
Wed, 18 Mar 2020 03:17:55 +0000 (14:17 +1100)
committerOndřej Surý <ondrej@isc.org>
Wed, 18 Mar 2020 10:44:18 +0000 (11:44 +0100)
commitaf14091f65c3c0bb4faf59431407a063677bcdfd
tree69d95ec4b31e7988ae6e18b722a477883f9b7697
parent8899b0c1e6b3cf9ef66fda1bb1dd3176f6b95d90
Refactor the isc_log API so it cannot fail on memory failures

The isc_mem API now crashes on memory allocation failure, and this is
the next commit in series to cleanup the code that could fail before,
but cannot fail now, e.g. isc_result_t return type has been changed to
void for the isc_log API functions that could only return ISC_R_SUCCESS.

(cherry picked from commit 0b793166d0b678af01618339f861ee60ded2c276)
35 files changed:
bin/check/check-tool.c
bin/delv/delv.c
bin/dig/dighost.c
bin/dnssec/dnssectool.c
bin/named/include/named/log.h
bin/named/log.c
bin/named/logconf.c
bin/named/server.c
bin/nsupdate/nsupdate.c
bin/rndc/rndc.c
bin/tests/cfg_test.c
bin/tests/makejournal.c
bin/tests/optional/adb_test.c
bin/tests/optional/byname_test.c
bin/tests/optional/db_test.c
bin/tests/optional/gsstest.c
bin/tests/optional/log_test.c
bin/tests/optional/sig0_test.c
bin/tests/system/pipelined/pipequeries.c
bin/tests/system/rsabigexponent/bigkey.c
bin/tests/system/tkey/keycreate.c
bin/tests/system/tkey/keydelete.c
bin/tools/mdig.c
bin/tools/named-journalprint.c
conftools/perllib/dnsconf/DNSConf.i
doc/design/logging
doc/dev/dev.md
lib/dns/client.c
lib/dns/tests/dnstest.c
lib/isc/include/isc/log.h
lib/isc/log.c
lib/isc/tests/isctest.c
lib/isccfg/tests/duration_test.c
lib/isccfg/tests/parser_test.c
lib/ns/tests/nstest.c