projects
/
pve-access-control.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
296afbd
)
fix access of possibly undefined variable
author
Wolfgang Bumiller
<w.bumiller@proxmox.com>
Fri, 7 Aug 2015 07:49:53 +0000
(09:49 +0200)
committer
Dietmar Maurer
<dietmar@proxmox.com>
Fri, 7 Aug 2015 09:58:47 +0000
(11:58 +0200)
PVE/AccessControl.pm
patch
|
blob
|
blame
|
history
diff --git
a/PVE/AccessControl.pm
b/PVE/AccessControl.pm
index 955e143586017a63b3acdfa1590f17cafced6624..bfee816f05b59fb48b677148320044c466b4ad7a 100644
(file)
--- 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;