Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c662d4a174b7b956dc260edce18f6444@smtp.hushmail.com>
Date: Wed, 16 Sep 2015 19:09:23 +0200
From: magnum <john.magnum@...hmail.com>
To: john-dev@...ts.openwall.com
Subject: Re: larger bitmaps and hash tables

On 2015-09-16 19:02, magnum wrote:
> BTW we now get some warnings from clang and/or with 32-bit builds.
>
> loader.c:211:18: warning: comparison of unsigned expression >= 0 is
> always true
>        [-Wtautological-compare]
>          } while (--size >= 0);
>                   ~~~~~~ ^  ~
> loader.c:212:11: warning: comparison of unsigned expression < 0 is
> always false
>        [-Wtautological-compare]
>          if (size < 0)
>              ~~~~ ^ ~

And gcc 4.8, 64-bit:

loader.c: In function 'ldr_load_pw_line':
loader.c:208:41: warning: array subscript is above array bounds 
[-Warray-bounds]
    func = db->format->methods.binary_hash[size];
                                          ^
magnum

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.