[ZBX-16151] Json parser can truncate large numbers Created: 2019 May 21 Updated: 2024 Apr 10 Resolved: 2019 Jun 01 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Proxy (P), Server (S) |
Affects Version/s: | 4.0.7 |
Fix Version/s: | 4.0.10rc1, 4.2.4rc1, 4.4.0alpha1, 4.4 (plan) |
Type: | Problem report | Priority: | Trivial |
Reporter: | Andris Zeila | Assignee: | Vladislavs Sokurenko |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
||||||||
Team: | Team A | ||||||||
Team: | Team A | ||||||||
Sprint: | Sprint 52 (May 2019) | ||||||||
Story Points: | 0.5 |
Description |
zbx_json_decodevalue function truncates numeric value if the passed buffer size is less than the value length. It does not seem to affect normal Zabbix work (external data is parsed into string before converting to numeric tupes, for internal communications the buffers used to parse numeric values are large enough for data generated by Zabbix itself). There might be issues with third party applications using Zabbix internal protocols. And of course it's a land mine we could step on in future, so it has to be fixed. |
Comments |
Comment by Andris Zeila [ 2019 May 31 ] |
Released
|