Details

    • Team:
      Team C
    • Sprint:
      Sprint 33, Sprint 34, Sprint 35
    • Story Points:
      0.125

      Description

      Steps to reproduce:

      $ zabbix_agentd -t 'vfs.dir.size[/tmp,,,,11111!!!oneONE]'
      

      Result:

      vfs.dir.size[/tmp,,,,11111!!!oneONE]          [u|35419229]
      

      Expected:

      vfs.dir.size[/tmp,,,,11111!!!oneONE]          [m|ZBX_NOTSUPPORTED] [Invalid fifth parameter.]
      

      This is due to atoi() function, strtol() should be use instead for better error handling.

        Attachments

          Activity

            People

            • Assignee:
              MVekslers Michael Veksler
              Reporter:
              glebs.ivanovskis Glebs Ivanovskis (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: