Re: [PATCH] nvme: nvme_identify_ns_descs: prevent oob

From: Eugene Korenevsky

Date: Sat Nov 29 2025 - 14:57:36 EST


On Thu, Nov 27, 2025 at 03:49:16PM +0100, Christoph Hellwig wrote:

> I think we'll need a somewhat more complex check that at there
> is at least enough space for the len member. But I prefer that
> style over a table lookup and magic name pasting macros.

Okay, simplified the patch. See v2.