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

Runtime control for PID may overflow

    XMLWordPrintable

Details

    • Incident report
    • Status: Closed
    • Trivial
    • Resolution: Workaround proposed
    • 3.0.17, 3.4.9, 4.0.0alpha6
    • None
    • Agent (G), Proxy (P), Server (S)
    • None

    Description

      Zabbix Runtime Control function tell the message to child processes for Server, Proxy and Agent. Then the message size is C Language int, may be 32bits. The function slices it to 16bits data, 8bits scope and 8bits command.

      Now the function for PID is implemented to increase or decrease debug level. Though in 64bit Linux PID max is for 15bits, it can be increased. So, 16bits data for PID is overflowed.

      To resolve this, use void pointer (void *sival_ptr for union sigval) instead of int value (int sigval_int, i.e. ZBX_SIVAL_INT) for sigqueue() must be used on zbx_sigusr_send().

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              daiki.matsuda@miraclelinux.com MATSUDA Daiki
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: