|
Message-ID: <bde5cd42f03d02e8ab41a7cbd9282df1@smtp.hushmail.com> Date: Mon, 13 May 2013 20:18:14 +0200 From: magnum <john.magnum@...hmail.com> To: john-dev@...ts.openwall.com Subject: Re: stderr handling in bash completion & Test Suite (was: Dyna and OpenSSL <1.0.0) On 13 May, 2013, at 19:19 , magnum <john.magnum@...hmail.com> wrote: > On 13 May, 2013, at 9:21 , Frank Dittrich <frank_dittrich@...mail.com> wrote: >> On 05/13/2013 09:07 AM, Frank Dittrich wrote: >>> You also get that error during bash completion (for every [tab] that >>> results in a "./john --list=subformats" being executed: >>> >> [...] >>> Should stderr be redirected to /dev/null (in line 300 of >>> john.bash_completion (unstable)? > > I can't think of any drawbacks. Even if this Whirlpool issue is mitigated, we probably still want to do it. > >> Looking at the test suite, I realized: >> >> 1. that the same error occurs here (because stderr is redirected to >> stdout). >> >> 2. that john.bash_completion (similar to jtrts.pl) uses --subformat=LIST >> as a fallback if --list=subformats is not implemented in the current >> john version. >> So, line 303 of john.bash_completion also needs that redirection of stderr. >> >> And these are the lines that need to be changed in the test suite: >> >> $ grep -n ">JohnDynaUsage.Scr" jtrts.pl >> 369: system ("$JOHN_EXE --list=subformats >JohnDynaUsage.Scr 2>&1"); >> 372: system ("$JOHN_EXE --subformat=LIST >JohnDynaUsage.Scr 2>&1"); > > I'll look into this, in bleeding. Done and committed. Thanks for doing 99% of the work :-) 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.