simon-svn: putty: simon

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Thu Jul 11 18:24:39 BST 2013


SVN root:       svn://svn.tartarus.org/sgt
Changes by:     simon
Revision:       9912
Date:           2013-07-11 18:24:39 +0100 (Thu, 11 Jul 2013)

Log message (4 lines):
It's not actually legal by the C standard to call qsort with a null
array pointer, _even_ if you're asking it to sort zero elements so
that in principle it should never dereference that pointer. Fix the
four instances in PSCP/PSFTP where this was previously occurring.

Modified files:
U   putty/pscp.c
U   putty/psftp.c

Links:
http://svn.tartarus.org/sgt/?rev=9912&view=rev
http://svn.tartarus.org/sgt/putty/pscp.c?rev=9912&r1=9911&r2=9912
http://svn.tartarus.org/sgt/putty/psftp.c?rev=9912&r1=9911&r2=9912



More information about the tartarus-commits mailing list