16 lines
757 B
Diff
16 lines
757 B
Diff
![]() |
X-Git-Url: http://git.xiph.org/?p=flac.git;a=blobdiff_plain;f=src%2Fmetaflac%2Futils.c;h=8a31daaddd47f8ea2d7b1e66445d180b4151e0db;hp=097537b2d39ea302269a16e7da9bc413e02ffb6e;hb=606fdfcaece19d3e05434bde57c289102a369069;hpb=d42c04260bf9e27cbb8c61a5529ecab3b20e25ff
|
||
|
|
||
|
diff --git a/src/metaflac/utils.c b/src/metaflac/utils.c
|
||
|
index 097537b..8a31daa 100644
|
||
|
--- a/src/metaflac/utils.c
|
||
|
+++ b/src/metaflac/utils.c
|
||
|
@@ -75,7 +75,7 @@ void local_strcat(char **dest, const char *source)
|
||
|
*dest = safe_realloc_add_3op_(*dest, ndest, /*+*/nsource, /*+*/1);
|
||
|
if(0 == *dest)
|
||
|
die("out of memory growing string");
|
||
|
- safe_strncpy((*dest)+ndest, source, ndest + nsource + 1);
|
||
|
+ safe_strncpy((*dest)+ndest, source, nsource + 1);
|
||
|
}
|
||
|
|
||
|
static inline int local_isprint(int c)
|