[ZBX-7571] Zabbix server/proxy does not process correctly non-printable characters Created: 2013 Dec 20  Updated: 2018 Jan 30  Resolved: 2014 Jan 30

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Proxy (P), Server (S)
Affects Version/s: None
Fix Version/s: 2.2.2rc1, 2.3.0

Type: Incident report Priority: Major
Reporter: Alexey Pustovalov Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: encoding, json
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Causes
causes ZBX-13186 Zabbix service.discovery result in "V... Closed
Duplicate

 Description   

If some item value contains non-printable characters Zabbix proxy does not correctly pack them before sending JSON to Server.

For example, if string value contains: "177 177 177 177 177 \n" characters.



 Comments   
Comment by Igors Homjakovs (Inactive) [ 2014 Jan 30 ]

Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-7571

Comment by Igors Homjakovs (Inactive) [ 2014 Jan 30 ]

Previously we processed control character from U+0000 to U+001F, but not U+007F. Now function iscntrl() allows correct processing of all control characters.

Comment by Igors Homjakovs (Inactive) [ 2014 Feb 03 ]

Fixed in 2.2.2rc1 (r42142) and 2.3.0 (r42141).

Generated at Fri Apr 19 02:06:20 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.