Details
-
Type:
Problem report
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 4.0.10, 4.2.4
-
Fix Version/s: 4.0.14rc1, 4.2.8rc1, 4.4.1rc1, 5.0.0alpha1, 5.0 (plan)
-
Component/s: Agent (G)
-
Labels:None
-
Environment:Linux bbb 4.19.31-armv7-x30 #1jessie SMP PREEMPT Sat Mar 30 01:07:10 UTC 2019 armv7l GNU/Linux
-
Team:Team C
-
Sprint:Sprint 56 (Sep 2019), Sprint 57 (Oct 2019)
-
Story Points:0.5
Description
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; }