Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 146051 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]
corrected patch for libapache.sh
libapache.sh.patch (text/plain), 1.13 KB, created by
Michał Bartoszkiewicz
on 2008-03-13 17:43:52 UTC
(
hide
)
Description:
corrected patch for libapache.sh
Filename:
MIME Type:
Creator:
Michał Bartoszkiewicz
Created:
2008-03-13 17:43:52 UTC
Size:
1.13 KB
patch
obsolete
>--- /usr/share/php-select/libapache.sh.orig 2007-07-15 20:05:30.000000000 +0200 >+++ /usr/share/php-select/libapache.sh 2008-03-13 18:37:59.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 | tr '[:upper:]' '[:lower:]' )" > 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 | tr '[:upper:]' '[:lower:]' )" > 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