summaryrefslogtreecommitdiff
path: root/.gitlab-ci
diff options
context:
space:
mode:
authorUli Schlachter <psychon@znc.in>2021-08-15 18:26:53 +0200
committerUli Schlachter <psychon@znc.in>2022-12-28 11:15:01 +0100
commita2d05a0c344e7a0239e4a95332d6b364a3c852e2 (patch)
tree30d203e0134fa8cf025af535797449c98b336169 /.gitlab-ci
parentc1aaaff880863419a08d44687451e5422d6090c3 (diff)
downloadcairo-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')
-rw-r--r--.gitlab-ci/ignore-ps2-argb32.txt1
-rw-r--r--.gitlab-ci/ignore-ps3-argb32.txt1
2 files changed, 2 insertions, 0 deletions
diff --git a/.gitlab-ci/ignore-ps2-argb32.txt b/.gitlab-ci/ignore-ps2-argb32.txt
index a2eb631e0..75c599fc4 100644
--- a/.gitlab-ci/ignore-ps2-argb32.txt
+++ b/.gitlab-ci/ignore-ps2-argb32.txt
@@ -161,6 +161,7 @@ rounded-rectangle-fill
rounded-rectangle-stroke
scale-offset-image
scale-offset-similar
+self-copy-overlap
stroke-ctm-caps
stroke-clipped
stroke-image
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