This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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] Check for overflow in __alloc_dir


> On 10/12/2012 04:54 PM, Roland McGrath wrote:
> > Use a macro for the constant and give it a comment about the choice of value.
> > Don't ignore a large st_blksize, just use MAX (st_blksize, MAX_ALLOCATION).
> 
> Sorry, I don't understand.  Do you mean MIN (st_blksize, MAX_ALLOCATION)?

Yes, sorry.


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