CIFS: Fix possible freed pointer dereference in SMB2_sess_setup
authorPavel Shilovsky <piastry@etersoft.ru>
Tue, 25 Sep 2012 07:00:09 +0000 (11:00 +0400)
committerSteve French <smfrench@gmail.com>
Thu, 27 Sep 2012 03:15:18 +0000 (22:15 -0500)
commit4ca3a99ca4bf8f5dcfc4fef4f2b1d8322bb60ad9
tree33a25d47a71929f62429ad93ec6b64ef88e9ad76
parent760ad0cac198356c1148cad7531c1a6138322493
CIFS: Fix possible freed pointer dereference in SMB2_sess_setup

and remove redundant (rsp == NULL) checks after SendReceive2.

Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/smb2pdu.c