]> git.ipfire.org Git - thirdparty/bind9.git/commit
Silence tainted scalar in client.c
authorMark Andrews <marka@isc.org>
Wed, 28 May 2025 23:42:08 +0000 (09:42 +1000)
committerMark Andrews <marka@isc.org>
Thu, 29 May 2025 07:01:00 +0000 (07:01 +0000)
commit2ecac031ba280b2dd1eb712fcfa0df2e41b682a0
tree64504b387074951304d0a736b13e9fabaf097cdd
parentbdcd698edf7b3fa795f51924840d89039f27a399
Silence tainted scalar in client.c

Coverity detected that 'optlen' was not being checked in 'process_opt'.
This is actually already done when the OPT record was initially
parsed.  Add an INSIST to silence Coverity as is done in message.c.

(cherry picked from commit 72cd6e85916e02fe7f51806eb25ee0c5a973398a)
lib/ns/client.c