diff options
| author | Alexandra Diupina <[email protected]> | 2025-03-19 14:28:58 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2025-03-24 14:45:07 +0000 |
| commit | b4885bd5935bb26f0a414ad55679a372e53f9b9b (patch) | |
| tree | cd8c718e9cddb71a41f3b91e084ca77984f2e6cc /net/core/dev_api.c | |
| parent | smb: client: Remove redundant check in smb2_is_path_accessible() (diff) | |
| download | kernel-b4885bd5935bb26f0a414ad55679a372e53f9b9b.tar.gz kernel-b4885bd5935bb26f0a414ad55679a372e53f9b9b.zip | |
cifs: avoid NULL pointer dereference in dbg call
cifs_server_dbg() implies server to be non-NULL so
move call under condition to avoid NULL pointer dereference.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes: e79b0332ae06 ("cifs: ignore cached share root handle closing errors")
Cc: [email protected]
Signed-off-by: Alexandra Diupina <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'net/core/dev_api.c')
0 files changed, 0 insertions, 0 deletions
