[PATCH 5.10 0/1] vdec_vp9_if: add check for NULL for vsi->frm_bufs[vsi->new_fb_idx].buf.fb in vp9_swap_frm_bufs

Anastasia Belova posted 1 patch 1 year, 10 months ago
[PATCH 5.10 0/1] vdec_vp9_if: add check for NULL for vsi->frm_bufs[vsi->new_fb_idx].buf.fb in vp9_swap_frm_bufs
Posted by Anastasia Belova 1 year, 10 months ago
Null-pointer dereference was found with static analysis tools 
in version 5.10. Seems this file doesn't exist since 5.18.
This file was moved to 
    /drivers/media/platform/mediatek/vcodec/vdec/vdec_vp9_if.c.
Maybe it is necessary to create another patch for these updates.
Re: [PATCH 5.10 0/1] vdec_vp9_if: add check for NULL for vsi->frm_bufs[vsi->new_fb_idx].buf.fb in vp9_swap_frm_bufs
Posted by Greg Kroah-Hartman 1 year, 10 months ago
On Fri, Oct 28, 2022 at 01:05:38PM +0300, Anastasia Belova wrote:
> Null-pointer dereference was found with static analysis tools 
> in version 5.10. Seems this file doesn't exist since 5.18.
> This file was moved to 
>     /drivers/media/platform/mediatek/vcodec/vdec/vdec_vp9_if.c.
> Maybe it is necessary to create another patch for these updates.

Fix this in Linus's tree first, and then worry about any potential need
for stable backports.

thanks,

greg k-h