Skip to contentSkip to conversation

Possible out-of-bounds array accesses in rc8-git3

DISCUSSION J.A. Magallón 1 participant 1 message Jul 3, 2008

lore
Share & tools
lore
#0 lore raw

Hi all...

Building latest kernel with gcc-4.3.1, I get this warnings, look related to some memcpy passing bad lengths.
Could someone that knew the code take a look ?

drivers/acpi/tables/tbfadt.c: In function ‘acpi_tb_create_local_fadt’:
include/asm/string_32.h:65: warning: array subscript is above array bounds

...

drivers/usb/core/hcd.c: In function ‘usb_hcd_poll_rh_status’:
include/asm/string_32.h:65: warning: array subscript is above array bounds

TIA

Signature · 4 lines
J.A. Magallon <jamagallon()ono!com>     \               Software is like sex:
                                         \         It's better when it's free
Mandriva Linux release 2009.0 (Cooker) for i586
Linux 2.6.25-jam13 (gcc 4.3.1 20080515 (GCC) #1 SMP