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

zabbix_agentd crashes on too long parameters

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.5
    • Fix Version/s: 1.8.8, 1.9.6 (beta)
    • Component/s: Agent (G)
    • Labels:
      None
    • Environment:
      Windows Server 2003

      Description

      Specyfing long argument to item with zabbix_get causes agent to crash:

      ./zabbix_get.exe -s 1.2.3.4 -k 'system.cpu.util[ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc]'

      zabbix_get.exe [3836]: Get value error: ZBX_TCP_READ() failed [Istniej?ce po??czenie zosta?o gwa?townie zamkni?te przez zdalnego hosta.]

      zabbix_get.exe -s 1.2.3.4 -k system.cpu.num[9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999]

      zabbix_get.exe [9504]: Get value error: ZBX_TCP_READ() failed [Istniej?ce po??czenie zosta?o gwa?townie zamkni?te przez zdalnego hosta.]

      In windows application log I get:
      Faulting application zabbix_agentd.exe, version 0.0.0.0, faulting module zabbix_agentd.exe, version 0.0.0.0, fault address 0x000101a0.

      Faulting application zabbix_agentd.exe, version 0.0.0.0, faulting module zabbix_agentd.exe, version 0.0.0.0, fault address 0x0000ff87.

      (fault address obviously depends on function called).

      zabbix_agentd on FreeBSD doesn't fail (returning proper value or ZBX_NOTSUPPORTED).

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              marcin.gryszkalis Marcin Gryszkalis
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: