summary refs log tree commit diff stats
path: root/results/classifier/zero-shot/105/device/2714
blob: c8a8247ce5e594a0c94e9251fd3772a99747cae6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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.