diff options
| author | Kees Cook <keescook@chromium.org> | 2021-05-02 22:06:08 -0700 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2021-05-10 18:06:45 -0400 |
| commit | 642f3ad00f9640a1a74c6e0da538c5f88d2d0117 (patch) | |
| tree | ac09238e471a9d6f0548f09c894c65cadf42d6dc /scripts/gdb/linux/tasks.py | |
| parent | 359615251034790abaa06b7b0e5635543e01d473 (diff) | |
drm/radeon: Avoid power table parsing memory leaks
Avoid leaving a hanging pre-allocated clock_info if last mode is
invalid, and avoid heap corruption if no valid modes are found.
Bug: https://bugzilla.kernel.org/show_bug.cgi?id=211537
Fixes: 6991b8f2a319 ("drm/radeon/kms: fix segfault in pm rework")
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions
