summaryrefslogtreecommitdiffstats
path: root/fs/cifs/transport.c
diff options
context:
space:
mode:
authorAurelien Aptel <aaptel@suse.com>2018-08-02 16:39:52 +0200
committerSteve French <stfrench@microsoft.com>2018-08-07 14:30:59 -0500
commita5c62f4833c2c8e6e0f35367b99b717b78f5c029 (patch)
tree7b8f0ea7136d3aabdeaf5d9e3c723c0c5d55dc5c /fs/cifs/transport.c
parentfd09b7d3b352105f08b8e02f7afecf7e816380ef (diff)
downloadlinux-stable-a5c62f4833c2c8e6e0f35367b99b717b78f5c029.tar.gz
linux-stable-a5c62f4833c2c8e6e0f35367b99b717b78f5c029.tar.bz2
linux-stable-a5c62f4833c2c8e6e0f35367b99b717b78f5c029.zip
CIFS: fix uninitialized ptr deref in smb2 signing
server->secmech.sdeschmacsha256 is not properly initialized before smb2_shash_allocate(), set shash after that call. also fix typo in error message Fixes: 8de8c4608fe9 ("cifs: Fix validation of signed data in smb2") Signed-off-by: Aurelien Aptel <aaptel@suse.com> Reviewed-by: Paulo Alcantara <palcantara@suse.com> Reported-by: Xiaoli Feng <xifeng@redhat.com> Signed-off-by: Steve French <stfrench@microsoft.com> CC: Stable <stable@vger.kernel.org>
Diffstat (limited to 'fs/cifs/transport.c')
0 files changed, 0 insertions, 0 deletions