Re: [PATCH v2 RESEND] mtd: afs: validate v2 image info bounds
From: Miquel Raynal
Date: Mon Jul 13 2026 - 13:07:16 EST
Hi Linus,
> I don't know if this is stable material. No-one is running into any
> regressions, I think this was discovered by code analysis and
> is mostly theoretical problems.
Thanks for the detailed analysis, I also feel like many of these patches
do not fix actual regression, but I am inclined to take them as long as
they do not darken too much the code. In this case, except the very last
change, I am hesitating.
Shall Pengeng extract the last bit (which is useful) and drop the rest?
Thanks,
Miquèl