Tartarus CVS: putty: simon
tartarus-commits@lists.tartarus.org
tartarus-commits@lists.tartarus.org
Tue, 20 Jan 2004 19:30:43 +0000
CVS Root: /home/cvs
Module: putty
Changes by: simon
Date: Tue Jan 20 2004 19:30:43 GMT
Log message:
Mark Wutzke points out that the comment in sk_proxy_set_frozen()
states that plug_receive() may recurse back into
sk_proxy_set_frozen() again. Therefore, bufchain_consume() should
have been called _before_ calling plug_receive(), to prevent an
infinite loop overflowing the stack. I can't immediately figure out
under what circumstances this might happen, but it seems an
obviously sensible precaution.
Modified files:
. : proxy.c
Links:
http://cvs.tartarus.org//putty/proxy.c.diff?r1=1.38&r2=1.39