diff options
author | Daniil Dulov <d.dulov@aladdin.ru> | 2024-02-11 18:07:05 +0300 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2024-02-16 13:46:33 +0300 |
commit | 0b70530ee740861f4776ff724fcc25023df1799a (patch) | |
tree | 3d40610c3b77e9dcc74aed5753ec32a22b10e511 /include/trace | |
parent | 044c566d05035af5092f65a2912a28312dada8fe (diff) | |
download | linux-0b70530ee740861f4776ff724fcc25023df1799a.tar.xz |
media: go7007: add check of return value of go7007_read_addr()
If go7007_read_addr() returns error channel is not assigned a value.
In this case go to allocfail.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes: 866b8695d67e ("Staging: add the go7007 video driver")
Signed-off-by: Daniil Dulov <d.dulov@aladdin.ru>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'include/trace')
0 files changed, 0 insertions, 0 deletions