diff options
| author | Irui Wang <irui.wang@mediatek.com> | 2023-04-03 10:43:42 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2023-04-15 08:39:22 +0100 |
| commit | bb02a201b63e6ae80a412b1673e9888d30ca5d1a (patch) | |
| tree | ec224a46aa4a629e77f22b8678df27163a131d9b /tools/perf/scripts | |
| parent | media: mediatek: vcodec: Fix potential array out-of-bounds in decoder queue_s... (diff) | |
| download | linux-bb02a201b63e6ae80a412b1673e9888d30ca5d1a.tar.gz linux-bb02a201b63e6ae80a412b1673e9888d30ca5d1a.zip | |
media: mediatek: vcodec: Coverity issues in encoder driver
CERT-C Characters and Strings:
check core id is in valid range:
dev->reg_base[dev->venc_pdata->core_id] evaluates to an address
that could be at negative offset of an array.
CERT-C Expression:
check buf is not NULL before used:
Dereferencing buf, which is known to be NULL.
Signed-off-by: Irui Wang <irui.wang@mediatek.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions
