From: mkanat%bugzilla.org <> Date: Tue, 3 Feb 2009 09:58:46 +0000 (+0000) Subject: Bug 476594: [SECURITY] Calling srand() at startup time in mod_perl makes the same... X-Git-Tag: bugzilla-3.3.3~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2ae5f0c4657eacfb528430daef8981abdb9d3b5;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 e22a47afa6..5cd7755e83 100644 --- a/Bugzilla/Install/Localconfig.pm +++ b/Bugzilla/Install/Localconfig.pm @@ -188,7 +188,7 @@ EOT }, { name => 'site_wide_secret', - default => generate_random_password(256), + default => sub { generate_random_password(256) }, desc => <