summaryrefslogtreecommitdiff
path: root/drivers/misc/vmw_vmci/vmci_handle_array.c
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2015-09-10 13:52:03 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-09-21 05:33:29 +0300
commitf97ef759999485df485fe19a440d6af02d561140 (patch)
tree5fb3e3b27140600043946616400e64822f8e3cf0 /drivers/misc/vmw_vmci/vmci_handle_array.c
parent6894fdaeaa2a653c3232b11926df8c7e8b5bd83c (diff)
downloadlinux-f97ef759999485df485fe19a440d6af02d561140.tar.xz
drivers/misc/sgi-gru: fix possible NULL dereference
If mmu_find_ops() returns NULL then we are allocating memory for gms using kzalloc. But kzalloc can return NULL and we were dereferencing gms in gru_dbg(). Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/vmw_vmci/vmci_handle_array.c')
0 files changed, 0 insertions, 0 deletions