[ZBX-23668] There is no overflow check when converting floating point numbers to an integer value Created: 2023 Nov 06  Updated: 2024 Apr 10  Resolved: 2023 Nov 10

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Server (S)
Affects Version/s: None
Fix Version/s: 7.0.0alpha8, 7.0 (plan)

Type: Problem report Priority: Major
Reporter: Alexander Vladishev Assignee: Dmitrijs Goloscapovs
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Causes
caused by ZBX-23484 Testing calculated item - confusing e... Closed
Team: Team A
Sprint: Sprint 106 (Nov 2023)
Story Points: 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.



 Comments   
Comment by Dmitrijs Goloscapovs [ 2023 Nov 09 ]

Available in versions:

Generated at Tue Apr 22 21:02:47 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.