aboutsummaryrefslogtreecommitdiff
path: root/nxcomp/RenderExtension.h
diff options
context:
space:
mode:
authorNickolai Zeldovich <nickolai@csail.mit.edu>2013-01-22 10:03:00 -0500
committerUlrich Sibiller <uli42@gmx.de>2016-10-12 09:34:38 +0200
commite8ada07fa7dbbc88298e88a07f4b8613ec055cd8 (patch)
tree66d7be167c9a0b4537db9783f092eca8cd0685a1 /nxcomp/RenderExtension.h
parent290f94aea2b6cf0b265bce33cadcf2f2cbcacd53 (diff)
downloadnx-libs-e8ada07fa7dbbc88298e88a07f4b8613ec055cd8.tar.gz
nx-libs-e8ada07fa7dbbc88298e88a07f4b8613ec055cd8.tar.bz2
nx-libs-e8ada07fa7dbbc88298e88a07f4b8613ec055cd8.zip
XListFontsWithInfo: avoid accessing realloc'ed memory
If exactly one of the two reallocs in XListFontsWithInfo() fails, the subsequent code accesses memory freed by the other realloc. Signed-off-by: Nickolai Zeldovich <nickolai@csail.mit.edu> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> (cherry picked from commit deedeada53676ee529d700bf96fde0b29a3a1def) Signed-off-by: Julien Cristau <jcristau@debian.org> Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de>
Diffstat (limited to 'nxcomp/RenderExtension.h')
0 files changed, 0 insertions, 0 deletions