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

Uninitialized variable in VMware code reported by Coverity (CIDs 118958, 118960, 118962, 118965)

    XMLWordPrintable

Details

    • Incident report
    • Resolution: Fixed
    • Trivial
    • 3.0.0beta1
    • 3.0.0beta1
    • Server (S)

    Description

      In several places of /src/zabbix_server/poller/checks_simple_vmware.c and /src/zabbix_server/vmware/vmware.c we pass uninitialized counterid to zbx_vmware_service_get_counterid() (src/zabbix_server/vmware/vmware.c) where we can accidentally log it uninitialized if we fail to find respective counter and initialize counterid properly.

      I would suggest logging different messages (with or without counterid value) depending on ret.

      Attachments

        Activity

          People

            Unassigned Unassigned
            glebs.ivanovskis Glebs Ivanovskis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: