]> asedeno.scripts.mit.edu Git - PuTTY_svn.git/commit
Jacob reports a segfault when using HTTP proxying under Minefield.
authorSimon Tatham <anakin@pobox.com>
Tue, 10 Feb 2004 19:07:45 +0000 (19:07 +0000)
committerSimon Tatham <anakin@pobox.com>
Tue, 10 Feb 2004 19:07:45 +0000 (19:07 +0000)
commit746cb76acd4da7717d959430268685eda7d316ef
treee0b72c3aeb2491f836add222a8c00087065fbeb8
parent74df25af927be111302fdc4c479667490e5f6306
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: http://svn.tartarus.org/sgt/putty@3844 cda61777-01e9-0310-a592-d414129be87e
proxy.c