[PATCH 0/2] Fix wrong copy of encryption 'usage' string

Ján Tomko jtomko at redhat.com
Thu Mar 19 17:14:31 UTC 2020


On a Thursday in 2020, Peter Krempa wrote:
>Copying the pointer caused double-free when clearing the domain object.
>
>Peter Krempa (2):
>  virSecretLookupDefCopy: Remove return value
>  virStorageEncryptionSecretCopy: Properly copy internals
>
> src/util/virsecret.c            | 3 +--
> src/util/virsecret.h            | 4 ++--
> src/util/virstorageencryption.c | 8 +++-----
> src/util/virstoragefile.c       | 3 +--
> 4 files changed, 7 insertions(+), 11 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200319/df7ffc8e/attachment-0001.sig>


More information about the libvir-list mailing list