diff options
author | David Howells <dhowells@redhat.com> | 2025-08-19 16:27:36 +0100 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2025-08-19 11:16:14 -0500 |
commit | 453a6d2a68e54a483d67233c6e1e24c4095ee4be (patch) | |
tree | 99a715d7d2dcf4f3e653469b0460921d91d503e8 /rust/kernel | |
parent | c17b750b3ad9f45f2b6f7e6f7f4679844244f0b9 (diff) |
cifs: Fix oops due to uninitialised variable
Fix smb3_init_transform_rq() to initialise buffer to NULL before calling
netfs_alloc_folioq_buffer() as netfs assumes it can append to the buffer it
is given. Setting it to NULL means it should start a fresh buffer, but the
value is currently undefined.
Fixes: a2906d3316fc ("cifs: Switch crypto buffer to use a folio_queue rather than an xarray")
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Steve French <sfrench@samba.org>
cc: Paulo Alcantara <pc@manguebit.org>
cc: linux-cifs@vger.kernel.org
cc: linux-fsdevel@vger.kernel.org
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'rust/kernel')
0 files changed, 0 insertions, 0 deletions