summary refs log tree commit diff stats
path: root/results/classifier/deepseek-2/output/other/2648
diff options
context:
space:
mode:
Diffstat (limited to 'results/classifier/deepseek-2/output/other/2648')
-rw-r--r--results/classifier/deepseek-2/output/other/264812
1 files changed, 12 insertions, 0 deletions
diff --git a/results/classifier/deepseek-2/output/other/2648 b/results/classifier/deepseek-2/output/other/2648
new file mode 100644
index 000000000..06a152b7c
--- /dev/null
+++ b/results/classifier/deepseek-2/output/other/2648
@@ -0,0 +1,12 @@
+
+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.