pkgsrc-Bugs archive

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

PR/36662 CVS commit: [netbsd-3-0] src

The following reply was made to PR pkg/36662; it has been noted by GNATS.

From: Geert Hendrickx <>
Subject: PR/36662 CVS commit: [netbsd-3-0] src
Date: Tue, 28 Aug 2007 13:32:32 +0000 (UTC)

 Module Name:   src
 Committed By:  ghen
 Date:          Tue Aug 28 13:32:32 UTC 2007
 Modified Files:
        src/lib/libc/hash/sha2 [netbsd-3-0]: sha2.c
        src/sys/crypto/ripemd160 [netbsd-3-0]: rmd160.c
        src/sys/crypto/sha2 [netbsd-3-0]: sha2.c
 Log Message:
 Pull up patches (requested by joerg in ticket #1812):
        lib/libc/hash/sha2/sha2.c: patch
        sys/crypto/ripemd160/rmd160.c: patch
        sys/crypto/sha2/sha2.c: patch
 Fix SIGBUS issues on strict alignment issues. Use le32dec in RMD160
 as the data pointer to RMD160_Update doesn't have to be aligned.
 In SHA256_Update and SHA512_Update, only operate directly on the passed
 in data if no left-over in the context exists and the data is correctly
 aligned. The problem was exposed by the audit-packages rewrite in C
 and reported for the libnbcompat version in PR pkg/36662.
 cast to void* to avoid a fatal warning
 To generate a diff of this commit:
 cvs rdiff -r1.3.2.1 -r1. src/lib/libc/hash/sha2/sha2.c
 cvs rdiff -r1.3 -r1.3.20.1 src/sys/crypto/ripemd160/rmd160.c
 cvs rdiff -r1.3.2.2 -r1. src/sys/crypto/sha2/sha2.c
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index