]> git.ipfire.org Git - thirdparty/bind9.git/commit
Add semantic patch for never failing isc_mempool_get()
authorOndřej Surý <ondrej@isc.org>
Wed, 24 Feb 2021 21:44:38 +0000 (22:44 +0100)
committerOndřej Surý <ondrej@sury.org>
Wed, 3 Mar 2021 14:32:01 +0000 (15:32 +0100)
commit97ba216ac2952eb156501166a77d2083d744b40b
tree480f8c3680801e024689bad804f53223e61316ff
parent63f6468f682919d67fff23124d00f95a4796fe1c
Add semantic patch for never failing isc_mempool_get()

The isc_mempool_get() could never fail now, thus we add a semantic patch
for cleaning up the error paths from the calls where previously we had
to check if the return value was not NULL.
cocci/isc_mempool_get_never_fail.spatch [new file with mode: 0644]