Reviewed: https://review.openstack.org/191871 Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=bc0549e08b010edb863d409d80114aa78d317a61 Submitter: Jenkins Branch: stable/icehouse
commit bc0549e08b010edb863d409d80114aa78d317a61 Author: Eric Harney <email address hidden> Date: Tue Mar 31 19:48:17 2015 -0400
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 (cherry picked from commit 9634b76ba5886d6c2f2128d550cb005dabf48213) Conflicts: cinder/tests/test_image_utils.py (backport to old tests) (cherry picked from commit d31c937c566005dedf41a60c6b5bd5e7b26f221b) Conflicts: cinder/tests/test_image_utils.py
Reviewed: https:/ /review. openstack. org/191871 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=bc0549e08b0 10edb863d409d80 114aa78d317a61
Committed: https:/
Submitter: Jenkins
Branch: stable/icehouse
commit bc0549e08b010ed b863d409d80114a a78d317a61
Author: Eric Harney <email address hidden>
Date: Tue Mar 31 19:48:17 2015 -0400
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 8444015712cfa08 c46848ebf78 c2f2128d550cb00 5dabf48213)
cinder/ tests/test_ image_utils. py (backport to old tests) edf41a60c6b5bd5 e7b26f221b)
cinder/ tests/test_ image_utils. py
Change-Id: Iab9718794e7f7e
(cherry picked from commit 9634b76ba5886d6
Conflicts:
(cherry picked from commit d31c937c566005d
Conflicts: