qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [Bug 1381642] Re: ecovec.c:66: buffer too small by one.


From: T. Huth
Subject: [Qemu-devel] [Bug 1381642] Re: ecovec.c:66: buffer too small by one.
Date: Wed, 12 Oct 2016 12:11:45 -0000

FWIW, u-boot was apparently fixed here:
http://git.denx.de/?p=u-boot.git;a=commitdiff;h=44442c13ba2f63a67664ab5

** Changed in: qemu
       Status: New => Fix Released

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

Title:
  ecovec.c:66: buffer too small by one.

Status in QEMU:
  Fix Released

Bug description:
  [qemu-2.1.2/roms/u-boot/board/renesas/ecovec/ecovec.c:66]: (error)
  Buffer is accessed out of bounds.

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

  but

      char env_mac[17];

  and 18 into 17 won't go. Suggest increase size of env_mac.

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



reply via email to

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