From ff048a13e5d2c971de0275c30b4d55c4ed2a2abf Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 13 Jun 2000 02:55:54 +0000 Subject: Update. * libio/iofwide.c (_IO_fwide): Initialize transliteration part of step data structure. * wcsmbs/btowc.c: Likewise. * wcsmbs/mbrtowc.c: Likewise. * wcsmbs/mbsnrtowcs.c: Likewise. * wcsmbs/mbsrtowcs.c: Likewise. * wcsmbs/wcrtomb.c: Likewise. * wcsmbs/wcsnrtombs.c: Likewise. * wcsmbs/wcsrtombs.c: Likewise. * wcsmbs/wctob.c: Likewise. --- wcsmbs/mbsnrtowcs.c | 1 + 1 file changed, 1 insertion(+) (limited to 'wcsmbs/mbsnrtowcs.c') diff --git a/wcsmbs/mbsnrtowcs.c b/wcsmbs/mbsnrtowcs.c index 238458d..51d9cd0 100644 --- a/wcsmbs/mbsnrtowcs.c +++ b/wcsmbs/mbsnrtowcs.c @@ -57,6 +57,7 @@ __mbsnrtowcs (dst, src, nmc, len, ps) data.__internal_use = 1; data.__flags = __GCONV_IS_LAST; data.__statep = ps ?: &state; + memset (&data.__trans, '\0', sizeof (struct __gconv_trans_data)); if (nmc == 0) return 0; -- cgit v1.1