diff options
author | Andy King <acking@vmware.com> | 2013-01-10 15:41:40 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-17 12:07:39 -0800 |
commit | 32b083a3fd1452b9d5aba8e781ca95b566f3e054 (patch) | |
tree | 352be2ecd9e5d5aa3689a3b41336692b274711fd /drivers/misc/vmw_vmci/vmci_guest.c | |
parent | VMCI: Remove dependency on BLOCK I/O (diff) | |
download | linux-dev-32b083a3fd1452b9d5aba8e781ca95b566f3e054.tar.xz linux-dev-32b083a3fd1452b9d5aba8e781ca95b566f3e054.zip |
VMCI: Fix deref before NULL-check of queuepair ptr
Check for a valid queuepair ptr before trying to lock the queuepair (which will
deref it).
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Andy King <acking@vmware.com>
Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/vmw_vmci/vmci_guest.c')
0 files changed, 0 insertions, 0 deletions