Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-16428

Zabbix Agent Crash on Beaglebone Black (no SMBIOS device)

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.0.10, 4.2.4
    • Agent (G)
    • 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:

      1. Build from source (./configure --enable-agent) or install from .deb (1:2.2.23+dfsg-0+deb8u1)
      2. 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;
      }

       

            atumilovics Andrejs Tumilovics
            bue bue
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: