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

ITEM.LASTVALUE truncates string to 2048 bytes

    Details

      Description

      {ITEM.LASTVALUE} truncates history value to 2048 bytes. It causes splitting unicode character if history is unicode string more than 2048 bytes, then leads db insert error for alerts table.

      DBItem_lastvalue() uses tmp[MAX_STRING_LEN], it should be replaced with MAX_BUFFER_LEN.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kodai Kodai Terashima
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: