diff options
author | Dan Carpenter <[email protected]> | 2023-10-31 12:53:33 +0300 |
---|---|---|
committer | Hans Verkuil <[email protected]> | 2023-12-13 11:04:46 +0100 |
commit | a2dd235df435a05d389240be748909ada91201d2 (patch) | |
tree | e7c43c697b0cc63665d5dd806b495e15576ef243 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | d8b45ee43a0562867d4fbe196e7747226c0a3d13 (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 <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions