-
Problem report
-
Resolution: Fixed
-
Minor
-
4.0.10, 4.2.4
-
None
-
Linux bbb 4.19.31-armv7-x30 #1jessie SMP PREEMPT Sat Mar 30 01:07:10 UTC 2019 armv7l GNU/Linux
-
Sprint 56 (Sep 2019), Sprint 57 (Oct 2019)
-
0.5
Steps to reproduce:
- Build from source (./configure --enable-agent) or install from .deb (1:2.2.23+dfsg-0+deb8u1)
- run form command line "zabbix_agentd -c config.conf -p"
Result:
zabbix_agentd [1640]: ERROR: Got signal [signal:7(SIGBUS),reason:0,refaddr:0xb6f31000]. Crashing ...
Expected:
Zabbix agent start
Reason:
Buffer overrun in ./src/libs/zbxsysinfo/linux/hardware.c:145
Can be fixed with the following patch/hack before 145:
if (((char*)mmp + len) > sizeof(membuf)) { goto close; }