]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix parsing of malformed quoted squid.conf strings (#2239)
authorJoshua Rogers <MegaManSec@users.noreply.github.com>
Mon, 15 Sep 2025 14:22:01 +0000 (14:22 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Mon, 15 Sep 2025 14:51:21 +0000 (14:51 +0000)
commit20681dbd20c4e0e7950626f277832daeb7fb71da
tree77ff798cf31eb105f40b66173c41cae938120298
parent567b10a49a1b33729288a9092d80033328f0e8c3
Fix parsing of malformed quoted squid.conf strings (#2239)

Iteration of a quoted token that ends with a backslash (escape with no
next char) kept going past the end of the token. That bug as well as
hypothetical 2KB-byte tokens (exceeding CONFIG_LINE_LIMIT) could also
result in a 1-byte NUL overrun.
src/ConfigParser.cc