[PATCH v2, 1/2] media: mediatek: vcodec: make sure array index is in valid range

Alexandre Mergnat amergnat at baylibre.com
Tue Apr 11 01:22:35 PDT 2023


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 at baylibre.com>



More information about the Linux-mediatek mailing list