lkml.org 
[lkml]   [2022]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v2] fscache: fix OOB Read in __fscache_acquire_volume
Date
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

\
 
 \ /
  Last update: 2022-11-17 16:23    [W:8.681 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site