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
Unknown Object (File)
Sat, Oct 11, 7:25 AM
Unknown Object (File)
Sat, Oct 4, 1:41 PM
Unknown Object (File)
Sep 14 2025, 3:25 AM
Unknown Object (File)
Aug 29 2025, 10:39 AM
Unknown Object (File)
Aug 22 2025, 1:23 PM
Unknown Object (File)
Aug 17 2025, 8:06 PM
Unknown Object (File)
Aug 17 2025, 8:07 AM
Unknown Object (File)
Aug 7 2025, 3:29 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.