diff options
author | David Riley <[email protected]> | 2019-06-05 16:44:20 -0700 |
---|---|---|
committer | Gerd Hoffmann <[email protected]> | 2019-06-06 09:44:40 +0200 |
commit | 7fdf478a43869bee27e1b50955830f6ebc730b67 (patch) | |
tree | 153bfa07887ea8f1b5b73f0a6675072626b79896 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 50f9495efe308eb25fd921ea7c8c8143ddeeae30 (diff) |
drm/virtio: Ensure cached capset entries are valid before copying.
virtio_gpu_get_caps_ioctl could return success with invalid data if a
second caller to the function occurred after the entry was created in
virtio_gpu_cmd_get_capset but prior to the virtio_gpu_cmd_capset_cb
callback being called. This could leak contents of memory as well
since the caps_cache allocation is done without zeroing.
Signed-off-by: David Riley <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Gerd Hoffmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions