Zeroing keystr.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 9811 Build 10246: arc lint + arc unit
Event Timeline
Comment Actions
This one isn't needed — as Peter Grehan pointed out, strncpy() actually nul-fills the rest of the buffer if the source string was too short. I was unfamiliar with that behavior at the time :-).