diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-07-11 16:28:15 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-07-11 21:46:36 +0100 |
commit | 2608a367acba7247e50754c3daeed09ba2e97d05 (patch) | |
tree | 3298b7aceb5479b59e15e6b97189cf857b99e48d /man | |
parent | ab1000821ae881a301fb0e1f2210493ec383e681 (diff) |
dri: Prevent abuse of the Resource database
The Resource database is only designed to store a single value for a
particular type associated with an XID. Due to the asynchronous nature
of the vblank/flip requests, we would often associate multiple frame
events with a particular drawable/client. Upon freeing the resource, we
would not necessarily decouple the right value, leaving a stale pointer
behind. Later when the client disappeared, we would write through that
stale pointer upsetting valgrind and causing memory corruption. MDK.
Instead, we need to implement an extra layer for tracking multiple
frames within a single Resource.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=37700
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'man')
0 files changed, 0 insertions, 0 deletions