]> git.ipfire.org Git - thirdparty/squid.git/commit - src/HttpHeader.cc
stringLimitInit() asserts if given more than 64K bytes because String
authorwessels <>
Sun, 31 Dec 2000 05:15:57 +0000 (05:15 +0000)
committerwessels <>
Sun, 31 Dec 2000 05:15:57 +0000 (05:15 +0000)
commit25acfb531df5410fdfff226263dd26afa4885ced
treeddaebcddbb76eef46c3cb4fbee469fcd7a16f00b
parent5c3a30d407f63b8a1eeb013f4c756c5a16e7417b
stringLimitInit() asserts if given more than 64K bytes because String
uses an unsigned short to store the string length.  This patch prevents
the assertion by ignoring HTTP header names and values longer than 64K.
src/HttpHeader.cc