From: mkanat%bugzilla.org <> Date: Tue, 3 Feb 2009 10:00:14 +0000 (+0000) Subject: Bug 476594: [SECURITY] Calling srand() at startup time in mod_perl makes the same... X-Git-Tag: bugzilla-3.0.8~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3906734d17f6457e979ee92372724c6f4bc1bd4a;p=thirdparty%2Fbugzilla.git Bug 476594: [SECURITY] Calling srand() at startup time in mod_perl makes the same token be generated over and over Patch By Max Kanat-Alexander r=justdave, a=mkanat --- diff --git a/Bugzilla/Install/Localconfig.pm b/Bugzilla/Install/Localconfig.pm index ce94f5b838..041e7a05ab 100644 --- a/Bugzilla/Install/Localconfig.pm +++ b/Bugzilla/Install/Localconfig.pm @@ -186,7 +186,7 @@ EOT }, { name => 'site_wide_secret', - default => generate_random_password(256), + default => sub { generate_random_password(256) }, desc => <