curl-library
hipev.c: multi_handle reference before init
From: Jeff Pohlmeyer <yetanothergeek_at_gmail.com>
Date: Mon, 21 Aug 2006 23:35:35 -0500
Date: Mon, 21 Aug 2006 23:35:35 -0500
http://curl.haxx.se/lxr/source/hiper/hipev.c ...
333 /* initialize the timeout event */
334 evtimer_set(&timerevent, timercallback, multi_handle);
335
336 /* init the multi stack */
337 multi_handle = curl_multi_init();
I'm getting segfault in the callback - It looks like multi_handle
is assigned to timercallback before it is initialized.
- Jeff
Received on 2006-08-22