diff options
Diffstat (limited to 'results/scraper/launchpad/1840646')
| -rw-r--r-- | results/scraper/launchpad/1840646 | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/results/scraper/launchpad/1840646 b/results/scraper/launchpad/1840646 new file mode 100644 index 00000000..e2f12261 --- /dev/null +++ b/results/scraper/launchpad/1840646 @@ -0,0 +1,18 @@ +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.) + + |