Tartarus CVS: putty: simon
tartarus-commits@lists.tartarus.org
tartarus-commits@lists.tartarus.org
Tue, 10 Feb 2004 19:07:47 +0000
CVS Root: /home/cvs
Module: putty
Changes by: simon
Date: Tue Feb 10 2004 19:07:47 GMT
Log message:
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.
Modified files:
. : proxy.c
Links:
http://cvs.tartarus.org//putty/proxy.c.diff?r1=1.39&r2=1.40