diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-05-09 17:08:09 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-05-09 17:08:09 +0200 |
commit | 90a30ddf687426acf7b02f15fbeb41646a70b070 (patch) | |
tree | 6bf881b734d58745d03dd0b4ef94a6be21d20467 /external/redland | |
parent | 2c64e08aa3eac795cc0064f1f9dcce55d8e50384 (diff) |
external/redland: Missing NUL
Change-Id: I388d8a37a0b7f95f21ccbbe04144f39c0fff533f
Diffstat (limited to 'external/redland')
-rw-r--r-- | external/redland/UnpackedTarball_redland.mk | 1 | ||||
-rw-r--r-- | external/redland/redland/redland-format.patch.0 | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/external/redland/UnpackedTarball_redland.mk b/external/redland/UnpackedTarball_redland.mk index 56a4fbd6c3f9..8b7b27552d9b 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 000000000000..7bd62a8bb591 --- /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); + } |