diff options
author | Uli Schlachter <psychon@znc.in> | 2021-08-15 18:26:53 +0200 |
---|---|---|
committer | Uli Schlachter <psychon@znc.in> | 2022-12-28 11:15:01 +0100 |
commit | a2d05a0c344e7a0239e4a95332d6b364a3c852e2 (patch) | |
tree | 30d203e0134fa8cf025af535797449c98b336169 /.gitlab-ci/ignore-ps3-argb32.txt | |
parent | c1aaaff880863419a08d44687451e5422d6090c3 (diff) | |
download | cairo-a2d05a0c344e7a0239e4a95332d6b364a3c852e2.tar.gz |
ps: Fix crash in self-copy-overlap
According to valgrind, there is a use-after-free here. The function
_cairo_ps_surface_emit_surface() temporarily replaces some member of a
struct and then later re-sets it. However, there is an early return
possible that would skip that part of the code.
This commit moves the re-set up so that no freed pointers are left
behind. This seems to fix the crash.
Signed-off-by: Uli Schlachter <psychon@znc.in>
Diffstat (limited to '.gitlab-ci/ignore-ps3-argb32.txt')
-rw-r--r-- | .gitlab-ci/ignore-ps3-argb32.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitlab-ci/ignore-ps3-argb32.txt b/.gitlab-ci/ignore-ps3-argb32.txt index ee227c8f7..9e433d5c3 100644 --- a/.gitlab-ci/ignore-ps3-argb32.txt +++ b/.gitlab-ci/ignore-ps3-argb32.txt @@ -172,6 +172,7 @@ rounded-rectangle-fill rounded-rectangle-stroke scale-offset-image scale-offset-similar +self-copy-overlap stroke-ctm-caps stroke-clipped stroke-image |