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, Feb 2, 9:19 AM
Unknown Object (File)
Dec 20 2023, 2:50 AM
Unknown Object (File)
Dec 20 2023, 12:30 AM
Unknown Object (File)
Dec 11 2023, 7:19 PM
Unknown Object (File)
Oct 28 2023, 11:53 PM
Unknown Object (File)
Oct 28 2023, 2:04 PM
Unknown Object (File)
Oct 12 2023, 4:01 PM
Unknown Object (File)
Sep 22 2023, 11:51 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 Not Applicable
Unit
Tests Not Applicable

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.