[Top][All Lists]

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

[bug #18530] Sparc SIGBUS in md5 routines

From: Steve McIntyre
Subject: [bug #18530] Sparc SIGBUS in md5 routines
Date: Fri, 15 Dec 2006 17:50:22 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20061113 Firefox/1.0.4 (Debian package 1.0.4-2sarge13)


                 Summary: Sparc SIGBUS in md5 routines
                 Project: Concurrent Versions System
            Submitted by: steve_mcintyre
            Submitted on: Friday 12/15/2006 at 17:50
                Category: Bug Fix (patch attached)
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
           Fixed Release: None
   Fixed Feature Release: None



Reported by one of my Debian users (see
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=402745). The code in
lib/md5.c:md5_read_ctx() has a warning about alignment, but
src/update.c:patch_file() calls into the md5 library using an unsigned char *
which has no guaranteed alignment. Bang! :-(

There's a patch attached to the Debian bug report that's quite simple - just
ensure alignment of "checksum" in patch_file().


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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