projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
smb3: missing null check in SMB2_change_notify
[platform/kernel/linux-rpi.git]
/
fs
/
smb
/
client
/
smb2pdu.c
diff --git
a/fs/smb/client/smb2pdu.c
b/fs/smb/client/smb2pdu.c
index
9ed61b6
..
7063b39
100644
(file)
--- a/
fs/smb/client/smb2pdu.c
+++ b/
fs/smb/client/smb2pdu.c
@@
-3725,7
+3725,7
@@
SMB2_change_notify(const unsigned int xid, struct cifs_tcon *tcon,
if (*out_data == NULL) {
rc = -ENOMEM;
goto cnotify_exit;
- } else
+ } else
if (plen)
*plen = le32_to_cpu(smb_rsp->OutputBufferLength);
}