aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2017-12-04 11:23:44 +0800
committerZhenyu Wang <[email protected]>2017-12-04 11:23:44 +0800
commitea26c96d59b27e878fe61e8ef0fed840d2281a2f (patch)
tree5eb86e8429a2ee9b36165ed459b83236412fb8e3 /tools/perf/scripts/python
parent7b30255698edc91f9235faf586d21625ca7bbbac (diff)
drm/i915/gvt: Fix out-of-bounds buffer write into opregion->signature[]
sparse spots drivers/gpu/drm/i915/gvt/opregion.c:234 alloc_and_init_virt_opregion() error: memcpy() 'header->signature' too small (16 vs 17) as gvt is indeed trying to memcpy a string longer than the signature[]. Fixes: b2d6ef70614e ("drm/i915/gvt: Let each vgpu has separate opregion memory") Signed-off-by: Chris Wilson <[email protected]> Cc: Xiong Zhang <[email protected]> Cc: Zhenyu Wang <[email protected]> Cc: Zhi Wang <[email protected]> Cc: [email protected] Signed-off-by: Zhenyu Wang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions