Malloc routines have overflow problems

Jason Tishler jason@tishler.net
Fri Aug 9 17:52:00 GMT 2002


Jeff,

On Fri, Aug 09, 2002 at 05:35:52PM -0400, J. Johnston wrote:
> Jason Tishler wrote:
> > Is the attached, hopefully less intrusive, patch more acceptable?
> > Or, is it just more ugly? :,)
> 
> The attached patch is fine.  Patch checked in.

Sorry for not supplying a ChangeLog, but I didn't think that I was going
to ring the bell this time. :,)

BTW, mEMALIGn() *might* have similar issues because it uses request2size
and has some (long) casts too.  Maybe the same overflow check should be
used here too?

Thanks,
Jason



More information about the Newlib mailing list