n_tty: Fix read buffer overwrite when no newline
Status from this message: Queued up for 3.13-stable. Thanks, Joseph and Peter!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest1 patch 3 repliesApplied
- v11 patch 2 repliesSuperseded
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | n_tty: Fix read buffer overwrite when no newlinedrivers/ | +79 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [v3.12.y][v3.13.y-ckt][3.14.y][3.16.y-ckt][3.18.y][3.19.y][V2][PATCH 0/1] n_tty: Fix read buffer overwrite when no newline
Hello,
Please consider including mainline commit fb5ef9e7da39968fec6d6f37f20a23d23740c75e in the next v3.12.y, v3.13.y-ckt, v3.14.y, 3.16.y-ckt, 3.18.y, and 3.19.y stable releases. It was included mainline as of v4.0-rc1. It has been tested and confirmed to resolve
http://bugs.launchpad.net/bugs/1381005 . This bug was introduced in v3.12-rc1 when commit 24a89d1 was applied. This commit is not needed in stable kernels prior to v3.12.y.
commit fb5ef9e7da39968fec6d6f37f20a23d23740c75e
Author: Peter Hurley <[email protected]> Date: Fri Jan 16 15:05:39 2015 -0500
n_tty: Fix read buffer overwrite when no newline
This commit does not apply cleanly to the kernels versions mentined, so I performed a backport, which is in email 1/1.
The 3.12.y and 3.13.y-ckt stable releases first need a cherry pick of commit 5c32d12378313e0096ea0d450462aa638a90fb6e. This is because in commit 5c32d123 n_tty_receive_buf and n_tty_receive_buf2 were merged into n_tty_receive_buf_common, which is where the backport makes the needed changes.
Sincerely,
Joseph Salisbury
Peter Hurley (1):
n_tty: Fix read buffer overwrite when no newline
drivers/tty/n_tty.c | 106 +++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 79 insertions(+), 27 deletions(-)
Signature · 1 line
2.1.0