Commit b535cc7
committed
smb3: missing null check in SMB2_change_notify
If plen is null when passed in, we only checked for null
in one of the two places where it could be used. Although
plen is always valid (not null) for current callers of the
SMB2_change_notify function, this change makes it more consistent.
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <error27@gmail.com>
Closes: https://lore.kernel.org/all/202305251831.3V1gbbFs-lkp@intel.com/
Signed-off-by: Steve French <stfrench@microsoft.com>1 parent 1dd5483 commit b535cc7
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3725 | 3725 | | |
3726 | 3726 | | |
3727 | 3727 | | |
3728 | | - | |
| 3728 | + | |
3729 | 3729 | | |
3730 | 3730 | | |
3731 | 3731 | | |
| |||
0 commit comments