-
Problem report
-
Resolution: Fixed
-
Blocker
-
None
-
None
-
Sprint 98 (Mar 2023)
-
0.25
Limit:
Thread stack size = 131072 bytes
But there is buffer that exceeds that limit:
#define ZBX_ITEM_PREPROC_PARAMS_LEN 65535
..
char pattern[ZBX_ITEM_PREPROC_PARAMS_LEN * ZBX_MAX_BYTES_IN_UTF8_CHAR + 1]
33557:20230301:131330.767 One child process died (PID:33564,exitcode/signal:11). Exiting ...
33557:20230301:131330.829 PROCESS EXIT: 33564
zabbix_proxy [33557]: Error waiting for process with PID 33564: [10] No child process
33557:20230301:131330.835 Zabbix Proxy stopped. Zabbix 6.4.0rc3 (revision edbb7d0eb50)
.
Expected:
Large buffer should be allocated on heap, if so then crash dissapears