]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
CIFS: Possible null ptr deref in SMB2_tcon
authorSteve French <smfrench@gmail.com>
Sun, 17 Aug 2014 05:22:24 +0000 (00:22 -0500)
committerJiri Slaby <jslaby@suse.cz>
Wed, 17 Sep 2014 15:06:54 +0000 (17:06 +0200)
commit897ebdd35fad90a475e34e30b0660809347f511f
tree92fa770ca2d538f7feab300d9ebcb55458188363
parent98bbdfdb93af137f5364dddff5286633644cc9d1
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: Jiri Slaby <jslaby@suse.cz>
fs/cifs/smb2pdu.c