summaryrefslogtreecommitdiff
path: root/fs/cifs/smbfsctl.h
diff options
context:
space:
mode:
authorMurphy Zhou <jencce.kernel@gmail.com>2019-09-21 19:26:00 +0800
committerSteve French <stfrench@microsoft.com>2019-09-23 23:28:59 -0500
commit63d37fb4ce5ae7bf1e58f906d1bf25f036fe79b2 (patch)
tree6b113252bb7d07752f61e8983e72fca1649d71aa /fs/cifs/smbfsctl.h
parent8559ad8e89185ca55d8c9ef1e0b20f58578a4055 (diff)
CIFS: fix max ea value size
It should not be larger then the slab max buf size. If user specifies a larger size, it passes this check and goes straightly to SMB2_set_info_init performing an insecure memcpy. Signed-off-by: Murphy Zhou <jencce.kernel@gmail.com> Reviewed-by: Aurelien Aptel <aaptel@suse.com> CC: Stable <stable@vger.kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/smbfsctl.h')
0 files changed, 0 insertions, 0 deletions