adding changelog, fixing srand() not properly called by php itself

This commit is contained in:
Benjamin Sonntag 2014-11-25 11:38:55 +01:00
parent 3bb921e5e7
commit 0301409dbf
3 changed files with 17 additions and 6 deletions

View File

@ -40,8 +40,8 @@ session_name('AlternC_Panel');
session_start();
/*
Si vous voulez mettre le bureau en maintenance, d<EFBFBD>commentez le code ci-dessous
et mettez votre ip dans le IF pour que seule votre ip puisse acc<EFBFBD>der au bureau :
Si vous voulez mettre le bureau en maintenance, decommentez le code ci-dessous
et mettez votre ip dans le IF pour que seule votre ip puisse acceder au bureau :
*/
/* * /
@ -72,6 +72,9 @@ if (!empty($_SERVER['PHP_AUTH_USER']) && !empty($_SERVER['PHP_AUTH_PW'])) {
$_REQUEST["password"]=$_SERVER['PHP_AUTH_PW'];
}
// proper srand (not using time(), which is what PHP does!)
list($usec, $sec) = explode(" ", microtime());
srand($usec*1000000);
$help_baseurl="http://www.aide-alternc.org/";

8
debian/changelog vendored
View File

@ -1,3 +1,11 @@
alternc (3.1.3) oldstable; urgency=low
* fix opendkim listening on *
* fix a probable privilege escalation in cron management
* fix a random number generation issue in PHP (rand automatically initialized by time(), not better!)
-- Benjamin Sonntag <benjamin@sonntag.fr> Mon, 24 Nov 2014 11:17:12 +0100
alternc (3.1.2) oldstable; urgency=low
* fix a bug when installing (doing patches from 3.1~rc)

View File

@ -1,13 +1,13 @@
--- changelog 2014-06-24 13:42:50.234304438 +0200
+++ changelog.wheezy 2014-06-24 13:43:51.978313552 +0200
@@ -1,3 +1,10 @@
+alternc (3.2.2) stable; urgency=low
+alternc (3.2.3) stable; urgency=low
+
+ * Version identical to 3.1 for Squeeze
+ * Includes a small dovecot patch / dependency for dovecot 2.0 for Wheezy
+
+ -- Benjamin Sonntag <benjamin@sonntag.fr> Thu, 28 Mar 2014 18:19:00 +0200
+ -- Benjamin Sonntag <benjamin@sonntag.fr> Thu, 25 Nov 2014 18:19:00 +0100
+
alternc (3.1.2) oldstable; urgency=low
alternc (3.1.3) oldstable; urgency=low
* fix a bug when installing (doing patches from 3.1~rc)
* fix opendkim listening on *