]> git.ipfire.org Git - thirdparty/squid.git/commit - src/auth/ntlm/UserRequest.cc
Fix NULL-dereference added in rev.12779
authorAmos Jeffries <squid3@treenet.co.nz>
Tue, 4 Jun 2013 04:21:48 +0000 (22:21 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 4 Jun 2013 04:21:48 +0000 (22:21 -0600)
commit87a122b0dd6dd8e1f9c7b60d7d2932c406c87103
tree381df9f5a21a636fcd920c70adfaaf66b440c61a
parent133906f560762d68bc2c8eb677584dcd4ccae8f2
Fix NULL-dereference added in rev.12779

With the change of helper responses from Notes to NotePairs the errNote
in NTLM ERR/NA responses was altered to a potentially NULL char*, and
allowed to be printed in debugs() level 4.

This updated NTLM and Negotiate halpers to print the helper response as
"Result: ..." in identical fashion.

  Detected by Coverity Scan. Issue 1020655.
src/auth/negotiate/UserRequest.cc
src/auth/ntlm/UserRequest.cc