[PATCH] Check for overflow in __alloc_dir

Florian Weimer fweimer@redhat.com
Fri Oct 12 14:58:00 GMT 2012


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)?

-- 
Florian Weimer / Red Hat Product Security Team



More information about the Libc-alpha mailing list