axis2c-unofficial
axis2c-unofficial copied to clipboard
curl_easy_getinfo() status_code should be long
In axis2_libcurl.c/axis2_libcurl_send() ... int status_code = 0;
... curl_easy_getinfo(handler, CURLINFO_RESPONSE_CODE, &status_code);
The status_code should be long. This caused an overlay that caused a SIGSEGV calling AXIS2_FREE(data->env->allocator, content_type);
Patch is attached.
Consider forking the repo and issuing a pull request.