Add __null_terminated and its forge macro to cdefs.h, size hash32_buf()
by len and walk the string hashes as NUL-terminated. No change without
the flag.
Sponsored by: The FreeBSD Foundation
Differential D61401
sys: add __null_terminated and bound the hash.h helpers Authored by abhijeetsharma2002_gmail.com on Tue, Nov 10, 6:47 PM. Project Tags None Referenced Files
Subscribers
Details
Diff Detail
Event TimelineComment Actions I'm not sure tagging every string in the kernel with __null_terminated is viable. Can you explain this a little more?
| ||||||||||||||||||||