]> git.ipfire.org Git - thirdparty/squid.git/commit
ext_time_quota_acl: Polish and handle bad input better
authorAmos Jeffries <squid3@treenet.co.nz>
Wed, 14 Nov 2012 06:50:52 +0000 (23:50 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 14 Nov 2012 06:50:52 +0000 (23:50 -0700)
commit03f581b09946b8c0b8c383c58e4c2d42bd413ea3
tree80b53d51d3c503244022b4166d5c10a5e7037a5c
parented7f08683a186453fe6ed3249b0bda0a85b092fd
ext_time_quota_acl: Polish and handle bad input better

* Send BH response code when username field is missing or empty on the
  input line received from Squid (or manually typed)

* Display error message on broken config file lines and skip instead of
  crashing.

* Polish out some unused assignments.

 Detected by Coverity Scan. Issues 740404, 740405, 740591
helpers/external_acl/file_userip/ext_file_userip_acl.cc
helpers/external_acl/time_quota/ext_time_quota_acl.cc