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

Json parser can truncate large numbers

    XMLWordPrintable

Details

    • Team A
    • Sprint 52 (May 2019)
    • 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.

      Attachments

        Issue Links

          Activity

            People

              vso Vladislavs Sokurenko
              wiper Andris Zeila
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: