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

There is no overflow check when converting floating point numbers to an integer value

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Fixed
    • Icon: Major Major
    • 7.0.0alpha8, 7.0 (plan)
    • None
    • Server (S)
    • None
    • Sprint 106 (Nov 2023)
    • 1

      Steps to reproduce:

      1. create a "Zabbix trapper" item with value type "Numeric (unsigned)"
      2. send any number outside the limits of this data type

      Result:

      Value Result
      -5.545e25 0
      5.545e25 18446744073709551615

      Expected:
      The item should become unsupported with the corresponding error.

            dgoloscapov Dmitrijs Goloscapovs
            sasha Alexander Vladishev
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: