]> git.proxmox.com Git - pve-cluster.git/commit
fix tainted input in backup_cfs_database
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 12 Mar 2018 08:26:27 +0000 (09:26 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 13 Mar 2018 11:34:43 +0000 (12:34 +0100)
commitee0daa88c4d2b7c9d8e3490f2bd9f5c36a08dd97
tree59ef26f5353e19f43639b1edce4ee41e34ef48dd
parenta99653585290de5d61144450014bf28b8dd7f6d4
fix tainted input in backup_cfs_database

We can call this module also now over the API through
pvedaemon/pveproxy which have tainting checks on.

Thus we need to untaint the "read existing backups" inputs,
as else this errors out here.

Only triggers when over 10 backups existed already, so this does
not triggers really often in the real world.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
data/PVE/Cluster.pm