[PATCH] afs: Fix uninit var in afs_alloc_anon_key()

Linus Torvalds torvalds at linux-foundation.org
Fri Nov 28 16:49:19 PST 2025


I've applied this directly, since it seems to be a recent regression
and final 6.18 is days away.

And it seems like an obvious fix. Famous last words...

            Linus

On Fri, 28 Nov 2025 at 16:40, David Howells <dhowells at redhat.com> wrote:
>
> Fix an uninitialised variable (key) in afs_alloc_anon_key() by setting it
> to cell->anonymous_key.  Without this change, the error check may return a
> false failure with a bad error number.



More information about the linux-afs mailing list