]> git.ipfire.org Git - thirdparty/squid.git/commit - src/whois.cc
Fixed buffer overflow bug in whois.cc.
authorwessels <>
Mon, 30 Apr 2007 22:38:19 +0000 (22:38 +0000)
committerwessels <>
Mon, 30 Apr 2007 22:38:19 +0000 (22:38 +0000)
commit5bac8e33401410033c16030858febc82e05151a3
tree27c8903e31939796ab80538527ff78f1f295bfee
parent29827b3e6d7ab215089bc9d9acc846de67ba5487
Fixed buffer overflow bug in whois.cc.

Terminating null was written one byte past end of the buffer,
clobbering the dataWritten variable.  Caused an assertion for whois
replies longer than BUFSIZ (1024) bytes.
src/whois.cc