Re: [Qemu-devel] [PATCH 1/2] qed: check for header size overflow

2015-01-14 Thread Kevin Wolf
Am 12.01.2015 um 13:31 hat Stefan Hajnoczi geschrieben: > Header size is denoted in clusters. The maximum cluster size is 64 MB > but there is no limit on header size. Check for uint32_t overflow in > case the header size field has a whacky value. > > Signed-off-by: Stefan Hajnoczi > --- > blo

[Qemu-devel] [PATCH 1/2] qed: check for header size overflow

2015-01-12 Thread Stefan Hajnoczi
Header size is denoted in clusters. The maximum cluster size is 64 MB but there is no limit on header size. Check for uint32_t overflow in case the header size field has a whacky value. Signed-off-by: Stefan Hajnoczi --- block/qed.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/blo