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: Peter Maydell
Subject: [Qemu-devel] [Bug 1381642] Re: ecovec.c:66: buffer too small by one.
Date: Wed, 12 Oct 2016 12:55:08 -0000

...and we don't build u-boot for the renesas ecovec, so we don't need to
worry about updating our copy of u-boot to something with the fix in it.

-- 
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]