1 |
ssuominen 14/09/27 22:16:22 |
2 |
|
3 |
Added: flac-1.3.0-metaflac_strcat.patch |
4 |
Log: |
5 |
Apply upstream patch wrt #512432 by Jason Miller |
6 |
|
7 |
(Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key 4868F14D) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 media-libs/flac/files/flac-1.3.0-metaflac_strcat.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/flac/files/flac-1.3.0-metaflac_strcat.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/flac/files/flac-1.3.0-metaflac_strcat.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: flac-1.3.0-metaflac_strcat.patch |
16 |
=================================================================== |
17 |
From upstream: |
18 |
|
19 |
http://git.xiph.org/?p=flac.git;a=commit;h=606fdfcaece19d3e05434bde57c289102a369069 |
20 |
|
21 |
--- src/metaflac/utils.c |
22 |
+++ src/metaflac/utils.c |
23 |
@@ -75,7 +75,7 @@ void local_strcat(char **dest, const char *source) |
24 |
*dest = safe_realloc_add_3op_(*dest, ndest, /*+*/nsource, /*+*/1); |
25 |
if(0 == *dest) |
26 |
die("out of memory growing string"); |
27 |
- safe_strncpy((*dest)+ndest, source, ndest + nsource + 1); |
28 |
+ safe_strncpy((*dest)+ndest, source, nsource + 1); |
29 |
} |
30 |
|
31 |
static inline int local_isprint(int c) |