diff options
| author | Chris Wilson <[email protected]> | 2016-12-22 08:36:26 +0000 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2016-12-27 14:16:59 +0100 |
| commit | c820186d5b3b213c5a627c45e5db386bb739af25 (patch) | |
| tree | 7c843d5933077c6c0f208bfa3dc498c0d198bd2e /tools/perf/scripts/python | |
| parent | ba004e39b1997bb32150961eef4a5cd02ba3edec (diff) | |
drm: Detect overflow in drm_mm_reserve_node()
Protect ourselves from a caller passing in node.start + node.size that
will overflow and trick us into reserving that node.
Signed-off-by: Chris Wilson <[email protected]>
Reviewed-by: Joonas Lahtinen <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions