Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Wed, 29 Aug 2012 23:55:12 +0200
From: magnum <john.magnum@...hmail.com>
To: "john-dev@...ts.openwall.com" <john-dev@...ts.openwall.com>
Subject: sha256crypt bug?

Claudio,

The sha256crypt-opencl format emits the following warning:

OpenCL platform 0: Apple, 2 device(s).
Using device 1: GeForce GT 650M
Building the kernel, this could take a while
Compilation log: In file included from <program source>:15:
<program source>:223:5: warning: array index of '15' indexes past the end of an array (that contains 1 element)
    ctx->buffer->mem_32[15] = SWAP32(ctx->total * 8);
    ^                   ~~
/Users/rasmus/src/john/src/opencl_cryptsha256.h:111:5: note: array 'mem_32' declared here
    uint32_t                    mem_32[1];
    ^

The warning looks valid but I'm not sure what is intended. It passes self-test despite this.

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.