-
Problem report
-
Resolution: Fixed
-
Minor
-
4.0.1, 4.2.0alpha1
-
None
-
Sprint 46, Nov 2018
-
0.5
________________________________________________________________________________________________________ *** CID 184230: Memory - illegal accesses (UNINIT) /src/zabbix_server/vmware/vmware.c: 3845 in vmware_service_update() 3839 goto clean; 3840 3841 ret = SUCCEED; 3842 clean: 3843 curl_slist_free_all(headers); 3844 curl_easy_cleanup(easyhandle); >>> CID 184230: Memory - illegal accesses (UNINIT) >>> Using uninitialized value "page.data". 3845 zbx_free(page.data); 3846 3847 zbx_vector_str_clear_ext(&hvs, zbx_str_free); 3848 zbx_vector_str_destroy(&hvs); 3849 out: 3850 zbx_vmware_lock();
This happens when setting headers fails. From libcurl documentation curl_easy_setopt with CURLOPT_HTTPHEADER:
Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not.
I understand that requires specific libcurl build without HTTP support. So the priority is minor, still has to be fixed.