Re: [PATCH] nconfig V3

Nir Tzachar
2008-11-30T06:43:56Z

Hello.

On Sun, Nov 30, 2008 at 1:02 AM, Carlos R. Mafra <crmafra2@gmail.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.