diff options
| author | Alex Hung <[email protected]> | 2024-04-16 16:47:42 -0600 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-05-02 16:18:17 -0400 |
| commit | fa71face755e27dc44bc296416ebdf2c67163316 (patch) | |
| tree | ee7b0661b4d5f757455e83995f547ce9ade30884 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | efabdce3db9f3d306084c8946983f3d895810a6b (diff) | |
drm/amd/display: Check msg_id before processing transcation
[WHY & HOW]
HDCP_MESSAGE_ID_INVALID (-1) is not a valid msg_id nor is it a valid
array index, and it needs checking before used.
This fixes 4 OVERRUN issues reported by Coverity.
Reviewed-by: Harry Wentland <[email protected]>
Acked-by: Tom Chung <[email protected]>
Signed-off-by: Alex Hung <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions