]> git.ipfire.org Git - thirdparty/squid.git/commit
ParserNG: fix typo in rev.13688
authorAmos Jeffries <squid3@treenet.co.nz>
Wed, 19 Nov 2014 22:29:50 +0000 (14:29 -0800)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 19 Nov 2014 22:29:50 +0000 (14:29 -0800)
commit6b52d3cdbdd10a3e675cdf0e07094f4954a3da9c
tree9dbd7cf193ae33c8a3603c892156012b0620497d
parent4bfb8f7fbfdc38fc81692a09478944a76f4449af
ParserNG: fix typo in rev.13688

Squid xstrncpy() assumes \0-termination and enforces it by overwriting
the last byte of the output. Un-terminated strings must have +1 length
delivered or they will be truncated.
src/http/one/Parser.cc