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

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: