Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 2 May 2013 00:10:47 +0200
From: magnum <john.magnum@...hmail.com>
To: john-dev@...ts.openwall.com
Subject: Re: Core John warnings (was: new warnings with gcc 4.8.0)

On 10 Apr, 2013, at 2:07 , magnum <john.magnum@...hmail.com> wrote:
> On 10 Apr, 2013, at 1:44 , magnum <john.magnum@...hmail.com> wrote:
>>> DES_std.c: In function ‘DES_std_set_key’:
>>> DES_std.c:631:17: warning: array subscript is above array bounds [-Warray-bounds]
>>>  while (DES_key[i++]) k += 2;
>>>                ^
>> 
>> In core John this is line 630:17. If I bump the definition by 2 (1 is not enough), the warning go away. But that is obviously not likely a real fix

Solar,

The inc.c warnings seen with gcc-4.8.0 is gone now but the above is still there. Is it a bogus warning? Can it be avoided?

magnum

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ