Page MenuHomeFreeBSD

cron: use existing maximum username constant MAXLOGNAME
ClosedPublic

Authored by emaste on Sep 1 2016, 3:49 PM.
Tags
None
Referenced Files
F174325760: D7747.id.diff
Fri, Oct 2, 10:09 AM
Unknown Object (File)
Thu, Sep 24, 6:36 PM
Unknown Object (File)
Thu, Sep 24, 6:15 PM
Unknown Object (File)
Thu, Sep 24, 5:01 PM
Unknown Object (File)
Wed, Sep 16, 2:21 PM
Unknown Object (File)
Tue, Sep 15, 12:41 AM
Unknown Object (File)
Aug 16 2026, 7:15 PM
Unknown Object (File)
Aug 16 2026, 7:09 PM
Subscribers
None

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emaste retitled this revision from to cron: use existing maximum username constant MAXLOGNAME.
emaste updated this object.
emaste edited the test plan for this revision. (Show Details)
emaste added reviewers: allanjude, delphij, jilles.
allanjude edited edge metadata.

seems reasonable.

This revision is now accepted and ready to land.Sep 1 2016, 4:38 PM
jilles edited edge metadata.

Perhaps it would be even better to use strdup() instead of fixed-length buffers but for a part of FreeBSD that is not very important. This change in this review is important and fixes a real problem.

This revision was automatically updated to reflect the committed changes.

Perhaps it would be even better to use strdup() instead of fixed-length buffers but for a part of FreeBSD that is not very important. This change in this review is important and fixes a real problem.

Yes, cron deserves careful review and probably improvements such as that, but I agree that it's important to get the immediate problem fixed.