diff options
author | Alexandra Diupina <adiupina@astralinux.ru> | 2025-03-19 17:28:58 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2025-03-24 17:45:07 +0300 |
commit | b4885bd5935bb26f0a414ad55679a372e53f9b9b (patch) | |
tree | cd8c718e9cddb71a41f3b91e084ca77984f2e6cc /lib/test_fortify/write_overflow-memcpy.c | |
parent | f089ee00f205a6e487291f347ea99bf26370643a (diff) | |
download | linux-b4885bd5935bb26f0a414ad55679a372e53f9b9b.tar.xz |
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: stable@vger.kernel.org
Signed-off-by: Alexandra Diupina <adiupina@astralinux.ru>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions