Skip to content

Commit 3cfcd57

Browse files
committed
Merge tag '6.17-rc2-smb3-client-fix' of git://git.samba.org/sfrench/cifs-2.6
Pull smb client fix from Steve French: "Fix for netfs smb3 oops" * tag '6.17-rc2-smb3-client-fix' of git://git.samba.org/sfrench/cifs-2.6: cifs: Fix oops due to uninitialised variable
2 parents e86ba12 + 453a6d2 commit 3cfcd57

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fs/smb/client/smb2ops.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4496,7 +4496,7 @@ smb3_init_transform_rq(struct TCP_Server_Info *server, int num_rqst,
44964496
for (int i = 1; i < num_rqst; i++) {
44974497
struct smb_rqst *old = &old_rq[i - 1];
44984498
struct smb_rqst *new = &new_rq[i];
4499-
struct folio_queue *buffer;
4499+
struct folio_queue *buffer = NULL;
45004500
size_t size = iov_iter_count(&old->rq_iter);
45014501

45024502
orig_len += smb_rqst_len(server, old);

0 commit comments

Comments
 (0)