]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Disallow backing files when uploading volumes to image
authorEric Harney <eharney@redhat.com>
Tue, 31 Mar 2015 23:48:17 +0000 (19:48 -0400)
committerEric Harney <eharney@redhat.com>
Mon, 15 Jun 2015 15:33:27 +0000 (11:33 -0400)
commitb1143ee45323e63b965a3710f9063e65b252c978
tree14c927aaa87fd296b24c341483b040aa52d985c0
parent3cd5f2cfd919b9e13946ef7c072954bd96ab15f1
Disallow backing files when uploading volumes to image

Volumes with a header referencing a backing file can leak
file data into the destination image when uploading a
volume to an image.

Halt the upload process if the volume data references a
backing file to prevent this.

Closes-Bug: #1415087
Change-Id: Iab9718794e7f7e8444015712cfa08c46848ebf78
cinder/image/image_utils.py
cinder/tests/unit/test_image_utils.py