lkml.org 
[lkml]   [2021]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] nfc: st-nci: Fix potential buffer overflows in EVT_TRANSACTION
On Wed, 17 Nov 2021 18:15:51 +0100 Jordy Zomer wrote:
> +
> + // Checking if the length of the AID is valid
> + if (transaction->aid_len > sizeof(transaction->aid))
> + return -EINVAL;
> +
> +

Please remove the double blank lines and use more common style of
multi-line comments /* */ like the rest of this file.

Same for the other patch. Thanks!

\
 
 \ /
  Last update: 2021-11-18 05:43    [W:0.168 / U:1.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site