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

zabbix_agentd crashes on too long parameters

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Major Major
    • 1.8.8, 1.9.6 (beta)
    • 1.8.5
    • Agent (G)
    • None
    • Windows Server 2003

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

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

              Created:
              Updated:
              Resolved: