Task #368 - dmidecode-3.6-1.fc41/scan-results.err
back to task #368download
Error: CPPCHECK_WARNING: dmidecode-3.6-build/dmidecode-3.6/biosdecode.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: dmidecode-3.6-build/dmidecode-3.6/dmidecode.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING (CWE-758): dmidecode-3.6-build/dmidecode-3.6/dmidecode.c:403: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour # 401| # 402| for (i = 4; i <= 31; i++) # 403|-> if (code.l & (1 << i)) # 404| pr_list_item("%s", characteristics[i - 3]); # 405| } Error: CLANG_WARNING: dmidecode-3.6-build/dmidecode-3.6/dmidecode.c:3358:3: warning[deadcode.DeadStores]: Value stored to 'off' is never read # 3356| off += sprintf(time + off, ":*"); # 3357| if (dmi_bcd_range(p[4], 0x00, 0x59)) # 3358|-> off += sprintf(time + off, ":%02X", p[4]); # 3359| else # 3360| off += sprintf(time + off, ":*"); Error: CLANG_WARNING: dmidecode-3.6-build/dmidecode-3.6/dmidecode.c:3360:3: warning[deadcode.DeadStores]: Value stored to 'off' is never read # 3358| off += sprintf(time + off, ":%02X", p[4]); # 3359| else # 3360|-> off += sprintf(time + off, ":*"); # 3361| # 3362| pr_attr("Next Scheduled Power-on", time); Error: CPPCHECK_WARNING: dmidecode-3.6-build/dmidecode-3.6/dmioem.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: dmidecode-3.6-build/dmidecode-3.6/ownership.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: dmidecode-3.6-build/dmidecode-3.6/vpddecode.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.