]> git.saurik.com Git - apt.git/commitdiff
* sparc64 alignment fix
authorMichael Vogt <michael.vogt@ubuntu.com>
Wed, 19 Oct 2005 10:30:32 +0000 (10:30 +0000)
committerMichael Vogt <michael.vogt@ubuntu.com>
Wed, 19 Oct 2005 10:30:32 +0000 (10:30 +0000)
apt-pkg/contrib/md5.h
debian/changelog

index 9e20f7cef0ddaae3c6e60c319dca0efd18d17e63..9447e995657648ca69809b3552dbf02776bc23c4 100644 (file)
@@ -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;
index f237e5d69d5432eb897224fc98a4e649370ba652..078d2c8b27baff84f1f469ebcfae6a1048f4ea33 100644 (file)
@@ -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