Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-15094

Possible crash during vmware update

XMLWordPrintable

    • 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.

            MVekslers Michael Veksler
            wiper Andris Zeila
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: