diff options
Diffstat (limited to 'results/classifier/105/device/2714')
| -rw-r--r-- | results/classifier/105/device/2714 | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/results/classifier/105/device/2714 b/results/classifier/105/device/2714 new file mode 100644 index 00000000..c8a8247c --- /dev/null +++ b/results/classifier/105/device/2714 @@ -0,0 +1,20 @@ +device: 0.838 +graphic: 0.790 +network: 0.765 +instruction: 0.704 +other: 0.677 +vnc: 0.634 +socket: 0.610 +mistranslation: 0.471 +semantic: 0.431 +boot: 0.425 +assembly: 0.160 +KVM: 0.070 + +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. |