Updates to v1: - fix whitespace [Berto] - fix g_try_malloc usage [Berto, Kevin] - improve comments [Berto, Kevin] - add a patch to avoid overflow on 512TB images with 2M clusters
Eric Blake (3): qcow2: Prefer byte-based calls into bs->file qcow2: Don't allow overflow during cluster allocation qcow2: Avoid memory over-allocation on compressed images block/qcow2.h | 6 ++++++ block/qcow2-cluster.c | 32 ++++++++++++++++++++------------ block/qcow2-refcount.c | 26 ++++++++++++++++---------- block/qcow2.c | 2 +- 4 files changed, 43 insertions(+), 23 deletions(-) -- 2.14.3