Re: [PATCH] media: venus: Fix possible buffer overflow in venus_sfr_print()

From: Markus Elfring
Date: Sat May 30 2020 - 05:44:21 EST


Please avoid typos in the patch subject.


> To fix this possible bug, sfr->buf_size is assigned to a local variable,
> and then this variable is checked before being used.

How do you think about a wording variant like the following?

Thus assign the data structure member âbuf_sizeâ to a local variable
and check it before further usage.


Would you like to add the tag âFixesâ to the commit message?

Regards,
Markus