Re: [PATCH] nfc: pn533: fix OOB read in pn533_acr122_is_rx_frame_valid()
From: Deepanshu Kartikey
Date: Tue Sep 08 2026 - 23:57:22 EST
On Tue, Sep 8, 2026 at 2:48 PM Johan Hovold <johan@xxxxxxxxxx> wrote:
>
> Are you missing an Assisted-by tag here?
>
Sure , I will add assisted-by tag .
> Just a drive-by comment, but should this not replace the existing
> datalen == 0 check?
>
> > if (frame->data[frame->ccid.datalen - 2] == 0x63)
> > return false;
>
> Johan
I will remove the older if (!frame->ccid.datalen) check.
I will send patch v2 shortly
Thanks
Deepanshu