summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2005-10-19 10:30:32 +0000
committerMichael Vogt <michael.vogt@ubuntu.com>2005-10-19 10:30:32 +0000
commited478d8cabf4abd695f2cacc50442e8c0e3ac770 (patch)
treebe2ecb20201dfe566387ffd3ea3238bdd0499780
parent7524e34882a4a2c21908da29218dd527e166406a (diff)
* sparc64 alignment fix
-rw-r--r--apt-pkg/contrib/md5.h2
-rw-r--r--debian/changelog5
2 files changed, 5 insertions, 2 deletions
diff --git a/apt-pkg/contrib/md5.h b/apt-pkg/contrib/md5.h
index 9e20f7cef..9447e9956 100644
--- a/apt-pkg/contrib/md5.h
+++ b/apt-pkg/contrib/md5.h
@@ -58,7 +58,7 @@ class MD5SumValue
class MD5Summation
{
- unsigned char Buf[4*4];
+ uint32_t Buf[4];
unsigned char Bytes[2*4];
unsigned char In[16*4];
bool Done;
diff --git a/debian/changelog b/debian/changelog
index f237e5d69..078d2c8b2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -21,8 +21,11 @@ apt (0.6.41.1) unstable; urgency=low
for the installer people easier (closes: #334656)
* fix crash in apt-ftparchive (thanks to Bastian Blank for the patch)
(closes: #334671)
+ * apt-pkg/contrib/md5.cc:
+ - fix a alignment problem on sparc64 that gives random bus errors
+ (thanks to Fabbione for providing a test-case)
- --
+ --
apt (0.6.41) unstable; urgency=low