diff options
Diffstat (limited to 'results/classifier/108/other/2030')
| -rw-r--r-- | results/classifier/108/other/2030 | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/results/classifier/108/other/2030 b/results/classifier/108/other/2030 new file mode 100644 index 000000000..b9ac9fde2 --- /dev/null +++ b/results/classifier/108/other/2030 @@ -0,0 +1,32 @@ +graphic: 0.872 +performance: 0.736 +files: 0.714 +network: 0.650 +device: 0.641 +vnc: 0.538 +semantic: 0.485 +socket: 0.480 +other: 0.444 +PID: 0.389 +boot: 0.361 +KVM: 0.225 +debug: 0.203 +permissions: 0.145 + +Unreachable code +Description of problem: +There is always a false condition in the function `alloc_code_gen_buffer_splitwx_memfd` in the file `tcg/region.c`. If `buf_rw == NULL` we go to the mark __fail__: + +https://gitlab.com/qemu-project/qemu/-/blob/master/tcg/region.c?ref_type=heads#L580-L583 + +But the value of `buf_rx` is __`MAP_FAILED`__: + +https://gitlab.com/qemu-project/qemu/-/blob/master/tcg/region.c?ref_type=heads#L577 + +And this line will never be reached: + +https://gitlab.com/qemu-project/qemu/-/blob/master/tcg/region.c?ref_type=heads#L601 + +Found by Linux Verification Center (portal.linuxtesting.ru) with SVACE. + +Author A. Voronin. |