]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix crash when parsing invalid squid.conf
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 6 Feb 2015 20:09:03 +0000 (12:09 -0800)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 6 Feb 2015 20:09:03 +0000 (12:09 -0800)
commit65ae31c658000440d68c670ed6362fa8f2ce2c1c
tree3466871596c4cee79a27aa37eb87fd76fbde13ca
parentf8a2338fd9bc8930fa3c5ce72ba2beb493642629
Fix crash when parsing invalid squid.conf

If a time value is going to overflow with default units the
critical debugs() can trigger a segfault instead of logging
and aborting Squid with self_destruct().

  Detected by Coverity Scan. Issue 1258698
src/cache_cf.cc