summary refs log tree commit diff stats
path: root/results/scraper/launchpad/1381642
blob: 9dba6249a001771724e1d98e809575a0acc98d1d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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.