diff options
author | Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> | 2011-01-31 14:02:13 +0200 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2016-10-19 21:40:26 +0200 |
commit | a8598e06240df4423aea79e659846409be6a75e9 (patch) | |
tree | e405fcca905fd199e37c8d3f1f730812a5f8c12f /nx-X11/lib/X11/GetRGBCMap.c | |
parent | 93a4f5c4758f68717c4e8fa8cb346719b265319c (diff) | |
download | nx-libs-a8598e06240df4423aea79e659846409be6a75e9.tar.gz nx-libs-a8598e06240df4423aea79e659846409be6a75e9.tar.bz2 nx-libs-a8598e06240df4423aea79e659846409be6a75e9.zip |
lc/def/lcDefConv: Use Xcalloc to avoid use of uninitialized memory
Fixed by zero'ing conv on allocation with Xcalloc. Then
close_converter works properly.
Using uninitialized value "conv->state" in call to function "close_converter"
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi>
Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de>
Diffstat (limited to 'nx-X11/lib/X11/GetRGBCMap.c')
0 files changed, 0 insertions, 0 deletions