|
Message-ID: <554A090F.8020204@mailbox.org> Date: Wed, 06 May 2015 14:29:03 +0200 From: Frank Dittrich <frank.dittrich@...lbox.org> To: john-dev@...ts.openwall.com Subject: Re: Undefined behavior in bench.c (null pointer passed as argument 1 to memcpy) On 05/06/2015 12:24 PM, Solar Designer wrote: >> For -fsanitize=alignment, there are error messages for MD5_std.c, lines >> 745-752: store to misaligned address ... for type "MD5_word', which >> requires 4 byte alignment. > > We deliberately use unaligned accesses in MD5_std.c when > ARCH_ALLOWS_UNALIGNED. You can try building without > ARCH_ALLOWS_UNALIGNED and see if these messages are gone (I'd be very > surprised if they are not). Yes, the error messages for MD5_std.c are gone when I set ARCH_ALLOWS_UNALIGNED to 0. The only -fsanitize=undefined error I got from running the test suite for core john is now this one: BSDI_fmt.c:279:37: runtime error: left shift of negative value -21. 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.