Commit 6b78951
committed
smb3: add additional null check in SMB2_open
Although unlikely to be possible for rsp to be null here,
the check is safer to add, and quiets a Coverity warning.
Addresses-Coverity: 1418458 ("Explicit null dereferenced")
Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>1 parent 4d9beec commit 6b78951
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2941 | 2941 | | |
2942 | 2942 | | |
2943 | 2943 | | |
2944 | | - | |
| 2944 | + | |
| 2945 | + | |
| 2946 | + | |
2945 | 2947 | | |
2946 | 2948 | | |
2947 | 2949 | | |
| |||
0 commit comments