cifs: fix NULL deref in SMB2_read
authorRonnie Sahlberg <lsahlber@redhat.com>
Mon, 20 Nov 2017 22:36:33 +0000 (09:36 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Dec 2017 09:10:17 +0000 (10:10 +0100)
commit6f3fc5f95975e101b198ecf223ad6f9f8994b191
treebd76cd4bdd5080eebb11b9474309482aab4b925f
parentcf1048e46d4f301261d946e73add464fb95fd5a4
cifs: fix NULL deref in SMB2_read

commit a821df3f1af72aa6a0d573eea94a7dd2613e9f4e upstream.

Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/cifs/smb2pdu.c