diff options
| author | 2023-10-31 12:53:33 +0300 | |
|---|---|---|
| committer | 2023-12-13 11:04:46 +0100 | |
| commit | a2dd235df435a05d389240be748909ada91201d2 (patch) | |
| tree | e7c43c697b0cc63665d5dd806b495e15576ef243 /scripts/Makefile.thinlto | |
| parent | media: platform: exynos4-is: return callee's error code rather than -ENXIO (diff) | |
media: dvbdev: drop refcount on error path in dvb_device_open()
If call to file->f_op->open() fails, then call dvb_device_put(dvbdev).
Fixes: 0fc044b2b5e2 ("media: dvbdev: adopts refcnt to avoid UAF")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
