wanduow/libtrace — pull request #7 by alistairking (2014-08-16 19:26:35+00:00)
Title: change buffer length types from int to off_t

previously the length of the buffer in the peek reader was stored in an int. when
a large read (> INT32_MAX) was requested, the buffer-resize malloc (ior-peek.c:129)
would fail, and therefore trigger the assert on line 135.

this bug was triggered, and the fix tested, on FreeBSD 10.