]> git.ipfire.org Git - thirdparty/bind9.git/commit
[9.20] fix: nil: silence tainted scalar in client.c
authorMark Andrews <marka@isc.org>
Thu, 29 May 2025 08:01:23 +0000 (08:01 +0000)
committerMark Andrews <marka@isc.org>
Thu, 29 May 2025 08:01:23 +0000 (08:01 +0000)
commit6b6659e1e77eadf9c47f70aa024c1893b2d40e24
tree64504b387074951304d0a736b13e9fabaf097cdd
parentbdcd698edf7b3fa795f51924840d89039f27a399
parent2ecac031ba280b2dd1eb712fcfa0df2e41b682a0
[9.20] fix: nil: 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.

Closes #5330

Backport of MR !10500

Merge branch 'backport-5330-tainted-scalar-in-client-c-9.20' into 'bind-9.20'

See merge request isc-projects/bind9!10505