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

incomplete data not detected by zbx_execute_threaded_metric() interface

    XMLWordPrintable

    Details

      Description

      zbx_execute_threaded_metric() doesn't serialize length of the data. This can lead to sending incomplete agent result to server when the child process received a signal (SIGUSR1 for example) during write(2).

      The feature was implemented in ZBX-9781 to allow vfs.fs.size, etc. for NFS to be timed out.

      Coverity: CID 154194.

        Attachments

        1. main_fixed.c
          1 kB
        2. main.c
          1 kB
        3. ZBX-11479-reproduce.patch
          1.0 kB

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            sandis.neilands Sandis Neilands (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: