[PATCH] Check for overflow in __alloc_dir

Roland McGrath roland@hack.frob.com
Fri Oct 12 14:54:00 GMT 2012


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


Thanks,
Roland



More information about the Libc-alpha mailing list