simon-svn: putty putty-wishlist: jacob

tartarus-commits at lists.tartarus.org tartarus-commits at lists.tartarus.org
Sun Feb 19 01:37:46 GMT 2006


SVN root:       svn://ixion.tartarus.org/main
Changes by:     jacob
Revision:       6570
Date:           2006-02-19 01:37:45 +0000 (Sun, 19 Feb 2006)

Log message (8 lines):
At last, a fix for `large-clipboard-crash'.
A growable buffer was only being grown for actual text, not for newlines or
trailing NULs. A large run of empty lines could lead to newlines overflowing
the buffer (> 100 should be enough to guarantee this on all platforms, after
the initial 5k size of the buffer).

Also fix some valgrind in the same area (was probably harmless), and a memory
leak introduced by the RTF attribute pasting.

Modified files:
U   putty/terminal.c
U   putty-wishlist/data/large-clipboard-crash

Links:
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi?rev=6570&view=rev
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/putty/terminal.c?rev=6570&r1=6569&r2=6570
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/putty-wishlist/data/large-clipboard-crash?rev=6570&r1=6569&r2=6570



More information about the tartarus-commits mailing list