From d6eb66211950cf1f9d6cc832a4dfe74a91443fe8 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Fri, 7 Aug 2015 09:49:53 +0200 Subject: [PATCH] fix access of possibly undefined variable --- PVE/AccessControl.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/PVE/AccessControl.pm b/PVE/AccessControl.pm index 955e143..bfee816 100644 --- a/PVE/AccessControl.pm +++ b/PVE/AccessControl.pm @@ -708,6 +708,7 @@ sub parse_user_config { userconfig_force_defaults($cfg); + $raw = '' if !defined($raw); while ($raw =~ /^\s*(.+?)\s*$/gm) { my $line = $1; my @data; -- 2.39.2