]> git.ipfire.org Git - thirdparty/squid.git/commit
Bug 3870: assertion failed: String.cc: 'len_ + len <65536' in ESI::CustomParser
authorWilliam Lima <william.lima@hscbrasil.com.br>
Thu, 18 Feb 2016 12:48:08 +0000 (01:48 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 18 Feb 2016 12:48:08 +0000 (01:48 +1300)
commit89f7bca852b05a2e529a14da6c8d8cb3d2c8a511
tree498e596df76865561f5cd25e2727e589b1cab06d
parent3d67f7e6f7c2c9c152a851a899f8ee01f9d7efec
Bug 3870: assertion failed: String.cc: 'len_ + len <65536' in ESI::CustomParser

The custom ESI parser used in absence of libxml2 or libexpat parsers was
restricted to handling 64KB buffers but under some conditions could expand
to over 64KB during the parse process. Hitting this assertion.

TODO: the parser can now be redesigned to make use of Tokenizer and
      CharacterSet parsing tools. But that is left for later work.
src/esi/CustomParser.cc
src/esi/CustomParser.h