diff options
author | Vivek Kasireddy <[email protected]> | 2021-11-04 14:42:49 -0700 |
---|---|---|
committer | Gerd Hoffmann <[email protected]> | 2021-11-08 13:54:41 +0100 |
commit | d89c0c8322ecdc9a2ec84b959b6f766be082da76 (patch) | |
tree | 4da172380ebb993989de676f8f80dc7ab0feeac7 /scripts/gdb/linux/modules.py | |
parent | 14d9a37c952588930d7226953359fea3ab956d39 (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 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions