Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 143194 Details for
Bug 209535
app-admin/php-toolkit <1.0.1 php-select can lowercase APACHE2_OPTS="-D PHP5" (CVE-2008-1734)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
libapache.sh.patch
libapache.sh.patch (text/plain), 1.13 KB, created by
Jakub Moc (RETIRED)
on 2008-02-11 10:53:31 UTC
(
hide
)
Description:
libapache.sh.patch
Filename:
MIME Type:
Creator:
Jakub Moc (RETIRED)
Created:
2008-02-11 10:53:31 UTC
Size:
1.13 KB
patch
obsolete
>--- /usr/share/php-select/libapache.sh 2006-01-16 17:35:28.000000000 +0100 >+++ /usr/share/php-select/libapache.sh 2008-02-11 11:51:30.000000000 +0100 >@@ -36,7 +36,7 @@ > chooseApacheVersion () > { > # convert the PHP version to upper-case >- chosen=$( echo $1 | tr [a-z] [A-Z] ) >+ chosen=$( echo $1 | tr '[[:lower:]]' '[[:upper:]]' ) > > # make a list of the mod_php versions available > choices=( $(learnApacheMods $G_APACHE_MOD_DIR) ) >@@ -174,7 +174,7 @@ > # if we get here, then apache is configured for a mod_php ... > # is it one that is installed? > >- chosen="$( echo $chosen | tr [A-Z] [a-z] )" >+ chosen="$( echo $chosen | '[[:lower:]]' '[[:upper:]]' )" > for (( i = 0 ; i < ${#choices[@]} ; i = i + 1 )) ; do > if [[ ${choices[$i]} == $chosen ]] ; then > echo $chosen >@@ -209,7 +209,7 @@ > # if we get here, then apache is configured for a mod_php ... > # is it one that is installed? > >- chosen="$( echo $chosen | tr [A-Z] [a-z] )" >+ chosen="$( echo $chosen | '[[:lower:]]' '[[:upper:]]' )" > for (( i = 0 ; i < ${#choices[@]} ; i = i + 1 )) ; do > if [[ ${choices[$i]} == $chosen ]] ; then > # we have one installed; but is it what we want?
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 209535
:
143120
|
143124
| 143194 |
146051