[cairo-commit] 2 commits - src/cairo-ps-surface.c
test/.valgrind-suppressions
Carl Worth
cworth at kemper.freedesktop.org
Fri Jun 30 14:05:51 PDT 2006
src/cairo-ps-surface.c | 1 +
test/.valgrind-suppressions | 27 +++++++++++++++++++++++++++
2 files changed, 28 insertions(+)
New commits:
diff-tree c6c943f3cfefa535e6c2da6adcac15507a8f0952 (from 0853ccd05314d618afd0d640a33f0a744842a0d2)
Author: Carl Worth <cworth at cworth.org>
Date: Fri Jun 30 23:00:39 2006 +0200
ps: Fix to not walk off the end of the data array.
This fixes a bug recently introduced with the special case for the ~> sequence.
diff --git a/src/cairo-ps-surface.c b/src/cairo-ps-surface.c
index f9a80f4..3856aa2 100644
--- a/src/cairo-ps-surface.c
+++ b/src/cairo-ps-surface.c
@@ -1398,6 +1398,7 @@ _string_array_stream_write (cairo_output
_cairo_output_stream_write (stream->output, &c, 1);
stream->column++;
stream->string_size++;
+ length--;
c = *data++;
break;
}
diff-tree 0853ccd05314d618afd0d640a33f0a744842a0d2 (from ee75e1e6853ada5c4218788148e2f5a09669a2b3)
Author: Carl Worth <cworth at cworth.org>
Date: Fri Jun 30 22:58:36 2006 +0200
Add new libz/libpng suppressions.
It would appear we have to keep updating these for new library versions.
diff --git a/test/.valgrind-suppressions b/test/.valgrind-suppressions
index ad6d4ed..0f90a7e 100644
--- a/test/.valgrind-suppressions
+++ b/test/.valgrind-suppressions
@@ -14,6 +14,19 @@
{
cairo's write_png_argb32 triggers apparent bugs in libpng/libz
Memcheck:Cond
+ obj:/usr/lib/libz.so.1.2.3
+ obj:/usr/lib/libz.so.1.2.3
+ fun:deflate
+ obj:/usr/lib/libpng12.so.0.1.2.8
+ obj:/usr/lib/libpng12.so.0.1.2.8
+ obj:/usr/lib/libpng12.so.0.1.2.8
+ fun:png_write_row
+ fun:png_write_image
+ fun:write_png
+}
+{
+ cairo's write_png_argb32 triggers apparent bugs in libpng/libz
+ Memcheck:Cond
obj:/usr/lib/libz.so.1.2.2.2
obj:/usr/lib/libz.so.1.2.2.2
fun:deflate
@@ -25,6 +38,20 @@
fun:write_png_argb32
}
{
+ cairo's _cairo_pdf_surface_paint triggers apparent bugs in libz
+ Memcheck:Cond
+ obj:/usr/lib/libz.so.1.2.3
+ obj:/usr/lib/libz.so.1.2.3
+ fun:deflate
+ fun:compress2
+ fun:compress
+ fun:compress_dup
+ fun:emit_image
+ fun:emit_surface_pattern
+ fun:emit_pattern
+ fun:_cairo_pdf_surface_paint
+}
+{
pthread initialization strstr bug
Memcheck:Cond
fun:strstr
More information about the cairo-commit
mailing list