diff options
Diffstat (limited to 'www/phpsysinfo-dev/files')
-rw-r--r-- | www/phpsysinfo-dev/files/patch-pre5.2.1-segfault.diff | 11 | ||||
-rw-r--r-- | www/phpsysinfo-dev/files/patch-xss-fix.diff | 11 |
2 files changed, 0 insertions, 22 deletions
diff --git a/www/phpsysinfo-dev/files/patch-pre5.2.1-segfault.diff b/www/phpsysinfo-dev/files/patch-pre5.2.1-segfault.diff deleted file mode 100644 index f3282fd26c3e..000000000000 --- a/www/phpsysinfo-dev/files/patch-pre5.2.1-segfault.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- includes/xml/filesystems.php.orig -+++ includes/xml/filesystems.php -@@ -85,7 +85,7 @@ - . " <td align=\"" . $textdir['right'] . "\" valign=\"top\"><font size=\"-1\"><b>" . $text['size'] . "</b></font></td>\n </tr>\n"; - for( $i = 1, $max = sizeof( $XPath->getDataParts( "/phpsysinfo/FileSystem" ) ); $i < $max; $i++ ) { - if( $XPath->match( "/phpsysinfo/FileSystem/Mount[" . $i . "]/MountPointID" ) ) { -- if( ! $XPath->match( "/phpsysinfo/FileSystem/Mount[" . $i . "]/Options" ) || ! stristr( $XPath->getData( "/phpsysinfo/FileSystem/Mount[" . $i . "]/Options" ), "bind" ) ) { -+ if( ! $XPath->match( "/phpsysinfo/FileSystem/Mount[" . $i . "]/Options" ) ) { - if( ! in_array( $XPath->getData( "/phpsysinfo/FileSystem/Mount[" . $i . "]/Device/Name" ), $arrCounteddevlist ) ) { - $arrSum['size'] += $XPath->getData( "/phpsysinfo/FileSystem/Mount[" . $i . "]/Size" ); - $arrSum['used'] += $XPath->getData( "/phpsysinfo/FileSystem/Mount[" . $i . "]/Used" ); diff --git a/www/phpsysinfo-dev/files/patch-xss-fix.diff b/www/phpsysinfo-dev/files/patch-xss-fix.diff deleted file mode 100644 index 4f525c29253b..000000000000 --- a/www/phpsysinfo-dev/files/patch-xss-fix.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- includes/system_footer.php.orig Tue Jul 31 10:35:50 2007 -+++ includes/system_footer.php Tue Jul 31 10:35:52 2007 -@@ -29,7 +29,7 @@ - - if( ! $hide_picklist ) { - echo "<center>\n"; -- $update_form = "<form method=\"POST\" action=\"" . $_SERVER['PHP_SELF'] . "\">\n" . "\t" . $text['template'] . ": \n" . "\t<select name=\"template\">\n"; -+ $update_form = "<form method=\"POST\" action=\"" . htmlentities(strip_tags($_SERVER['PHP_SELF'])) . "\">\n" . "\t" . $text['template'] . ": \n" . "\t<select name=\"template\">\n"; - - $resDir = opendir( APP_ROOT . '/templates/' ); - while( false !== ( $strFile = readdir( $resDir ) ) ) { |