]> git.ipfire.org Git - thirdparty/bind9.git/commit
Clear the pointer to destroyed object early using the semantic patch
authorOndřej Surý <ondrej@isc.org>
Sat, 8 Feb 2020 12:37:54 +0000 (04:37 -0800)
committerOndřej Surý <ondrej@isc.org>
Mon, 10 Feb 2020 02:00:17 +0000 (18:00 -0800)
commitbc1d4c9cb44432e24d2db5c762eda64ae9b9a93e
treebe7397eac04c46dfa984b50eccda225935646c8f
parentb97d003033bc4a1151b1f6da70823206f1bcc65a
Clear the pointer to destroyed object early using the semantic patch

Also disable the semantic patch as the code needs tweaks here and there because
some destroy functions might not destroy the object and return early if the
object is still in use.
64 files changed:
bin/dnssec/dnssec-cds.c
bin/named/controlconf.c
bin/nsupdate/nsupdate.c
bin/tests/system/dyndb/driver/instance.c
cocci/null-the-pointer-early.disabled [moved from cocci/null-the-pointer-early.spatch with 100% similarity]
lib/dns/adb.c
lib/dns/badcache.c
lib/dns/byaddr.c
lib/dns/cache.c
lib/dns/catz.c
lib/dns/client.c
lib/dns/dbtable.c
lib/dns/diff.c
lib/dns/dispatch.c
lib/dns/dnsrps.c
lib/dns/dnssec.c
lib/dns/dnstap.c
lib/dns/dst_api.c
lib/dns/dyndb.c
lib/dns/forward.c
lib/dns/journal.c
lib/dns/lookup.c
lib/dns/master.c
lib/dns/masterdump.c
lib/dns/message.c
lib/dns/peer.c
lib/dns/rbt.c
lib/dns/request.c
lib/dns/resolver.c
lib/dns/sdb.c
lib/dns/sdlz.c
lib/dns/ssu.c
lib/dns/tkey.c
lib/dns/tsec.c
lib/dns/validator.c
lib/dns/view.c
lib/dns/xfrin.c
lib/dns/zone.c
lib/irs/dnsconf.c
lib/irs/resconf.c
lib/isc/buffer.c
lib/isc/counter.c
lib/isc/event.c
lib/isc/heap.c
lib/isc/ht.c
lib/isc/lex.c
lib/isc/log.c
lib/isc/netmgr/netmgr.c
lib/isc/pool.c
lib/isc/ratelimiter.c
lib/isc/symtab.c
lib/isc/task.c
lib/isc/taskpool.c
lib/isc/unix/interfaceiter.c
lib/isc/unix/socket.c
lib/isc/win32/interfaceiter.c
lib/isc/win32/socket.c
lib/isccc/sexpr.c
lib/isccc/symtab.c
lib/ns/client.c
lib/ns/interfacemgr.c
lib/ns/listenlist.c
lib/ns/tests/nstest.c
lib/ns/xfrout.c