gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnu-arch-users] checksum files -- off by one error


From: Johannes Berg
Subject: [Gnu-arch-users] checksum files -- off by one error
Date: Thu, 25 Dec 2003 03:01:17 +0100

Hi,

I just noticed a small off-by-one error in ./libarch/archive-pfs.c, line
1808:
  md5x[33] = 0;
really should be
  md5x[32] = 0;
(because bytes 0..31 are filled with the hex md5sum, and byte 33 isn't
even in that array!)

johannes
-- 
http://www.sipsolutions.de/
GnuPG key: http://www.sipsolutions.de/keys/JohannesBerg.asc
  Key-ID: 9AB78CA5 Johannes Berg <address@hidden>
  Fingerprint = AD02 0176 4E29 C137 1DF6 08D2 FC44 CF86 9AB7 8CA5

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]