# HG changeset patch # User Bruno Haible # Date 1548535600 -3600 # Node ID 648fa64e008cb670bf33e7744ad2f1af182cc1d5 # Parent ba80f688c0e778512c9421339274a9fe105edece striconveh: Fix use of uninitialized iconv_t. Reported by Tim Rühsen in . * lib/striconveh.c (iconveh_open): Correct the iconv_close argument. diff -r ba80f688c0e7 -r 648fa64e008c ChangeLog --- a/ChangeLog Sat Jan 26 18:55:39 2019 +0100 +++ b/ChangeLog Sat Jan 26 21:46:40 2019 +0100 @@ -1,3 +1,10 @@ +2019-01-26 Bruno Haible + + striconveh: Fix use of uninitialized iconv_t. + Reported by Tim Rühsen in + . + * lib/striconveh.c (iconveh_open): Correct the iconv_close argument. + 2019-01-26 Bruno Haible nonblocking-socket-tests: Fix test failure on Android 4.3. diff -r ba80f688c0e7 -r 648fa64e008c lib/striconveh.c --- a/lib/striconveh.c Sat Jan 26 18:55:39 2019 +0100 +++ b/lib/striconveh.c Sat Jan 26 21:46:40 2019 +0100 @@ -73,7 +73,7 @@ { int saved_errno = errno; if (cd != (iconv_t)(-1)) - iconv_close (cdp->cd); + iconv_close (cd); errno = saved_errno; return -1; }