mirror of
https://github.com/rsyslog/loganalyzer.git
synced 2025-09-25 10:57:52 +02:00
Changed intval() handling in details.php into is_numeric.
This fixes problems with 64 Bit unsigned uid's. Fixes bugid 345: http://bugzilla.adiscon.com/show_bug.cgi?id=345
This commit is contained in:
parent
0c9bd09097
commit
8ea4cd7f08
@ -1,4 +1,9 @@
|
||||
---------------------------------------------------------------------------
|
||||
Version 3.5.6 (beta), 2012-??-??
|
||||
- bugfix: Changed intval() handling in details.php into is_numeric.
|
||||
This fixes problems with 64 Bit unsigned uid's.
|
||||
Fixes #bugid 345: http://bugzilla.adiscon.com/show_bug.cgi?id=345
|
||||
---------------------------------------------------------------------------
|
||||
Version 3.5.5 (beta), 2012-06-19
|
||||
- Merged security fixes into beta branch
|
||||
---------------------------------------------------------------------------
|
||||
|
@ -60,7 +60,13 @@ InitFilterHelpers(); // Helpers for frontend filtering!
|
||||
|
||||
// --- CONTENT Vars
|
||||
if ( isset($_GET['uid']) )
|
||||
$content['uid_current'] = intval($_GET['uid']);
|
||||
{
|
||||
// Now check by numeric as uid can be larger than INT values
|
||||
if ( is_numeric($_GET['uid']) )
|
||||
$content['uid_current'] = $_GET['uid'];
|
||||
else
|
||||
$content['uid_current'] = UID_UNKNOWN;
|
||||
}
|
||||
else
|
||||
$content['uid_current'] = UID_UNKNOWN;
|
||||
|
||||
@ -351,11 +357,6 @@ if ( isset($content['Sources'][$currentSourceID]) ) // && $content['uid_current'
|
||||
else
|
||||
$content['main_pager_last_found'] = false;
|
||||
}
|
||||
|
||||
//echo $content['uid_fromgetrequest'] . "!<br>";
|
||||
//echo $uID . "!" . $ret . "<br>";
|
||||
//echo $content['uid_current'] ."==". $content['uid_last'] . "<br>";
|
||||
|
||||
}
|
||||
// ---
|
||||
|
||||
|
@ -66,7 +66,7 @@ $LANG_EN = "en"; // Used for fallback
|
||||
$LANG = "en"; // Default language
|
||||
|
||||
// Default Template vars
|
||||
$content['BUILDNUMBER'] = "3.5.5";
|
||||
$content['BUILDNUMBER'] = "3.5.6";
|
||||
$content['UPDATEURL'] = "http://loganalyzer.adiscon.com/files/version.txt";
|
||||
$content['TITLE'] = "Adiscon LogAnalyzer :: Release " . $content['BUILDNUMBER']; // Default page title
|
||||
$content['BASEPATH'] = $gl_root_path;
|
||||
|
Loading…
x
Reference in New Issue
Block a user