Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 211057 Details for
Bug 294106
<media-sound/mpg123-1.9.2 uses libtool in a insecure way
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Libtool-2.2.6b compatibility patch from http://www.mpg123.org/cgi-bin/viewvc.cgi/trunk/src/module.c?r1=2377&r2=2446&sortby=date
mpg123-libtool.patch (text/plain), 891 bytes, created by
Shark
on 2009-11-24 12:06:48 UTC
(
hide
)
Description:
Libtool-2.2.6b compatibility patch from http://www.mpg123.org/cgi-bin/viewvc.cgi/trunk/src/module.c?r1=2377&r2=2446&sortby=date
Filename:
MIME Type:
Creator:
Shark
Created:
2009-11-24 12:06:48 UTC
Size:
891 bytes
patch
obsolete
>--- trunk/src/module.c 2009/11/23 10:13:14 2445 >+++ trunk/src/module.c 2009/11/23 10:42:10 2446 >@@ -123,13 +123,14 @@ > goto om_bad; > } > /* Work out the path of the module to open */ >- module_path_len = strlen(type) + 1 + strlen(name) + strlen(MODULE_FILE_SUFFIX) + 1; >+ /* Note that we need to open ./file, not just file! */ >+ module_path_len = 2 + strlen(type) + 1 + strlen(name) + strlen(MODULE_FILE_SUFFIX) + 1; > module_path = malloc( module_path_len ); > if (module_path == NULL) { > error1( "Failed to allocate memory for module name: %s", strerror(errno) ); > goto om_bad; > } >- snprintf( module_path, module_path_len, "%s_%s%s", type, name, MODULE_FILE_SUFFIX ); >+ snprintf( module_path, module_path_len, "./%s_%s%s", type, name, MODULE_FILE_SUFFIX ); > /* Display the path of the module created */ > if(param.verbose > 1) fprintf(stderr, "Module path: %s\n", module_path ); >
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 294106
:
211056
| 211057