aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorVivek Kasireddy <[email protected]>2021-11-04 14:42:49 -0700
committerGerd Hoffmann <[email protected]>2021-11-08 13:54:41 +0100
commitd89c0c8322ecdc9a2ec84b959b6f766be082da76 (patch)
tree4da172380ebb993989de676f8f80dc7ab0feeac7 /lib/mpi/mpi-mod.c
parent14d9a37c952588930d7226953359fea3ab956d39 (diff)
drm/virtio: Fix NULL dereference error in virtio_gpu_poll
When virgl is not enabled, vfpriv pointer would not be allocated. Therefore, check for a valid value before dereferencing. Reported-by: Christian Zigotzky <[email protected]> Cc: Gurchetan Singh <[email protected]> Cc: Gerd Hoffmann <[email protected]> Signed-off-by: Vivek Kasireddy <[email protected]> Tested-by: Christian Zigotzky <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Gerd Hoffmann <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions