This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [patch:] iconv/gconv.c: Don't refer to parameter cd before testing for validity.


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   `------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]