|
Message-ID: <1D78C578013D46C18533EA39724786E5@D9VGLK61> 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
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.