summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2023-09-02 05:49:05 +0000
committerAdrian Johnson <ajohnson@redneon.com>2023-09-02 05:49:05 +0000
commit7a06f65d9bd048dfef0c4d7ff9622c29f5010698 (patch)
treed13cd21549a71009a746ef5ef29803f438e59e3b
parent7645586223cea9f5313253bd8cde96a0a4007905 (diff)
parent50c5f3cc7633710707760b54561073d736588861 (diff)
Merge branch 'bobby285271/fix-format-security' into 'master'
Fix building with -Werror=format-security See merge request cairo/cairo!508
-rw-r--r--src/cairo-pdf-surface.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cairo-pdf-surface.c b/src/cairo-pdf-surface.c
index 459f90a8f..50f4daa57 100644
--- a/src/cairo-pdf-surface.c
+++ b/src/cairo-pdf-surface.c
@@ -2534,6 +2534,7 @@ _cairo_pdf_surface_open_content_stream (cairo_pdf_surface_t *surface,
_cairo_pdf_surface_open_stream (surface,
resource,
surface->compress_streams,
+ "%s",
str);
free (str);
free (data);