]> git.ipfire.org Git - thirdparty/bind9.git/commit
Refactor the isc_buffer_allocate() usage using the semantic patch
authorOndřej Surý <ondrej@isc.org>
Sun, 2 Feb 2020 07:35:46 +0000 (08:35 +0100)
committerOndřej Surý <ondrej@isc.org>
Mon, 3 Feb 2020 07:29:00 +0000 (08:29 +0100)
commitc73e5866c479c71b2fb61e882c249cc2c3de3af0
tree1fd07edd8a4af22a3f657ce5cfcb671f3e6d3485
parentd5f682a00be868e86f588ec5d452d58f7cacaa86
Refactor the isc_buffer_allocate() usage using the semantic patch

The isc_buffer_allocate() function now cannot fail with ISC_R_MEMORY.
This commit removes all the checks on the return code using the semantic
patch from previous commit, as isc_buffer_allocate() now returns void.
41 files changed:
bin/dig/dig.c
bin/dig/dighost.c
bin/dig/host.c
bin/dig/nslookup.c
bin/dnssec/dnssec-cds.c
bin/dnssec/dnssec-signzone.c
bin/named/controlconf.c
bin/named/server.c
bin/nsupdate/nsupdate.c
bin/rndc/rndc.c
bin/tests/wire_test.c
bin/tools/mdig.c
lib/dns/catz.c
lib/dns/client.c
lib/dns/dnssec.c
lib/dns/dst_api.c
lib/dns/gssapi_link.c
lib/dns/gssapictx.c
lib/dns/keytable.c
lib/dns/message.c
lib/dns/nta.c
lib/dns/openssleddsa_link.c
lib/dns/pkcs11eddsa_link.c
lib/dns/rbtdb.c
lib/dns/rdata.c
lib/dns/request.c
lib/dns/sdb.c
lib/dns/sdlz.c
lib/dns/tests/dnstest.c
lib/dns/tests/tsig_test.c
lib/dns/tkey.c
lib/dns/tsig.c
lib/dns/zone.c
lib/irs/dnsconf.c
lib/isc/buffer.c
lib/isc/lex.c
lib/isc/tests/buffer_test.c
lib/ns/client.c
lib/ns/query.c
lib/samples/sample-request.c
lib/samples/sample-update.c