Re: [PATCH] ntfs: change check order in ntfs_attr_find
From: Dan Carpenter
Date: Mon Aug 29 2022 - 05:52:03 EST
On Sat, Aug 27, 2022 at 10:49:44PM +0800, Hawkins Jiawei wrote:
> >
> > And as for the root cause for use-after-free read, I think it is the
> > ctx->attr->length to be blamed.
> Apologize for my typing error, it is the ctx->attr should be blamed:
>
Yep. Both patches are required.
regards,
dan carpenter