diff options
author | 2017-06-13 10:15:26 +0800 | |
---|---|---|
committer | 2017-06-29 11:15:11 +0800 | |
commit | 5cd82b757795228516bf60a0552d1a40fa8adeb2 (patch) | |
tree | 0cf1fff3514e338ea1721bb0f25ccb600da7f1a0 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | drm/i915/gvt: Don't read ADPA_CRT_HOTPLUG_MONITOR from host (diff) | |
download | wireguard-linux-5cd82b757795228516bf60a0552d1a40fa8adeb2.tar.xz wireguard-linux-5cd82b757795228516bf60a0552d1a40fa8adeb2.zip |
drm/i915/gvt: Make function dpy_reg_mmio_readx safe
The dpy_reg_mmio_read_x functions directly copy 4 bytes data to the
target address with considering the length. If may cause the target
memory corrupted if the requested length less than 4 bytes. Fix it
for safety even we already have some checking to avoid this happen.
And for convince, the 3 functions are merged.
Signed-off-by: Changbin Du <changbin.du@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions