diff options
| author | Christian Krinitsin <mail@krinitsin.com> | 2025-06-16 16:59:00 +0000 |
|---|---|---|
| committer | Christian Krinitsin <mail@krinitsin.com> | 2025-06-16 16:59:33 +0000 |
| commit | 9aba81d8eb048db908c94a3c40c25a5fde0caee6 (patch) | |
| tree | b765e7fb5e9a3c2143c68b0414e0055adb70e785 /results/classifier/118/device/2714 | |
| parent | b89a938452613061c0f1f23e710281cf5c83cb29 (diff) | |
| download | qemu-analysis-9aba81d8eb048db908c94a3c40c25a5fde0caee6.tar.gz qemu-analysis-9aba81d8eb048db908c94a3c40c25a5fde0caee6.zip | |
add 18th iteration of classifier
Diffstat (limited to 'results/classifier/118/device/2714')
| -rw-r--r-- | results/classifier/118/device/2714 | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/results/classifier/118/device/2714 b/results/classifier/118/device/2714 new file mode 100644 index 000000000..2373ee918 --- /dev/null +++ b/results/classifier/118/device/2714 @@ -0,0 +1,37 @@ +device: 0.838 +graphic: 0.790 +network: 0.765 +ppc: 0.731 +TCG: 0.730 +files: 0.700 +vnc: 0.634 +socket: 0.610 +architecture: 0.575 +register: 0.573 +VMM: 0.556 +PID: 0.547 +risc-v: 0.506 +debug: 0.473 +mistranslation: 0.471 +semantic: 0.431 +boot: 0.425 +permissions: 0.405 +i386: 0.400 +x86: 0.364 +arm: 0.350 +kernel: 0.326 +virtual: 0.312 +performance: 0.223 +user-level: 0.203 +hypervisor: 0.189 +assembly: 0.160 +peripherals: 0.121 +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. |