diff options
Diffstat (limited to 'results/classifier/108/other/1840646')
| -rw-r--r-- | results/classifier/108/other/1840646 | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/results/classifier/108/other/1840646 b/results/classifier/108/other/1840646 new file mode 100644 index 000000000..008e275d7 --- /dev/null +++ b/results/classifier/108/other/1840646 @@ -0,0 +1,33 @@ +other: 0.822 +network: 0.767 +graphic: 0.676 +device: 0.655 +socket: 0.620 +semantic: 0.430 +performance: 0.317 +PID: 0.250 +debug: 0.249 +vnc: 0.238 +files: 0.220 +boot: 0.118 +permissions: 0.076 +KVM: 0.020 + +qemu-4.1.0/roms/SLOF/lib/libnet/ping.c:122: logical fault + +qemu-4.1.0/roms/SLOF/lib/libnet/ping.c:122:16: warning: Logical conjunction always evaluates to false: alen <= 0 && alen >= sizeof(args) - 1. [incorrectLogicOperator] + +Source code is + + if (alen <= 0 && alen >= sizeof(args) - 1) { + +Maybe better code: + + if (alen <= 0 || alen >= sizeof(args) - 1) { + +This isn't QEMU code -- it's just the source for third-party ROMs that we ship with QEMU because we also ship the ROM binaries. Please report it to the upstream project. + + +(Anything in a git submodule will be third-party code that's not part of QEMU.) + + |