[Libreoffice-commits] core.git: external/redland
Stephan Bergmann
sbergman at redhat.com
Fri May 9 08:08:43 PDT 2014
external/redland/UnpackedTarball_redland.mk | 1 +
external/redland/redland/redland-format.patch.0 | 10 ++++++++++
2 files changed, 11 insertions(+)
New commits:
commit 90a30ddf687426acf7b02f15fbeb41646a70b070
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri May 9 17:08:09 2014 +0200
external/redland: Missing NUL
Change-Id: I388d8a37a0b7f95f21ccbbe04144f39c0fff533f
diff --git a/external/redland/UnpackedTarball_redland.mk b/external/redland/UnpackedTarball_redland.mk
index 56a4fbd..8b7b275 100644
--- a/external/redland/UnpackedTarball_redland.mk
+++ b/external/redland/UnpackedTarball_redland.mk
@@ -23,6 +23,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,redland,\
$(if $(filter ANDROID,$(OS)),external/redland/redland/redland-android.patch.1) \
$(if $(filter WNTGCC,$(OS)$(COM)),external/redland/redland/redland-mingw.patch.1) \
$(if $(CROSS_COMPILING),external/redland/redland/redland-xcompile.patch.1) \
+ external/redland/redland/redland-format.patch.0 \
))
# vim: set noet sw=4 ts=4:
diff --git a/external/redland/redland/redland-format.patch.0 b/external/redland/redland/redland-format.patch.0
new file mode 100644
index 0000000..7bd62a8
--- /dev/null
+++ b/external/redland/redland/redland-format.patch.0
@@ -0,0 +1,10 @@
+--- src/rdf_log.c
++++ src/rdf_log.c
+@@ -136,6 +136,7 @@
+ char *buffer = LIBRDF_MALLOC(char*, slocator_len + 2);
+ *buffer=' ';
+ raptor_locator_format(buffer + 1, slocator_len, (raptor_locator*)locator);
++ buffer[slocator_len + 1] = '\0';
+ fputs(buffer, stderr);
+ LIBRDF_FREE(char*, buffer);
+ }
More information about the Libreoffice-commits
mailing list