]> git.baikalelectronics.ru Git - kernel.git/commit
smb3: rc uninitialized in one fallocate path
authorSteve French <stfrench@microsoft.com>
Mon, 26 Jul 2021 21:22:55 +0000 (16:22 -0500)
committerSteve French <stfrench@microsoft.com>
Tue, 27 Jul 2021 03:35:46 +0000 (22:35 -0500)
commitc8bba15f35d32b046508f80d26f7660f12b84223
tree9a3cd1fbd11d25c82e4b2a23cdf1825fd7e2de5c
parent71c8cff21824b7afcc702f52f17d5e340f0dbd43
smb3: rc uninitialized in one fallocate path

Clang detected a problem with rc possibly being unitialized
(when length is zero) in a recently added fallocate code path.

Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smb2ops.c