qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [Bug 1381639] [NEW] sys_eeprom.c:353: buffer too small


From: dcb
Subject: [Qemu-devel] [Bug 1381639] [NEW] sys_eeprom.c:353: buffer too small
Date: Wed, 15 Oct 2014 16:57:18 -0000

Public bug reported:

[qemu-2.1.2/roms/u-boot/board/matrix_vision/mvblx/sys_eeprom.c:353]:
(error) Buffer is accessed out of bounds.

        char ethaddr[9];

        sprintf(ethaddr, "%02X:%02X:%02X:%02X:%02X:%02X",
            e.mac[0],
            e.mac[1],
            e.mac[2],
            e.mac[3],
            e.mac[4],
            e.mac[5]);

18 into 9 won't go. Suggest increase size of ethaddr.

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1381639

Title:
  sys_eeprom.c:353: buffer too small

Status in QEMU:
  New

Bug description:
  [qemu-2.1.2/roms/u-boot/board/matrix_vision/mvblx/sys_eeprom.c:353]:
  (error) Buffer is accessed out of bounds.

          char ethaddr[9];

          sprintf(ethaddr, "%02X:%02X:%02X:%02X:%02X:%02X",
              e.mac[0],
              e.mac[1],
              e.mac[2],
              e.mac[3],
              e.mac[4],
              e.mac[5]);

  18 into 9 won't go. Suggest increase size of ethaddr.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1381639/+subscriptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]