axis2c-unofficial icon indicating copy to clipboard operation
axis2c-unofficial copied to clipboard

curl_easy_getinfo() status_code should be long

Open beginjd opened this issue 7 years ago • 1 comments

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.

axis2c-1.6.0-libcurl.patch.zip

beginjd avatar Oct 20 '17 18:10 beginjd

Consider forking the repo and issuing a pull request.

ghost avatar Oct 20 '17 19:10 ghost