]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
[cifs] fix null pointer check
authorSteve French <smfrench@gmail.com>
Wed, 20 May 2015 14:32:21 +0000 (09:32 -0500)
committerSteve French <smfrench@gmail.com>
Wed, 20 May 2015 14:32:21 +0000 (09:32 -0500)
commit1dc92c450a53f120b67296cb4b29c1dfdc665ac1
tree5a63e2bc7f66019ead5595d8d217b8332582ca2c
parentbc8ebdc4f54cc944b0ecc0fb0d18b0ffbaab0468
[cifs] fix null pointer check

Dan Carpenter pointed out an inconsistent null pointer check
in smb2_hdr_assemble that was pointed out by static checker.

Signed-off-by: Steve French <smfrench@gmail.com>
Reviewed-by: Sachin Prabhu <sprabhu@redhat.com>
CC: Dan Carpenter <dan.carpenter@oracle.com>w
fs/cifs/smb2pdu.c