[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/36662 CVS commit: [netbsd-4] src/common/lib/libc/hash
The following reply was made to PR pkg/36662; it has been noted by GNATS.
From: "Liam J. Foy" <liamjfoy%netbsd.org@localhost>
Subject: PR/36662 CVS commit: [netbsd-4] src/common/lib/libc/hash
Date: Wed, 18 Jul 2007 20:20:28 +0000 (UTC)
Module Name: src
Committed By: liamjfoy
Date: Wed Jul 18 20:20:28 UTC 2007
src/common/lib/libc/hash/rmd160 [netbsd-4]: rmd160.c
src/common/lib/libc/hash/sha2 [netbsd-4]: sha2.c
Pull up following revision(s) (requested by joerg in ticket #776):
common/lib/libc/hash/sha2/sha2.c: revision 1.5
common/lib/libc/hash/sha2/sha2.c: revision 1.6
common/lib/libc/hash/rmd160/rmd160.c: revision 1.3
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.2 -r126.96.36.199 src/common/lib/libc/hash/rmd160/rmd160.c
cvs rdiff -r188.8.131.52 -r184.108.40.206 src/common/lib/libc/hash/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 |