again a gettext crash

Ulrich Drepper drepper@redhat.com
Sun May 7 12:50:00 GMT 2000


Bruno Haible <haible@ilog.fr> writes:

> Here are tweaks of small mistakes I made in the previous patches.
> a. The size passed to gconv/iconv for its output buffer is larger than the
>    room that's really present.
> b. After allocation failure for freemem, set freemem_size to 0, otherwise the
>    next call will think that freemem is valid and make a NULL pointer access.
> c. A portability problem: Use of __alignof__ is gcc specific.

Thanks, I've applied the patch.  I made a few changes which don't
change the code itself but help documenting what's going on.

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