Re: [PATCH] block: Avoid memleak on qcow2 image info failure

2020-03-23 Thread Max Reitz
On 20.03.20 19:36, Eric Blake wrote: > If we fail to get bitmap info, we must not leak the encryption info. > > Fixes: b8968c875f403 > Fixes: Coverity CID 1421894 > Signed-off-by: Eric Blake > --- > block/qcow2.c | 1 + > 1 file changed, 1 insertion(+) Thanks, applied to my block branch: https

Re: [PATCH] block: Avoid memleak on qcow2 image info failure

2020-03-23 Thread Andrey Shinkevich
From: Eric Blake Sent: Friday, March 20, 2020 9:36 PM To: qemu-devel@nongnu.org Cc: peter.mayd...@linaro.org ; Andrey Shinkevich ; Kevin Wolf ; Max Reitz ; open list:qcow2 Subject: [PATCH] block: Avoid memleak on qcow2 image info failure If we fail to get

Re: [PATCH] block: Avoid memleak on qcow2 image info failure

2020-03-22 Thread Vladimir Sementsov-Ogievskiy
20.03.2020 21:36, Eric Blake wrote: If we fail to get bitmap info, we must not leak the encryption info. Fixes: b8968c875f403 Fixes: Coverity CID 1421894 Signed-off-by: Eric Blake --- block/qcow2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/block/qcow2.c b/block/qcow2.c index d44b45

[PATCH] block: Avoid memleak on qcow2 image info failure

2020-03-20 Thread Eric Blake
If we fail to get bitmap info, we must not leak the encryption info. Fixes: b8968c875f403 Fixes: Coverity CID 1421894 Signed-off-by: Eric Blake --- block/qcow2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/block/qcow2.c b/block/qcow2.c index d44b45633dbb..e08917ed8462 100644 --- a/block/