summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchristopherm <christopherm@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-10 14:23:39 +0000
committerchristopherm <christopherm@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-10 14:23:39 +0000
commitca141c2d1088019d7b2a379a4e874b8b93b985dc (patch)
treeab75c5d1faecbc3abcc7b0e6f52bea0fec75bcdf
parent50bf16b3d0fb63f19f584d88c518c45afe5cd960 (diff)
fixing critical error in menu.pl, whitelisting was using wrong variable. This is a security problem!
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@198 4979c152-3d1c-0410-bac9-87ea11338e46
-rwxr-xr-xmenu.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/menu.pl b/menu.pl
index d42c44de..0146f5b0 100755
--- a/menu.pl
+++ b/menu.pl
@@ -109,7 +109,7 @@ map { $form->{$_} = $myconfig{$_} } qw(stylesheet timeout) unless ($form->{type}
$form->db_init(\%myconfig);
-if ($form{path} ne 'bin/lynx'){ $form{path} = 'bin/mozilla';}
+if ($form->{path} ne 'bin/lynx'){ $form->{path} = 'bin/mozilla';}
# did sysadmin lock us out
if (-f "$userspath/nologin") {