loentar / axis2c-unofficial

Unofficial backports and unofficial support for Apache Axis2/C
Apache License 2.0
15 stars 10 forks source link

curl_easy_getinfo() status_code should be long #19

Open beginjd opened 6 years ago

beginjd commented 6 years ago

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

ghost commented 6 years ago

Consider forking the repo and issuing a pull request.