[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <9f341ab0-19ec-166f-86da-3bc7711645de@baylibre.com>
Date: Tue, 11 Apr 2023 10:22:35 +0200
From: Alexandre Mergnat <amergnat@...libre.com>
To: Irui Wang <irui.wang@...iatek.com>,
Hans Verkuil <hverkuil-cisco@...all.nl>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Matthias Brugger <matthias.bgg@...il.com>
Cc: Project_Global_Chrome_Upstream_Group@...iatek.com,
linux-media@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org, maoguang.meng@...iatek.com,
Yunfei Dong <yunfei.dong@...iatek.com>
Subject: Re: [PATCH v2, 1/2] media: mediatek: vcodec: make sure array index is
in valid range
On 11/04/2023 07:54, Irui Wang wrote:
> CERT-C Characters and Strings:
> dev->reg_base[dev->venc_pdata->core_id] evaluates to an address
> that could be at negative offset of an array, check core id is
> in valid range.
Reviewed-by: Alexandre Mergnat <amergnat@...libre.com>
Powered by blists - more mailing lists