CIFS: Possible null ptr deref in SMB2_tcon

commit 18f39e7be0 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>
This commit is contained in:
Steve French 2014-08-17 00:22:24 -05:00 • committed by Greg Kroah-Hartman
commit e6fc2f0c1d