]> git.ipfire.org Git - thirdparty/squid.git/commit
Ensure null-termination of string in negotiate_wrapper (#1031)
authorFrancesco Chemolli <kinkie@squid-cache.org>
Sat, 7 May 2022 11:03:32 +0000 (11:03 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Sat, 7 May 2022 11:26:21 +0000 (11:26 +0000)
commit265d1cc516f56a70fb142ee0ccdc74fc8fbe09d7
treea8d153afdcbf2bd774853cd06a4e812b71ba9a05
parentcc4566604bd88a830ad18d4b91439af6ae4c8611
Ensure null-termination of string in negotiate_wrapper (#1031)

Coverity identified a theoretical chance that a buffer may not be
null-terminated in negotiate_wrapper. The code flow is clean, adding a
forced null termination to apply defensive programming practices.
src/auth/negotiate/wrapper/negotiate_wrapper.cc