-
Type:
Incident report
-
Resolution: Fixed
-
Priority:
Blocker
-
Affects Version/s: 2.2.10
-
Component/s: Server (S)
{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.