Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Sun, 12 Aug 2012 02:00:32 +0400
From: Solar Designer <solar@...nwall.com>
To: john-dev@...ts.openwall.com
Subject: Re: Separate bitmaps report

On Sun, Aug 12, 2012 at 12:41:11AM +0800, myrice wrote:
> *** glibc detected *** ./john: malloc(): memory corruption:

You forgot to change sizeof(*bitmaps) to sizeof(*bitmaps[0]) here:

-    memset(bitmaps, 0, bitmaps_num * sizeof(*bitmaps));
+    memset(bitmaps[0], 0, bitmaps_num * sizeof(*bitmaps));

Alexander

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.