fix out-of-bounds access when specifying invalid console
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 3 repliesIn review
- v11 patch 3 repliesSuperseded
Changes in v2 from the cover letter
- trim commit message in first patch
- add second patch as suggested by Jiri Slaby
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | tty: fix out-of-bounds access in tty_driver_lookup_tty()drivers/ | +5 | 0 replies | |
| 2/2 | tty/vt: prevent registration of console with invalid numberdrivers/ | +6 | 0 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Jiri Slaby |
|---|---|
| 1/2 | R-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] fix out-of-bounds access when specifying invalid console
Hi,
these two patches fix a crash in the tty driver when a user specifies an invalid console like 'console=tty3000'. The first patch adds a check to tty_driver_lookup_tty(), the second one prevents that such a console gets registered in the vt driver.
Changes in v2:
- trim commit message in first patch
- add second patch as suggested by Jiri Slaby
Sven Schnelle (2):
tty: fix out-of-bounds access in tty_driver_lookup_tty() tty/vt: prevent registration of console with invalid number
drivers/tty/tty_io.c | 8 +++++--- drivers/tty/vt/vt.c | 6 ++++++ 2 files changed, 11 insertions(+), 3 deletions(-)
Signature · 1 line
2.34.1