diff options
Diffstat (limited to 'results/scraper/launchpad-without-comments/1840646')
| -rw-r--r-- | results/scraper/launchpad-without-comments/1840646 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/results/scraper/launchpad-without-comments/1840646 b/results/scraper/launchpad-without-comments/1840646 new file mode 100644 index 000000000..eeb0c2716 --- /dev/null +++ b/results/scraper/launchpad-without-comments/1840646 @@ -0,0 +1,11 @@ +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) { \ No newline at end of file |