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

Use of uninitialised variable if formula is empty for calculated item

    XMLWordPrintable

    Details

    • Team:
      Team A
    • Sprint:
      Sprint 66 (Jul 2020), Sprint 67 (Aug 2020)
    • Story Points:
      0.25

      Description

      Following error was observed when updating calculated item formula to emtpy value

      ==37469== Conditional jump or move depends on uninitialised value(s)
      ==37469==    at 0x446D0B: calcitem_parse_expression (checks_calculated.c:147)
      ==37469==    by 0x447641: get_value_calculated (checks_calculated.c:324)
      ==37469==    by 0x441247: get_value (poller.c:395)
      ==37469==    by 0x44381C: zbx_check_items (poller.c:742)
      ==37469==    by 0x444343: get_values (poller.c:841)
      ==37469==    by 0x444BDD: poller_thread (poller.c:1006)
      ==37469==    by 0x5D6A03: zbx_thread_start (threads.c:136)
      ==37469==    by 0x4265D2: MAIN_ZABBIX_ENTRY (server.c:1207)
      ==37469==    by 0x5C6590: daemon_start (daemon.c:394)
      ==37469==    by 0x425B68: main (server.c:951)
      ==37469==  Uninitialised value was created by a stack allocation
      ==37469==    at 0x446960: calcitem_parse_expression (checks_calculated.c:88)
      

        Attachments

          Activity

            People

            Assignee:
            viktors.tjarve Viktors Tjarve
            Reporter:
            vso Vladislavs Sokurenko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: