Subject: CVS commit: src/sys/fs/smbfs
To: None <source-changes@netbsd.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: source-changes
Date: 02/24/2003 23:52:54
Module Name:	src
Committed By:	jdolecek
Date:		Mon Feb 24 21:52:54 UTC 2003

Modified Files:
	src/sys/fs/smbfs: smbfs_node.c smbfs_node.h

Log Message:
switch to hash32_strn() from <sys/hash.h> as the hash function -
former smbfs_hash() may have accessed memory past buffer (ouch!), and accessed
memory in alignment-unsafe way
as an added bonus, hash32_strn() appears to have better distribution


To generate a diff of this commit:
cvs rdiff -r1.11 -r1.12 src/sys/fs/smbfs/smbfs_node.c
cvs rdiff -r1.5 -r1.6 src/sys/fs/smbfs/smbfs_node.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.