Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 10 Mar 2011 07:46:42 -0600
From: "JimF" <jfoug@....net>
To: <john-dev@...ts.openwall.com>
Subject: Re: --utf8 option, proof of concept

From: "magnum" <rawsmooth@...dband.net>
> diff --git a/src/NT_fmt.c b/src/NT_fmt.c
> index 5aaf1df..bff1b62 100644
> --- a/src/NT_fmt.c
> +++ b/src/NT_fmt.c
> @@ -819,7 +819,7 @@ key_cleaning:
>
>         nt_buffer1x[buff_base+14] = md4_size << 4;
>  #endif
> -       memcpy(saved_plain[saved_base], key, len);
> +       memcpy(&saved_plain[saved_base], key, len);
>         saved_plain[saved_base+len] = 0;
>  }

Sorry, my bad.  I was not sending the NT_fmt.c I was working on, but a used 
mine and diff to make sure only the changes I had done, made it into the 
source you had sent.  Mine has changes to the valid() and init() signatures, 
and a new prepare() function along with some #define changes so that I can 
build properly in m$vc.  I missed the above change,  but it obviously is 
required, and certainly is that way in the NT_fmt.c I am compiling with. 

Powered by blists - more mailing lists

Your e-mail address:

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