From: PilzAdam Date: Wed, 26 Dec 2012 20:41:00 +0000 (+0100) Subject: Fix 'longjmp causes uninitialized stack frame' in cURL X-Git-Tag: 0.4.5~130 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=896e1a30b093fbdd501dc2e46624bf2460ce86bb;p=oweals%2Fminetest.git Fix 'longjmp causes uninitialized stack frame' in cURL --- diff --git a/src/client.cpp b/src/client.cpp index c5d3b91c8..cb7afe29f 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -236,6 +236,7 @@ void * MediaFetchThread::Thread() i != m_file_requests.end(); i++) { curl = curl_easy_init(); assert(curl); + curl_easy_setopt(curl, CURLOPT_NOSIGNAL, 1); curl_easy_setopt(curl, CURLOPT_URL, (m_remote_url + i->name).c_str()); curl_easy_setopt(curl, CURLOPT_FAILONERROR, true); std::ostringstream stream;