glance/glance/async_/flows/_internal_plugins
Abhishek Kekane 72510f9ce9 Fix: Interrupted copy-image leaking data on subsequent operation
If copying existing image in other stores fails while staging the data to
staging directory due to power, network or any other reason. Then
subsequent try may lead to data leaks in stores.

To fix this, added check of the actual image size with the size
of image file present in the staging area. If it does not match
then delete the image file from staging area so that the entire
image will be staged again.

Change-Id: I44bfefb6eee421e18e5e95a0dafaef0ea4e170da
Closes-Bug: #1885003
(cherry picked from commit 22d8f1fcbf)
2020-07-06 05:43:06 +00:00
..
__init__.py Rename async package to async_ 2018-08-07 14:42:14 -04:00
copy_image.py Fix: Interrupted copy-image leaking data on subsequent operation 2020-07-06 05:43:06 +00:00
web_download.py Rethinking filesystem access 2019-10-01 09:53:48 +00:00