diff options
author | Evan Quan <evan.quan@amd.com> | 2017-10-16 16:51:28 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-10-25 23:09:38 -0400 |
commit | 4694257e7d4757fedaa8dcd18bb5ff52e76a2765 (patch) | |
tree | 7495d845c5878ac1d2497156d5705787bad30df0 /ipc | |
parent | 0722382dcc4fd4e53c12db2c2eda9c5c9c903432 (diff) | |
download | linux-4694257e7d4757fedaa8dcd18bb5ff52e76a2765.tar.bz2 |
drm/amdgpu/psp: prevent page fault by checking write_frame address(v4)
- Prevent a possible buffer overflow when updating the ring buffer by
bounds checking the command frame against the available space in the
ring buffer.
v2: update the ring_buffer_end address
v3: update the commit log
v4: squash in print fix (Michel)
Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions