-
Type:
Incident report
-
Resolution: Fixed
-
Priority:
Major
-
Affects Version/s: 1.8.1
-
Component/s: Frontend (F)
-
None
-
Environment:php
in file include/scripts.inc.php in function execute_script() we see $res = socket_read($socket, 65535);
It means that data longer than 65535 bytes will be corrupted.
Fix:
$reply = "";
do {
$recv = "";
$recv = socket_read($socket, '1400');
if($recv != "")
} while($recv != "");
- is duplicated by
-
ZBX-2085 CJSON->decode corrupt big length data
-
- Closed
-