Re: Help needed with failed build (#220928)
On Tue, Apr 06, 2004 at 08:22:24PM +0200, Christian Kurz wrote:
> Hi,
>
> the package john, currently maintained by Javier Fern?ndez-Sanguino Pe?a
> and myself, is failing to build on sparc. This was reported as bug
> #220928. Paul Slootman then suggested that the benchmark programs fails
> "when setting the SIGALRM signal handler at line 100 of bench.c" He
> suggested running some malloc debugger, like electric fence. But neither
> does Javier, nor do I have enough time for this task. So I'ld like to
> ask you to help debugging this problem and fixing the build, so that it
> works again. Otherwise we would have to drop sparc from the list of
> supported architectures. So if anybody wants to help, please contact me
> in private or send me a copy, as I'm not subscribed to debian-sparc.
>
> Christian
> --
> Debian Developer (http://www.debian.org)
> 1024D/B7CEC7E8 44BD 1F9E A997 3BE2 A44F 96A4 1C98 EEF3 B7CE C7E8
alrighty :-) The problem seems to be in des itself, I haven't figurd
out where yet, but I did find this:
diff -r -u john-1.6.orig/src/MD5_std.c john-1.6/src/MD5_std.c
--- john-1.6.orig/src/MD5_std.c 2000-04-01 05:21:43.000000000 -0500
+++ john-1.6/src/MD5_std.c 2004-04-06 18:01:19.000000000 -0400
@@ -416,7 +416,7 @@
{
int length;
- for (length = 0; salt[length] && length < 8; length++);
+ for (length = 0; length < 8 && salt[length] ; length++);
memcpy(patterns.s, salt, patterns.l.s = length);
}
--
-Justin
Reply to: