external/redland: Missing NUL
Change-Id: I388d8a37a0b7f95f21ccbbe04144f39c0fff533f
This commit is contained in:
1
external/redland/UnpackedTarball_redland.mk
vendored
1
external/redland/UnpackedTarball_redland.mk
vendored
@@ -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:
|
||||
|
10
external/redland/redland/redland-format.patch.0
vendored
Normal file
10
external/redland/redland/redland-format.patch.0
vendored
Normal file
@@ -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);
|
||||
}
|
Reference in New Issue
Block a user