Mailing Lists
|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker Archives
[curl:bugs] #1194 Dereference of NULL pointer
From: Daniel Stenberg <bagder_at_users.sf.net>
Date: Wed, 13 Feb 2013 10:16:47 +0000
- **status**: open --> closed-fixed
--- ** [bugs:#1194] Dereference of NULL pointer** **Status:** closed-fixed **Labels:** crash **Created:** Wed Feb 13, 2013 10:03 AM UTC by i.s.k.a. **Last Updated:** Wed Feb 13, 2013 10:03 AM UTC **Owner:** Daniel Stenberg libcurl 7.29.0 crashes under following conditions: The initialization followed by cleanup of multi interface causes segfault due to dereferencing NULL pointer. This code wont work: ~~~~~~ :::c int main(void) { curl_global_init(CURL_GLOBAL_ALL); CURLM *multi_handle = NULL; multi_handle = curl_multi_init(); if (multi_handle) curl_multi_cleanup(multi_handle); // << Segfault here (multi.c:1776) curl_global_cleanup(); return 0; } ~~~~~~ --- Sent from sourceforge.net because you indicated interest in <https://sourceforge.net/p/curl/bugs/1194/> To unsubscribe from further messages, please visit <https://sourceforge.net/auth/prefs/>Received on 2013-02-13 These mail archives are generated by hypermail. |
Page updated January 05, 2012.
web site info