Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 408620 Details for
Bug 557132
media-sound/mpg321 fails to build with -Werror=format-security
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
mpg321-0.3.1-format-security.patch
mpg321-0.3.1-format-security.patch (text/plain), 1.20 KB, created by
René Rhéaume
on 2015-08-09 13:23:08 UTC
(
hide
)
Description:
mpg321-0.3.1-format-security.patch
Filename:
MIME Type:
Creator:
René Rhéaume
Created:
2015-08-09 13:23:08 UTC
Size:
1.20 KB
patch
obsolete
>--- mpg321-0.3.1-orig/mpg321.c >+++ mpg321-0.3.1-format-security/mpg321.c >@@ -183,7 +183,7 @@ void *read_keyb(void *ptr) > else{ > #endif > if(!(options.opt & MPG321_ENABLE_BUFFER)) >- fprintf(stdout,"Volume: %ld%% \r",volume); >+ fprintf(stdout,"Volume: %d%% \r",volume); > #ifdef HAVE_ALSA > } > #endif >@@ -233,7 +233,7 @@ void *read_keyb(void *ptr) > else{ > #endif > if(!(options.opt & MPG321_ENABLE_BUFFER)) >- fprintf(stdout,"Volume: %ld%% \r",volume); >+ fprintf(stdout,"Volume: %d%% \r",volume); > #ifdef HAVE_ALSA > } > #endif >@@ -447,7 +447,7 @@ static int show_id3(struct id3_tag const > { > if(!names[i]) > { >- printf(emptystring); >+ printf("%s", emptystring); > } > > else >@@ -465,7 +465,7 @@ static int show_id3(struct id3_tag const > for (i=0; i<=5; i++) { > fprintf (stderr, "%s", info_id3[i].name); > if (!names[i]) { >- fprintf (stderr, emptystring); >+ fprintf (stderr, "%s", emptystring); > } else { > fprintf (stderr, "%s", names[i]); > free (names[i]);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 557132
: 408620 |
408622