Date: Sat, 4 May 2013 00:46:22 +0200 From: magnum <john.magnum@...hmail.com> To: john-dev@...ts.openwall.com Subject: Re: Yet more crashes On 4 May, 2013, at 0:42 , Lukas Odzioba <lukas.odzioba@...il.com> wrote: > 2013/5/3 magnum <john.magnum@...hmail.com>: >> This was b0rken. >> >> $ ../run/john --test -form:sip >> Benchmarking: SIP MD5 [32/64]... FAILED (valid) >> >> + if (strspn(ciphertext, "*") != 14) >> + return 0; >> >> This strspn() will return the length of ciphertext, from start of it, that consist of characters within the string "*", ie. none. For eg. "**hel*lo**" it would return 2. > > Fsck this was stupid...I am sorry about that. > <sip_valid_fixed.diff> Nah, I reviewed at it and thought it was perfectly sane, so I am a fool too :-) I have a feeling there actually is some - other - standard function that does what we meant, but I can't find it. magnum
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.