summary refs log tree commit diff stats
path: root/results/classifier/zero-shot/108/none/2648
blob: 8a66b8aec0c91cd3b75973a5ced8000b1e7cbdba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
graphic: 0.580
device: 0.525
semantic: 0.439
network: 0.342
vnc: 0.315
performance: 0.295
other: 0.132
debug: 0.124
boot: 0.121
socket: 0.111
KVM: 0.084
permissions: 0.056
files: 0.056
PID: 0.041

Possible dereference of NULL in block/qapi.c
Description of problem:
qdict_get can return NULL if the "data" key is not found in the obj dictionary. Then if NULL is passed to the qobject_is_empty_dump function, it will be dereferenced when calling the qobject_type function.

https://github.com/qemu/qemu/blob/92ec7805190313c9e628f8fc4eb4f932c15247bd/block/qapi.c#L891-L892

I think that data check for NULL should be added.

Found by Linux Verification Center (portal.linuxtesting.ru) with SVACE.

Author A. Burke.