Date: Thu, 30 Aug 2012 10:18:58 -0300 From: Claudio André <claudioandre.br@...il.com> To: john-dev@...ts.openwall.com Subject: Re: sha256crypt bug? Hi. Em 29-08-2012 18:55, magnum escreveu: > 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 = SWAP32(ctx->total * 8); > ^ ~~ > /Users/rasmus/src/john/src/opencl_cryptsha256.h:111:5: note: array 'mem_32' declared here > uint32_t mem_32; mem_32 is a field inside a union. The real array is "buffer", and it can handle the ctx->buffer->mem_32. It is: buffer_32 buffer; //512bits I haven't seen this warning on bull GTX card (i wasn't there for a while, and it was refusing connection when i tried it some time ago). I expect it to succeed on TS. Have you tried?. I can change it to something like this: ctx->buffer.mem_32. Thanks for testing.
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.