Page MenuHomeFreeBSD

Make sure f_name is nul-terminated.
ClosedPublic

Authored by delphij on Sep 17 2015, 7:43 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 21, 2:10 AM
Unknown Object (File)
Fri, Nov 21, 2:08 AM
Unknown Object (File)
Fri, Nov 21, 2:05 AM
Unknown Object (File)
Fri, Nov 21, 2:03 AM
Unknown Object (File)
Wed, Nov 19, 4:19 AM
Unknown Object (File)
Tue, Nov 18, 7:56 PM
Unknown Object (File)
Thu, Nov 13, 11:20 PM
Unknown Object (File)
Thu, Nov 13, 8:30 PM
Subscribers

Details

Summary

Use strlcpy instead of strncpy because subsequent mkstemps
expects the string be nul-terminated.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 555
Build 555: arc lint + arc unit

Event Timeline

delphij retitled this revision from to Make sure f_name is nul-terminated..
delphij updated this object.
delphij edited the test plan for this revision. (Show Details)
delphij added reviewers: grehan, neel.
neel edited edge metadata.

Looks good. Thanks for fixing.

This revision is now accepted and ready to land.Sep 17 2015, 5:53 PM
This revision was automatically updated to reflect the committed changes.