]> git.ipfire.org Git - thirdparty/squid.git/commit
Polish squid.conf parsing validation
authorTianyin Xu <tixu@cs.ucsd.edu>
Mon, 28 Jan 2013 04:15:03 +0000 (21:15 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 28 Jan 2013 04:15:03 +0000 (21:15 -0700)
commit47a72c1545c6522bc1f0232c4a397799c8f78062
tree52577e76498ac52437389e4ba0c713cdfe486ae8
parentd32b34dcfb3ee0f1e8a7f6fefb5c1eedaa71d09e
Polish squid.conf parsing validation

* Updates ato*() functiosn to safer xato*() alternatives provided by
  the Squid compat library. Along with error messages on invalid
  configuration values detected by these.

* Add protection against integer overflow on most options

* Add parse deprecation messages on enable/disable for boolean and
  and trilean options.

* Add 'wrong-value' error messages on most options.
compat/xstrto.cc
src/HelperChildConfig.cc
src/Parsing.cc
src/Parsing.h
src/cache_cf.cc
src/wccp2.cc