]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix crash reading malformed config files
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 28 Sep 2014 16:38:44 +0000 (09:38 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 28 Sep 2014 16:38:44 +0000 (09:38 -0700)
commitfc3f1d5cd7d0c585706ce2267d3d8a957534063c
tree52ec4b852458445d3f80ae3280d6866f408a2834
parent7970e4cfd13bac4045a46f451c950dc003231594
Fix crash reading malformed config files

If ConfigParser::QuotedOrToEol() happend to return NULL. Which may happen
if there is no token before end of current file the auth module config
parser would crash.

  Detected by Coverity Scan. Issue 1222662.
src/auth/Config.cc