[Bug 194579] AMDGPU: Possible size overflow detected by PaX in ttm_bo_handle_move_mem (drivers/gpu/drm/ttm/ttm_bo.c:388)

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Tue Feb 21 09:24:41 UTC 2017


https://bugzilla.kernel.org/show_bug.cgi?id=194579

--- Comment #10 from Nicolai Hähnle (nhaehnle at gmail.com) ---
1. That shouldn't compile (use LONG_MAX).
2. The cur_placement still needs to be updated even in that case.

Guarding only the assignment to bo->offset in this way is a reasonable
workaround, I think.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the dri-devel mailing list