Jacob reports a segfault when using HTTP proxying under Minefield.
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 10 Feb 2004 19:07:45 +0000 (19:07 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 10 Feb 2004 19:07:45 +0000 (19:07 +0000)
commit8d8af57108127dbd5731ac9cce147fe11779e46f
treee0b72c3aeb2491f836add222a8c00087065fbeb8
parent5bcf5d50fb31549f4456bbeba0ebd8635ef737a6
Jacob reports a segfault when using HTTP proxying under Minefield.
It appears that this is because Visual C's sscanf works by first
calling strlen to get the length of the string, so that its internal
read-character routine can be sure of never overrunning the buffer.
Quite why the internal read-char routine can't detect \0 _itself_
rather than having to have it found for it in advance I have no
idea. Sigh.

git-svn-id: svn://svn.tartarus.org/sgt/putty@3844 cda61777-01e9-0310-a592-d414129be87e
proxy.c