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)
Tue, Dec 31, 1:12 AM
Unknown Object (File)
Nov 26 2024, 2:10 AM
Unknown Object (File)
Nov 18 2024, 12:26 AM
Unknown Object (File)
Nov 18 2024, 12:14 AM
Unknown Object (File)
Nov 17 2024, 10:03 PM
Unknown Object (File)
Nov 8 2024, 7:04 PM
Unknown Object (File)
Nov 8 2024, 7:04 PM
Unknown Object (File)
Nov 5 2024, 11:51 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.