[lkml]   [2020]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] media: venus: Fix possible buffer overflow in venus_sfr_print()
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?


 \ /
  Last update: 2020-05-30 11:47    [W:0.052 / U:3.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site