Package: php5-suhosin Version: 0.9.27-1 Severity: important Hello, the following script:
<?php mt_srand(2010); for($i=0;$i<10;$i++) echo mt_rand(0,10)."-"; ?> should output identical sequences on each run. But it gives different sequences in this setup: - lenny amd64 - php5-suhosin - suhosin.mt_srand.ignore=off The same problem is present using srand/rand instead of mt_srand/mt_rand with suhosin.srand.ignore=off. The script works fine on lenny i386. Best regards, Massimo Modica -- System Information: Debian Release: 5.0.4 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.18-5-xen-686 (SMP w/1 CPU core) Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/bash Versions of packages php5-suhosin depends on: ii libapache2-mod-php 5.2.6.dfsg.1-1+lenny8 server-side, HTML-embedded scripti ii libc6 2.7-18lenny2 GNU C Library: Shared libraries ii php5-cli [phpapi-2 5.2.6.dfsg.1-1+lenny8 command-line interpreter for the p php5-suhosin recommends no packages. php5-suhosin suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org