summary refs log tree commit diff stats
path: root/mailinglist/output_launchpad/1381642
diff options
context:
space:
mode:
Diffstat (limited to 'mailinglist/output_launchpad/1381642')
-rw-r--r--mailinglist/output_launchpad/138164233
1 files changed, 33 insertions, 0 deletions
diff --git a/mailinglist/output_launchpad/1381642 b/mailinglist/output_launchpad/1381642
new file mode 100644
index 00000000..9dba6249
--- /dev/null
+++ b/mailinglist/output_launchpad/1381642
@@ -0,0 +1,33 @@
+ecovec.c:66: buffer too small by one.
+
+[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.
+
+On 15 October 2014 19:00, dcb <email address hidden> wrote:
+> Public bug reported:
+>
+> [qemu-2.1.2/roms/u-boot/board/renesas/ecovec/ecovec.c:66]: (error)
+> Buffer is accessed out of bounds.
+
+This is in the u-boot code which we just carry a copy of
+to produce certain boot ROMs. You should report these
+issues directly to u-boot upstream.
+
+Thanks
+-- PMM
+
+
+FWIW, u-boot was apparently fixed here:
+http://git.denx.de/?p=u-boot.git;a=commitdiff;h=44442c13ba2f63a67664ab5
+
+...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.
+
+