summaryrefslogtreecommitdiff
path: root/flac/flac-realloc.patch
blob: cf1a212cfa28eddca99fc7aab6de4deab7f3d5de (plain)
    1 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
    2 
    3 diff --git a/src/metaflac/utils.c b/src/metaflac/utils.c
    4 index 097537b..8a31daa 100644
    5 --- a/src/metaflac/utils.c
    6 +++ b/src/metaflac/utils.c
    7 @@ -75,7 +75,7 @@ void local_strcat(char **dest, const char *source)
    8  	*dest = safe_realloc_add_3op_(*dest, ndest, /*+*/nsource, /*+*/1);
    9  	if(0 == *dest)
   10  		die("out of memory growing string");
   11 -	safe_strncpy((*dest)+ndest, source, ndest + nsource + 1);
   12 +	safe_strncpy((*dest)+ndest, source, nsource + 1);
   13  }
   14  
   15  static inline int local_isprint(int c)

Generated by cgit