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
F172475915: D37265.diff
Fri, Sep 18, 6:00 PM
Unknown Object (File)
Wed, Sep 16, 2:42 PM
Unknown Object (File)
Sat, Sep 12, 1:40 AM
Unknown Object (File)
Fri, Sep 11, 1:08 AM
Unknown Object (File)
Tue, Sep 8, 10:20 PM
Unknown Object (File)
Sun, Sep 6, 3:43 AM
Unknown Object (File)
Sat, Sep 5, 3:17 PM
Unknown Object (File)
Sat, Sep 5, 1:10 PM
Subscribers

Details

Summary

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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.