diff options
author | Julien Cristau <jcristau@debian.org> | 2011-11-05 13:00:07 +0100 |
---|---|---|
committer | Julien Cristau <jcristau@debian.org> | 2011-11-19 14:25:53 +0100 |
commit | 08ec4da6a7617637914bee1636858474213cf39d (patch) | |
tree | 4f616e1607a35c7407b3b9693c617879f9761180 /record | |
parent | a551f126cc4af7a476d9c8fd0cb309d5aa600d54 (diff) |
Fix ShmPutImage for XYBitmap
We can't call CopyArea in that case because the image has depth 1, which
might not match the target drawable, so we might overrun the shm
segment. Commit 11817a881cb93a89788105d1e575a468f2a8d27c apparently
fixed a similar bug for XYPixmap, but missed the bitmap case.
Fixes: http://bugs.debian.org/629611
Thanks to Alan Curry for diagnosing this and providing a test case.
Reported-and-tested-by: Alan Curry <pacman@kosh.dhis.org>
Reviewed-by: Peter Harris <pharris@opentext.com>
Signed-off-by: Julien Cristau <jcristau@debian.org>
Diffstat (limited to 'record')
0 files changed, 0 insertions, 0 deletions