Avoid assertion on read_file_to_str() with size==SIZE_T_CEILING-1
commite365aee97110c6c6df6f56ca9814d88c3808a2d1
authorNick Mathewson <nickm@torproject.org>
Mon, 3 Jan 2011 20:30:11 +0000 (3 15:30 -0500)
committerNick Mathewson <nickm@torproject.org>
Mon, 3 Jan 2011 20:30:11 +0000 (3 15:30 -0500)
tree832874726f999f03d5e10a102d0b84c9c5314713
parente09ab69703967716b2765e062ca229e641dba53e
Avoid assertion on read_file_to_str() with size==SIZE_T_CEILING-1

Spotted by doors, fixes bug 2326.
changes/bug2326 [new file with mode: 0644]
src/common/util.c