diff options
Diffstat (limited to 'results/classifier/deepseek-1/output/other/1840646')
| -rw-r--r-- | results/classifier/deepseek-1/output/other/1840646 | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/results/classifier/deepseek-1/output/other/1840646 b/results/classifier/deepseek-1/output/other/1840646 new file mode 100644 index 000000000..7e4faae61 --- /dev/null +++ b/results/classifier/deepseek-1/output/other/1840646 @@ -0,0 +1,19 @@ + +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.) + + |