diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-03-16 10:03:13 -0700 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2016-10-12 09:34:39 +0200 |
commit | 37f8d3eb8ec4a44bebaac7893e5881bd59b5440c (patch) | |
tree | 49995aebcd718285274ab593abc70f037ecb5244 /nxcomp/PolyText16.cpp | |
parent | e386187e91569eae3064927d5b5753a7a68ace47 (diff) | |
download | nx-libs-37f8d3eb8ec4a44bebaac7893e5881bd59b5440c.tar.gz nx-libs-37f8d3eb8ec4a44bebaac7893e5881bd59b5440c.tar.bz2 nx-libs-37f8d3eb8ec4a44bebaac7893e5881bd59b5440c.zip |
Use calloc in XOpenDisplay to initialize structs containing pointers
Prevents trying to free uninitialized pointers if we have to bail out
partway through setup, such as if we receive a corrupted or incomplete
connection setup block from the server.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Julien Cristau <jcristau@debian.org>
Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de>
Diffstat (limited to 'nxcomp/PolyText16.cpp')
0 files changed, 0 insertions, 0 deletions