[patch:] iconv/gconv.c: Don't refer to parameter cd before testing for validity.
Ulrich Drepper
drepper@redhat.com
Sun Apr 8 20:54:00 GMT 2001
Hans-Peter Nilsson <hans-peter.nilsson@axis.com> writes:
> If parameter cd can be (__gconv_t) -1L, then I guess it shouldn't be
> accessed before checked.
Well, I don't know why I added the test in the first place. But now
that it's there your patch is OK. I've applied it. Thanks,
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------
More information about the Libc-alpha
mailing list