[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Bug 1381642] [NEW] ecovec.c:66: buffer too small by one.
From: |
dcb |
Subject: |
[Qemu-devel] [Bug 1381642] [NEW] ecovec.c:66: buffer too small by one. |
Date: |
Wed, 15 Oct 2014 17:00:19 -0000 |
Public bug reported:
[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.
** 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/1381642
Title:
ecovec.c:66: buffer too small by one.
Status in QEMU:
New
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
- [Qemu-devel] [PATCH v5 0/7] Netduino 2 Machine Model, Alistair Francis, 2014/10/16
- [Qemu-devel] [PATCH v5 1/7] stm32f205_timer: Add the stm32f205 Timer, Alistair Francis, 2014/10/16
- [Qemu-devel] [PATCH v5 2/7] stm32f205_USART: Add the stm32f205 USART Controller, Alistair Francis, 2014/10/16
- [Qemu-devel] [PATCH v5 3/7] stm32f205_SYSCFG: Add the stm32f205 SYSCFG, Alistair Francis, 2014/10/16
- [Qemu-devel] [PATCH v5 4/7] target_arm: Remove memory region init from armv7m_init, Alistair Francis, 2014/10/16
- [Qemu-devel] [PATCH v5 5/7] target_arm: Parameterise the irq lines for armv7m_init, Alistair Francis, 2014/10/16
- [Qemu-devel] [PATCH v5 6/7] stm32f205: Add the stm32f205 SoC, Alistair Francis, 2014/10/16
- [Qemu-devel] [PATCH v5 7/7] netduino2: Add the Netduino 2 Machine, Alistair Francis, 2014/10/16