CIFS: Possible null ptr deref in SMB2_tcon
authorSteve French <smfrench@gmail.com>
Sun, 17 Aug 2014 05:22:24 +0000 (00:22 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Sep 2014 16:04:01 +0000 (09:04 -0700)
commitc6bef3b64c1e605f4059189153de3251855846b9
tree779783ea75fb6868845d36ba16d255c0c6894891
parent8f516091b6c747c2db53b33c0eb955c5b3975792
CIFS: Possible null ptr deref in SMB2_tcon

commit 18f39e7be0121317550d03e267e3ebd4dbfbb3ce upstream.

As Raphael Geissert pointed out, tcon_error_exit can dereference tcon
and there is one path in which tcon can be null.

Signed-off-by: Steve French <smfrench@gmail.com>
Reported-by: Raphael Geissert <geissert@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/cifs/smb2pdu.c