diff options
author | Lv Yunlong <[email protected]> | 2021-05-09 10:24:02 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2021-06-02 13:17:44 +0200 |
commit | 7dd0c9e547b6924e18712b6b51aa3cba1896ee2c (patch) | |
tree | 15797b4f8f8d774e8ede87ffff64cba0d510781b /drivers/media/v4l2-core/v4l2-ctrls-defs.c | |
parent | 01fe904c9afd26e79c1f73aa0ca2e3d785e5e319 (diff) |
media: v4l2-core: Avoid the dangling pointer in v4l2_fh_release
A use after free bug caused by the dangling pointer
filp->privitate_data in v4l2_fh_release.
See https://lore.kernel.org/patchwork/patch/1419058/.
My patch sets the dangling pointer to NULL to provide
robust.
Signed-off-by: Lv Yunlong <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-ctrls-defs.c')
0 files changed, 0 insertions, 0 deletions