]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix segmentation fault on -k parse (#218) M-staged-PR218
authorAmos Jeffries <yadij@users.noreply.github.com>
Wed, 4 Jul 2018 10:30:12 +0000 (10:30 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Wed, 4 Jul 2018 10:30:17 +0000 (10:30 +0000)
commit79110c18823236eeb4d76a44135c9ba7b05db882
treefede3b006a3b14598ff1fddc79665362d45f3b21
parentb56b37cfd68069691a047c51d50d13d05a23893a
Fix segmentation fault on -k parse (#218)

When an HTTPS or SSL-Bump port is configured without a cert=
parameter it results in a segmentation fault. Detect that
occurance and add the required FATAL error message instead for
these configurations where cert= is a parameter rather than an
option.

Our project terminology for config settings is;

 "parameter"
 -  a required setting. Print a FATAL error message if missing.

 "option"
 -  an optional setting. Ignored or default value if missing.
src/cache_cf.cc