]> git.baikalelectronics.ru Git - kernel.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)
committerSteve French <smfrench@gmail.com>
Sun, 17 Aug 2014 05:41:02 +0000 (00:41 -0500)
commitc2c58a40309d7acbf08c093451038ee9670eefff
treee8c90a98d73dcd9e08a844cb7f05a9e3b823c766
parentc54cbf880731900892ec4a19ca880bbada14d377
[CIFS] Possible null ptr deref in SMB2_tcon

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>
CC: Stable <stable@vger.kernel.org> # v3.7+
Reported-by: Raphael Geissert <geissert@debian.org>
fs/cifs/smb2pdu.c