Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Mon, 25 Jun 2012 10:26:22 +0200
From: Frank Dittrich <frank_dittrich@...mail.com>
To: john-dev@...ts.openwall.com
Subject: compiler warnings: make clean linux-x86-clang > /dev/null

Some of these might be ignored, like:

status.c:536:33: warning: data argument not used by format string
[-Wformat-extra-args]
                        percent_value, hund_percent, status.pass);

john.c:381:3: warning: data argument not used by format string
[-Wformat-extra-args]
                database.salt_count);


But some definitely look suspicious:


single.c:330:8: warning: array index of '1' indexes past the end of an
array (that contains 1 elements)
      [-Warray-bounds]
                        if (first->data[1]) {
                            ^           ~
In file included from single.c:15:
In file included from ./loader.h:16:
./list.h:19:7: note: array 'data' declared here
        char data[1];
             ^

Frank

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.