]> git.proxmox.com Git - pve-storage.git/blobdiff - PVE/Storage/PBSPlugin.pm
file/volume size info: add actual errors to untaint messages
[pve-storage.git] / PVE / Storage / PBSPlugin.pm
index 19629eebbf6a2c22366531088dd5090aecdebe8f..bb1c3821fef6f90c9378a8a77940d73c69edcb47 100644 (file)
@@ -811,7 +811,7 @@ sub volume_size_info {
 
     my $size = 0;
     foreach my $info (@$data) {
-       if ($info->{size} && $info->{size} =~ /^(\d+)$/) {
+       if ($info->{size} && $info->{size} =~ /^(\d+)$/) { # untaints
            $size += $1;
        }
     }