Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.6.0
-
None
-
openSUSE 11.3
turn warnings into errors
Description
Using configure --enable-libcurl triggers the following compile errors when warnings are turned into errors at compile time:
libcurl/axis2_libcurl.c: In function 'axis2_libcurl_send':
libcurl/axis2_libcurl.c:114:19: error: 'content_type' may be used uninitialized in this function
libcurl/axis2_libcurl.c: In function 'axis2_libcurl_send':
libcurl/axis2_libcurl.c:143:5: error: call to '_curl_easy_setopt_err_error_buffer' declared with attribute warning: curl_easy_setopt expects a char buffer of CURL_ERROR_SIZE as argument for this option
While the first error is harmless as 'content_type' is not used in an uninitialized fashion, the second error has the potential to trigger memory corruption if an error occurs.