summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
diff options
context:
space:
mode:
authorMurphy Zhou <jencce.kernel@gmail.com>2019-09-21 19:26:00 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-10-05 13:10:12 +0200
commita3a150895b6f09896f3c3121b2e6cc927f21aba2 (patch)
tree6441035bb6293beba4167f3d9df0953d28dcfdbb /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
parenta0f7fd38acf5e224d7352dd22b9d0aa8480f8eb8 (diff)
CIFS: fix max ea value size
commit 63d37fb4ce5ae7bf1e58f906d1bf25f036fe79b2 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c')
0 files changed, 0 insertions, 0 deletions