aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/imLcLkup.c
diff options
context:
space:
mode:
authorAnder Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>2011-01-31 14:02:13 +0200
committerUlrich Sibiller <uli42@gmx.de>2016-10-19 21:40:26 +0200
commita8598e06240df4423aea79e659846409be6a75e9 (patch)
treee405fcca905fd199e37c8d3f1f730812a5f8c12f /nx-X11/lib/X11/imLcLkup.c
parent93a4f5c4758f68717c4e8fa8cb346719b265319c (diff)
downloadnx-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/imLcLkup.c')
0 files changed, 0 insertions, 0 deletions