Signed-off-by: Deepak Kathayat
---
block/gluster.c |2 +-
block/qcow.c |2 +-
block/sheepdog.c |8
block/vdi.c |2 +-
block/vhdx-log.c |2 +-
slirp/tftp.c |2 +-
6 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/block/gluster.c b/block
Signed-off-by: Deepak Kathayat
---
block/qcow2.h |1 -
1 file changed, 1 deletion(-)
diff --git a/block/qcow2.h b/block/qcow2.h
index 0b0eac8..25663d4 100644
--- a/block/qcow2.h
+++ b/block/qcow2.h
@@ -413,7 +413,6 @@ static inline uint64_t l2meta_cow_end(QCowL2Meta *m)
+ (m
Signed-off-by: Deepak Kathayat
---
The len variable is a signed integer whereas the backing file name
length in the image header is unsigned. Therefore, it may
overflow. Furthermore, backing file name length cannot be
zero. These two cases must be handled explicitly.
block/qcow2.c |5