[RFC][PATCH] afs: Work around strnlen() oops with CONFIG_FORTIFIED_SOURCE=y

David Howells dhowells at redhat.com
Mon Jan 4 16:09:41 EST 2021


Linus Torvalds <torvalds at linux-foundation.org> wrote:

> array (or the overflow[] one) is actually used. But I assume you've
> tested this.
> 
> Do you want me to apply the patch as-is, or will I be getting a pull
> request with this (and the number-of-slots calculation thing you
> mention in the commit message)?

I can give you a pull req for them as a pair.  I don't know if Daniel wants to
comment on the first patch.

David




More information about the linux-afs mailing list