diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2009-12-14 14:21:55 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2009-12-14 14:21:55 +0000 |
commit | a78818634521058230b5418475d51f480d15c14e (patch) | |
tree | 87a2c791c85ad4a26f5fe8938d010c4ba8b79ab3 /3RDPARTY | |
parent | 669b1cf4c58d9230ad6827c2909799baed7ca61d (diff) |
Fix a segfault in X for a clipped movie window.
ok matthieu@
Original commit message from barry scott to upstream:
Author: Barry Scott <barry.scott@onelan.co.uk>
Date: Tue Jun 23 14:14:50 2009 +0100
Fix segv for clipped movie window
When playing a movie that is clipped on its left and right edges the
Xorg server will SEGV sometimes. This is because the intel driver
ignores the clipping info when it copies the planes out of the XV
data. The check for the optimised copy was wrong to ignore the
width required. Which leads to too much data being copied by the
memcpy. It the source buffe happens to end exactly on a page
boundary the server will SEGV.
As we reviewed the code we checked the calculation of src1, src2 and
src3. The patch includes additional comments to make it clear what
the elements of the calculation are.
This bug exists in git head and we also see it in 2.4.1.
Diffstat (limited to '3RDPARTY')
0 files changed, 0 insertions, 0 deletions