2008-07-03 22:27:23

by J.A. Magallón

[permalink] [raw]
Subject: Possible out-of-bounds array accesses in rc8-git3

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

--
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