diff options
Diffstat (limited to 'gitlab/issues_text/target_missing/host_missing/accel_missing/2714')
| -rw-r--r-- | gitlab/issues_text/target_missing/host_missing/accel_missing/2714 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gitlab/issues_text/target_missing/host_missing/accel_missing/2714 b/gitlab/issues_text/target_missing/host_missing/accel_missing/2714 new file mode 100644 index 000000000..7c04645cf --- /dev/null +++ b/gitlab/issues_text/target_missing/host_missing/accel_missing/2714 @@ -0,0 +1,7 @@ +Potential memory leak in virtio-crytpto +Description of problem: +There is a potential memory leak while using virtio-crypto with vhost-user backend. + +The problem is due to misuse of error_setg in [backends/cryptodev-vhost-user.c#L284](https://gitlab.com/qemu-project/qemu/-/blob/master/backends/cryptodev-vhost-user.c#L284). After invoking error_setg(&local_error, ...), current procedure should not return without freeing err object pointed by local_error. + +The same problem occured in cryptodev-builtin, which has been discussed in #2283 and fixed in f6abce29cc4afa0445cb3b29a265a114ac9fa744. The same fixes should be applied to cryptodev-vhost-user. |