simon-svn: putty: ben
tartarus-commits at lists.tartarus.org
tartarus-commits at lists.tartarus.org
Tue Sep 13 21:17:10 BST 2005
SVN root: svn://ixion.tartarus.org/main
Changes by: ben
Revision: 6308
Date: 2005-09-13 21:17:10 +0100 (Tue, 13 Sep 2005)
Log message (3 lines):
When asked to malloc zero bytes, malloc one byte instead. This ensures
that we get a unique pointer rather than NULL (which ANSI C otherwise permits).
Problem pointed out by Mike Protts.
Modified files:
U putty/misc.c
Links:
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi?rev=6308&view=rev
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/putty/misc.c?rev=6308&r1=6307&r2=6308
More information about the tartarus-commits
mailing list