summary refs log tree commit diff stats
path: root/results/classifier/zero-shot/108/other/2714
blob: b1f36d2a931373950a64390bc53e3a53b0003e1c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
device: 0.838
graphic: 0.790
network: 0.765
files: 0.700
other: 0.677
vnc: 0.634
socket: 0.610
PID: 0.547
debug: 0.473
semantic: 0.431
boot: 0.425
permissions: 0.405
performance: 0.223
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.