[ZBX-2489] server crashes when data is sent in using ad-hoc protocol Created: 2010 May 31  Updated: 2017 May 30  Resolved: 2010 May 31

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Server (S)
Affects Version/s: 1.8.2
Fix Version/s: 1.8.3, 1.9.0 (alpha)

Type: Incident report Priority: Blocker
Reporter: Aleksandrs Saveljevs Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Revision 8066 removed parsing of value:

$ svn di -c 8066 trapper.c | tail -12

@@ -693,10 +615,6 @@
zbx_strlcpy(av.key, pl, sizeof(av.key));
*pr = ':';

  • av.value = pr + 1;
  • av.lastlogsize = 0;
  • av.timestamp = 0;
  • av.source = NULL;
    av.severity = 0;
    }

The value field remains NULL and the server crashes when it tries to dereference it.



 Comments   
Comment by Aleksandrs Saveljevs [ 2010 May 31 ]

Fixed in pre-1.8.3 in r12398.

Generated at Fri Apr 19 21:55:46 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.