Comment 2 for bug 1092584

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.openstack.org/18485
Committed: http://github.com/openstack/glance/commit/f958b1eeaa58f0c4090185348d70632f81902e9c
Submitter: Jenkins
Branch: master

commit f958b1eeaa58f0c4090185348d70632f81902e9c
Author: Eoghan Glynn <email address hidden>
Date: Thu Dec 20 15:33:56 2012 +0000

    Verify size in addition to checksum of uploaded image

    Fixes bug 1092584

    Previously only the supplied checksum was verified against the actual
    checksum calculated by the backend store, with the image being killed
    on mismatch.

    Now we also similarly verify the supplied image size, if provided.

    Change-Id: I87fa3ff77715111f1095f3ebe64cd699776ec27e