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)
Mon, Aug 3, 1:28 AM
Unknown Object (File)
Sun, Aug 2, 12:47 AM
Unknown Object (File)
Sat, Aug 1, 8:06 AM
Unknown Object (File)
Tue, Jul 28, 11:40 PM
Unknown Object (File)
Mon, Jul 27, 10:41 AM
Unknown Object (File)
Mon, Jul 20, 5:06 AM
Unknown Object (File)
Jun 22 2026, 4:35 PM
Unknown Object (File)
Jun 21 2026, 12:50 AM
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.