Commit 31deac6
committed
cifs: missing null pointer check in cifs_mount
jira LE-1907
Rebuild_History Non-Buildable kernel-4.18.0-477.27.1.el8_8
commit-author Steve French <stfrench@microsoft.com>
commit 162004a
We weren't checking if tcon is null before setting dfs path,
although we check for null tcon in an earlier assignment statement.
Addresses-Coverity: 1476411 ("Dereference after null check")
Signed-off-by: Steve French <stfrench@microsoft.com>
(cherry picked from commit 162004a)
Signed-off-by: Jonathan Maple <jmaple@ciq.com>1 parent 0b44a06 commit 31deac6
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3458 | 3458 | | |
3459 | 3459 | | |
3460 | 3460 | | |
3461 | | - | |
| 3461 | + | |
3462 | 3462 | | |
3463 | 3463 | | |
3464 | 3464 | | |
| |||
0 commit comments