Re: [PATCH] nfc: st-nci: Fix potential buffer overflows in EVT_TRANSACTION
From: Jakub Kicinski
Date: Wed Nov 17 2021 - 23:42:29 EST
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!