Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/kern
Module Name: src
Committed By: simonb
Date: Mon Apr 5 05:47:32 UTC 2021
Modified Files:
src/sys/kern: subr_hash.c
Log Message:
Don't call strncmp() where the length arg is the size of a pointer
instead of the max string length. Switch to strcmp() - both strings
are known nul-terminated.
Thanks tnn@ (and clang!).
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/kern/subr_hash.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