From: simon Date: Thu, 11 Jul 2013 17:24:39 +0000 (+0000) Subject: It's not actually legal by the C standard to call qsort with a null X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/fb73b28d8dd9758d692fc368fd2bb0490b5e3bcc?hp=fb73b28d8dd9758d692fc368fd2bb0490b5e3bcc 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. git-svn-id: svn://svn.tartarus.org/sgt/putty@9912 cda61777-01e9-0310-a592-d414129be87e ---