On 09.01.20 20:13, Alberto Garcia wrote: > The L1 table is read from disk using the byte-based bdrv_pread() and > is never accessed beyond its last element, so there's no need to > allocate more memory than that. > > Signed-off-by: Alberto Garcia <be...@igalia.com> > --- > block/qcow2-cluster.c | 5 ++--- > block/qcow2-refcount.c | 2 +- > block/qcow2-snapshot.c | 3 +-- > block/qcow2.c | 2 +- > 4 files changed, 5 insertions(+), 7 deletions(-)
Reviewed-by: Max Reitz <mre...@redhat.com>
signature.asc
Description: OpenPGP digital signature