diff options
author | 2024-11-20 20:18:31 +0300 | |
---|---|---|
committer | 2024-11-21 10:43:23 -0600 | |
commit | 7a2158b73c36903e8822dae5442c27d6d0e1014b (patch) | |
tree | 8d076d7543fd818eeb8984ca16f67afe3b64acf0 /scripts/gdb/linux/utils.py | |
parent | fs/smb/client: implement chmod() for SMB3 POSIX Extensions (diff) | |
download | wireguard-linux-7a2158b73c36903e8822dae5442c27d6d0e1014b.tar.xz wireguard-linux-7a2158b73c36903e8822dae5442c27d6d0e1014b.zip |
smb/client: Prevent error pointer dereference
The cifs_sb_tlink() function can return error pointers, but this code
dereferences it before checking for error pointers. Re-order the code
to fix that.
Fixes: 0f9b6b045bb2 ("fs/smb/client: implement chmod() for SMB3 POSIX Extensions")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Bharath SM <bharathsm@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions