This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Read past buffer end in readdir_r


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


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