diff options
| author | Paulo Alcantara <[email protected]> | 2024-01-06 23:05:18 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2024-01-08 03:18:00 +0000 |
| commit | 8a3c4e44c243308c2364a00f9944c3d6fbdeb125 (patch) | |
| tree | 049277c1f23d0e0e070eb5e06fd7a60745e27219 /security/selinux/hooks.c | |
| parent | smb: client: stop revalidating reparse points unnecessarily (diff) | |
| download | kernel-8a3c4e44c243308c2364a00f9944c3d6fbdeb125.tar.gz kernel-8a3c4e44c243308c2364a00f9944c3d6fbdeb125.zip | |
cifs: get rid of dup length check in parse_reparse_point()
smb2_compound_op(SMB2_OP_GET_REPARSE) already checks if ioctl response
has a valid reparse data buffer's length, so there's no need to check
it again in parse_reparse_point().
In order to get rid of duplicate check, validate reparse data buffer's
length also in cifs_query_reparse_point().
Signed-off-by: Paulo Alcantara (SUSE) <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
