|
From: | Andrey Shinkevich |
Subject: | Re: [PATCH] block: Avoid memleak on qcow2 image info failure |
Date: | Mon, 23 Mar 2020 11:41:04 +0000 |
From: Eric Blake <address@hidden>
Sent: Friday, March 20, 2020 9:36 PM To: address@hidden <address@hidden> Cc: address@hidden <address@hidden>; Andrey Shinkevich <address@hidden>; Kevin Wolf <address@hidden>; Max Reitz <address@hidden>; open list:qcow2 <address@hidden> Subject: [PATCH] block: Avoid memleak on qcow2 image info failure 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 <address@hidden> --- Thank you Eric.
I have made a smoke test only without the crypto object instantiation.
Andrey
Reviewed-by: Andrey Shinkevich <address@hidden> Tested-by: Andrey Shinkevich <address@hidden> |
[Prev in Thread] | Current Thread | [Next in Thread] |