Re: [PATCH v2] fscache: fix OOB Read in __fscache_acquire_volume

From: David Howells
Date: Thu Nov 17 2022 - 10:22:27 EST


I think that the size needs to be able to hold up to 255 to handle NFS keys,
so I think the right solution has to be to fix the maths. Probably the
easiest way is to change fscache_volume::key to be "u8 *" since it
isn't a simple text string.

David