[PATCH] Fix a possible buffer overflow in crypt (in lowmem situation only), fix lowmem handling in chroot_canon
Roland McGrath
roland@redhat.com
Thu Jun 10 02:16:00 GMT 2004
> Hi!
>
> 2004-06-08 Jakub Jelinek <jakub@redhat.com>
>
> [BZ #199]
> * crypt/md5-crypt.c (__md5_crypt): Only update buflen if realloc
> succeeds. Reported by Miles Ohlrich <miles@cray.com>.
>
> * elf/chroot_canon.c (chroot_canon): Avoid segfault if first malloc
> fails. Avoid memory leak if realloc fails.
I've put these in.
Thanks,
Roland
More information about the Libc-hacker
mailing list