ev_realloc (ptr=0x0, size=-32)

Jann Horn jann+libev at thejh.net
Tue Jul 9 11:59:43 CEST 2013


On Tue, Jul 09, 2013 at 12:00:15PM +0530, Chaliha, Sayan wrote:
> What are the chances of ev_realloc being called with a null pointer and -32 as size? I see one of the variables used in the calculation has the value -4 (loop->rfeedmax) and I can't find code which actually changes the value.

Maybe try using gdb with a watchpoint? Then it'll break whenever that variable is changed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.schmorp.de/pipermail/libev/attachments/20130709/de95e9d4/attachment.sig>


More information about the libev mailing list