gconv_open bug uncovered by gettext

Ulrich Drepper drepper@redhat.com
Sun May 7 13:07:00 GMT 2000


Bruno Haible <haible@ilog.fr> writes:

> __gconv_open has been called with arguments "ISO-8859-1//" and "ISO-8859-1//"
> and GCONV_AVOID_NOCONV. __gconv_find_transform therefore returned
> __GCONV_NOCONV. __gconv_open now tries to clean up, using the uninitialized
> values 'steps' and 'nsteps'. But there is nothing to clean up: In all the
> cases where __gconv_find_transform returns != __GCONV_OK, it has already
> cleaned up everything itself.

Thanks, I've applied the patch.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------


More information about the Libc-alpha mailing list