[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Mldonkey-bugs] [ 100927 ] md4sum not 64-bit clean [PATCH]
From: |
nobody |
Subject: |
[Mldonkey-bugs] [ 100927 ] md4sum not 64-bit clean [PATCH] |
Date: |
Thu, 19 Sep 2002 11:32:47 -0400 |
Support Request #100927, was updated on 2002-May-18 17:55
You can respond by visiting:
http://savannah.nongnu.org/support/?func=detailsupport&support_id=100927&group_id=1409
Category: None
Status: Closed
Priority: 5
Summary: md4sum not 64-bit clean [PATCH]
By: mldonkey
Date: 2002-Sep-19 15:32
Logged In: YES
user_id=5474
Browser: Mozilla/4.0 (compatible; MSIE 5.0; Linux 2.4.7-12.3mdk i686) Opera 6.0
[en]
Applied
----------------------------------------------------------------------
By: falk
Date: 2002-May-18 17:55
Logged In: NO
Browser: Mozilla/5.0 Galeon/1.0.3 (X11; Linux alpha; U;) Gecko/20020216
(hrm, looks like posting to mldonkey-bugs doesn't
create a bug report)
Hi,
mldonkey doesn't work properly on Alpha Linux
(downloads past 100%, verify discards all chunks etc.).
I think this might be due to md4 being buggy:
address@hidden:/data/src/mldonkey/lib% cc -o md4sum
md4sum.c md4.c
address@hidden:/data/src/mldonkey/lib% touch empty
address@hidden:/data/src/mldonkey/lib% ./md4sum empty
6214022837971182041113588581197414549108
instead of
49214207224209106233491836089215224192137192
This patch should fix it:
--- md4.h~ Sat May 18 18:42:06 2002
+++ md4.h Sat May 18 18:47:56 2002
@@ -41,7 +41,7 @@
typedef unsigned short int UINT2;
/* UINT4 defines a four byte word */
-typedef unsigned long int UINT4;
+typedef unsigned int UINT4;
/* PROTO_LIST is defined depending on how PROTOTYPES
is defined above.
If using PROTOTYPES, then PROTO_LIST returns the
list, otherwise it
----------------------------------------------------------------------
You can respond by visiting:
http://savannah.nongnu.org/support/?func=detailsupport&support_id=100927&group_id=1409
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Mldonkey-bugs] [ 100927 ] md4sum not 64-bit clean [PATCH],
nobody <=