Page MenuHomeFreeBSD

getty: Avoid NULL deref if stdin is not a tty.
ClosedPublic

Authored by des on Nov 4 2022, 2:44 PM.
Tags
None
Referenced Files
F84386322: D37265.id112607.diff
Thu, May 23, 4:01 AM
F84378419: D37265.diff
Thu, May 23, 1:38 AM
Unknown Object (File)
Tue, Apr 30, 1:34 PM
Unknown Object (File)
Tue, Apr 30, 1:34 PM
Unknown Object (File)
Tue, Apr 30, 1:34 PM
Unknown Object (File)
Tue, Apr 30, 7:15 AM
Unknown Object (File)
Dec 23 2023, 2:11 AM
Unknown Object (File)
Dec 12 2023, 1:16 PM
Subscribers

Details

Summary

Sponsored by: Klara, Inc.
Obtained from: Apple OSS Distributions

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 48148
Build 45035: arc lint + arc unit

Event Timeline

des requested review of this revision.Nov 4 2022, 2:44 PM
allanjude added inline comments.
libexec/getty/main.c
218

doesn't this need a parameter for the %m?

libexec/getty/main.c
218

No, %m means “insert strerror(errno) here”.

This revision is now accepted and ready to land.Nov 4 2022, 3:31 PM
This revision was automatically updated to reflect the committed changes.