Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 14 Mar 2011 21:22:27 +0100
From: magnum <rawsmooth@...dband.net>
To: john-dev@...ts.openwall.com
Subject: Re: NT_fmt bug

On 2011-03-12 02:38, magnum wrote:
> If the SECOND character of a plaintext (buffered after set_key()) is
> U+2000 or higher, it fails.
...
> I am certain this has nothing to do with my UTF8 conversion but we never
> get beyond U+00FF with pristine john so this never happened until now.

This is now confirmed, it's in nt_crypt_all_x86_64(). If you download my 
UTF-8 patch (version 4 or later) from the wiki and un-comment the 8-bit 
self tests in lines 54 *and* 244-245 in NT_fmt.c you can test this for 
yourselves:

make linux-x86-64 --> you will have the bug, failing self-test with --utf8

make generic --> it will work fine

(BTW, shouldn't I be able to "make linux-x86-any" (or sse or mmx) on a 
64-bit host, for testing? Do I just miss something in my binutils?)

magnum

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ