blob: 5bbcb5cf3e9106f7cf8ed0d4e18d5a40b55aec2f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
sys_eeprom.c:353: buffer too small
[qemu-2.1.2/roms/u-boot/board/matrix_vision/mvblx/sys_eeprom.c:353]: (error) Buffer is accessed out of bounds.
char ethaddr[9];
sprintf(ethaddr, "%02X:%02X:%02X:%02X:%02X:%02X",
e.mac[0],
e.mac[1],
e.mac[2],
e.mac[3],
e.mac[4],
e.mac[5]);
18 into 9 won't go. Suggest increase size of ethaddr.
|