]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
[SECURITY] Bug 312498: editparams.cgi doesn't check whether 'whinedays' and 'mostfreq...
authorlpsolit%gmail.com <>
Tue, 21 Feb 2006 07:40:56 +0000 (07:40 +0000)
committerlpsolit%gmail.com <>
Tue, 21 Feb 2006 07:40:56 +0000 (07:40 +0000)
defparams.pl

index 5f709c43ee3d402ea41607ce742e279052207f3b..f8e1776a7b14a2b2c2912fcfa6e1cb39733b90ae 100644 (file)
@@ -480,7 +480,8 @@ sub find_languages {
            'If you have a large database and this page takes a long time to ' .
            'load, try increasing this number.',
    type => 't',
-   default => '2'
+   default => '2',
+   checker => \&check_numeric
   },
 
   {
@@ -574,7 +575,8 @@ Configure bugmail: %urlbase%userprefs.cgi?tab=email
              state before our cronjob will whine at the owner.<br>
              Set to 0 to disable whining.},
    type => 't',
-   default => 7
+   default => 7,
+   checker => \&check_numeric
   },
 
   {