mirror of
https://github.com/webmin/webmin.git
synced 2026-05-10 00:50:21 +01:00
Fix parsing in debug mode https://sourceforge.net/p/webadmin/bugs/4723/
This commit is contained in:
@@ -597,7 +597,7 @@ while(<PASS>) {
|
||||
chop;
|
||||
s/#.*$//g;
|
||||
local @b = split(/:/, $_);
|
||||
next if (@b < 4);
|
||||
next if (@b < 4 || $b[1] !~ /^\d+$/);
|
||||
local $u = { 'name' => $b[0], 'uid' => $b[1],
|
||||
'pass1' => $b[2], 'pass2' => $b[3],
|
||||
'oldname' => $b[0] };
|
||||
|
||||
Reference in New Issue
Block a user