V4L2 event subscription fixes
Status from this message: I've queued this up for the next update, thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | v4l: event: Prevent freeing event subscriptions while accesseddrivers/ drivers/ include/ | +23 | 1 reply | |
| 2/2 | v4l: event: Add subscription to list before calling "add" operationdrivers/ | +24 | 5 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Hans Verkuil | Laurent Pinchart | Dave Stevenson |
|---|---|---|---|
| 1/2 | R-b | R-b | |
| 2/2 | R-b T-b | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v3.16 0/2] V4L2 event subscription fixes
Hi Ben,
The two patches fix a use-after-free issue in V4L2 event handling. The first patch that fixes that issue is already in the other stable trees (as well as Linus's tree) whereas the second that fixes a bug in the first one, is in the media tree only as of yet.
<URL:https://git.linuxtv.org/media_tree.git/commit/?id=92539d3eda2c090b382699bbb896d4b54e9bdece>
Sakari Ailus (2):
v4l: event: Prevent freeing event subscriptions while accessed
v4l: event: Add subscription to list before calling "add" operation
drivers/media/v4l2-core/v4l2-event.c | 63 ++++++++++++++++++++---------------- drivers/media/v4l2-core/v4l2-fh.c | 2 ++ include/media/v4l2-fh.h | 1 + 3 files changed, 38 insertions(+), 28 deletions(-)
Signature · 1 line
2.11.0