summary refs log tree commit diff stats
path: root/results/scraper/launchpad-without-comments/1840646
blob: eeb0c27162c5fbd0b320a0ec1f4a011f4fa5a5a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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) {