lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Sun, 30 Nov 2008 08:43:54 +0200
From:	"Nir Tzachar" <nir.tzachar@...il.com>
To:	"Carlos R. Mafra" <crmafra2@...il.com>
Cc:	linux-kernel@...r.kernel.org, bzolnier@...il.com,
	zippel@...ux-m68k.org, linux-kbuild@...r.kernel.org,
	ariveira@...il.com, rdunlap@...otime.net, 7eggert@....de,
	kosaki.motohiro@...fujitsu.com, sam@...nborg.org
Subject: Re: [PATCH] nconfig V3

Hello.

On Sun, Nov 30, 2008 at 1:02 AM, Carlos R. Mafra <crmafra2@...il.com> wrote:
> On Sat 29.Nov'08 at 23:42:39 +0200, Nir Tzachar wrote:
>> [...]
>> +static ITEM *btns_items[BTN_MAX];

Thanks. This should be btns_items[BTN_MAX+1];

> [...]
>
>> +     btns_items[BTN_MAX] = NULL;
>
> gcc warns about this here
>
> scripts/kconfig/nconf.c:1311: warning: array subscript is above array bounds
>

Cheers.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ