Source-Changes archive

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

CVS commit: src/sys/fs/smbfs



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.




Home | Main Index | Thread Index | Old Index