[PATCH] Read past buffer end in readdir_r
Corinna Vinschen
vinschen@redhat.com
Wed Jun 19 15:55:00 GMT 2013
On Jun 16 22:26, Federico Terraneo wrote:
> I'd like to know what you think about this, attached you'll find a patch
> to fix the issue.
>
> newlib/ChangeLog
> 2013-06-13 Terraneo Federico <fede.tft@hotmail.it>
>
> * libc/posix/readdir_r.c: Fix potential read past dirp->dd_buf
Makes sense. Patch applied. I just include sys/param.h rather than
defining MIN locally.
Thanks,
Corinna
--
Corinna Vinschen
Cygwin Maintainer
Red Hat
More information about the Newlib
mailing list