]> git.ipfire.org Git - thirdparty/qemu.git/commit
crypto: fix builtin qcrypto_cipher_free
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 9 Jul 2015 14:52:48 +0000 (16:52 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 9 Jul 2015 14:53:45 +0000 (16:53 +0200)
commit4f4f6976d80614e2d81cea4385885876f24bb257
treea6f64e5e077d942def7e365d3a323a2e09afc967
parentd09a6fde1590ca3a45b608b6873a680f208dfeb5
crypto: fix builtin qcrypto_cipher_free

This was dereferencing a pointer before checking if it was NULL.

Reported-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reported-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
crypto/cipher-builtin.c