mbox series

[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

Message ID 20221028100539.30925-1-abelova@astralinux.ru (mailing list archive)
Headers show
Series vdec_vp9_if: add check for NULL for vsi->frm_bufs[vsi->new_fb_idx].buf.fb in vp9_swap_frm_bufs | expand

Message

Anastasia Belova Oct. 28, 2022, 10:05 a.m. UTC
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.

Comments

Greg KH Oct. 28, 2022, 10:34 a.m. UTC | #1
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