summary refs log tree commit diff stats
path: root/results/classifier/zero-shot/108/other/1840646
blob: 008e275d7d56d0c2f625229453afb3fd9350f46c (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
27
28
29
30
31
32
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.)