blob: 7bd62a8bb5918efd156f493fad8d7d80def0fd67 (
plain)
1
2
3
4
5
6
7
8
9
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);
}
|