Commit dec15a2
cifs: add check for returning value of SMB2_set_info_init
BugLink: https://bugs.launchpad.net/bugs/2036450
If the returning value of SMB2_set_info_init is an error-value,
exit the function.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes: 0967e54 ("cifs: use a compound for setting an xattr")
Signed-off-by: Anastasia Belova <[email protected]>
Signed-off-by: Steve French <[email protected]>
(cherry picked from commit a51e5d2)
Signed-off-by: Tim Gardner <[email protected]>1 parent b16894e commit dec15a2
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1116 | 1116 | | |
1117 | 1117 | | |
1118 | 1118 | | |
| 1119 | + | |
| 1120 | + | |
1119 | 1121 | | |
1120 | 1122 | | |
1121 | 1123 | | |
| |||
0 commit comments