summary refs log tree commit diff stats
path: root/results/classifier/deepseek-r1:14b/output/network/1840646
blob: ec16bd64e61b7bb1cfe1f4fd964b0fe4a81fb5d1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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) {