Blob Blame History Raw
Possible fix for CVE-2007-0095 in phpMyAdmin proposed by Robert Scheck <robert@fedoraproject.org>.
See the following links for further information:

 - http://nvd.nist.gov/nvd.cfm?cvename=CVE-2007-0095
 - https://bugzilla.redhat.com/show_bug.cgi?id=221694

--- phpMyAdmin/themes/darkblue_orange/layout.inc.php		2007-10-16 00:08:43.000000000 +0200
+++ phpMyAdmin/themes/darkblue_orange/layout.inc.php.rsc	2007-12-09 15:02:23.000000000 +0100
@@ -72,7 +72,10 @@
 // border
 $GLOBALS['cfg']['Border']               = 0;
 // table header and footer color
-$GLOBALS['cfg']['ThBackground']         = '#ff9900 url(' . $_SESSION['PMA_Theme']->getImgPath() . 'tbl_th.png) repeat-x top';
+if(isset($_SESSION['PMA_Theme']))
+  $GLOBALS['cfg']['ThBackground']       = '#ff9900 url(' . $_SESSION['PMA_Theme']->getImgPath() . 'tbl_th.png) repeat-x top';
+else
+  $GLOBALS['cfg']['ThBackground']       = '#ff9900';
 // table header and footer background
 $GLOBALS['cfg']['ThColor']              = '#000000';
 // table data row background