mirror of
git://git.proxmox.com/git/pve-storage.git
synced 2025-02-25 17:57:31 +03:00
this allows checking some extra attributes for images which come from a potentially malicious source. since file_size_info is not part of the plugin API, no API bump is needed. if desired, a similar check could also be implemented in volume_size_info, which would entail bumping both APIVER and APIAGE (since the additional parameter would make checking untrusted volumes opt-in for external plugins). Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com> Reviewed-by: Fiona Ebner <f.ebner@proxmox.com> Tested-by: Fiona Ebner <f.ebner@proxmox.com> Reviewed-by: Dominik Csapak <d.csapak@proxmox.com> Tested-by: Dominik Csapak <d.csapak@proxmox.com>