diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-11-29 23:56:57 -0800 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2016-10-19 21:40:25 +0200 |
commit | 30d4454e350ac7c5558d79fd09dfd49ffd415dd5 (patch) | |
tree | d575cb77d46c998e66f45eb4f6e9f1317ed10e88 /nx-X11/config/cf/xorgsite.def | |
parent | 0f089824eedf91df21d1786abc2961247ba8efb7 (diff) | |
download | nx-libs-30d4454e350ac7c5558d79fd09dfd49ffd415dd5.tar.gz nx-libs-30d4454e350ac7c5558d79fd09dfd49ffd415dd5.tar.bz2 nx-libs-30d4454e350ac7c5558d79fd09dfd49ffd415dd5.zip |
Reject negative string counts in copy_string_list
Silences parfait warning of a potential memory leak:
Memory leak of pointer 'dst' allocated with malloc(length)
at line 160 of FSWrap.c in function 'copy_string_list'.
'dst' allocated at line 145 with malloc(length).
dst leaks when count <= 0 at line 154.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de>
Diffstat (limited to 'nx-X11/config/cf/xorgsite.def')
0 files changed, 0 insertions, 0 deletions