[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 <ghen%netbsd.org@localhost>
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
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
Pull up patches (requested by joerg in ticket #1812):
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 -r220.127.116.11 -r18.104.22.168.2.1 src/lib/libc/hash/sha2/sha2.c
cvs rdiff -r1.3 -r22.214.171.124 src/sys/crypto/ripemd160/rmd160.c
cvs rdiff -r126.96.36.199 -r188.8.131.52.2.1 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.
Main Index |
Thread Index |