ethtool-6.9-1.fc41
List of Defects
Error: CPPCHECK_WARNING (CWE-758): [#def1]
ethtool-6.9-build/ethtool-6.9/amd8111e.c:78: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 76| typedef enum {
# 77|
# 78|-> INTR = (1 << 31),
# 79| PCSINT = (1 << 28),
# 80| LCINT = (1 << 27),
Error: CPPCHECK_WARNING: [#def2]
ethtool-6.9-build/ethtool-6.9/bnxt.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def3]
ethtool-6.9-build/ethtool-6.9/cmis.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def4]
ethtool-6.9-build/ethtool-6.9/cmis.c:528:22: warning[core.NullDereference]: Array access results in a null pointer dereference
# 526| struct sff_diags *sd)
# 527| {
# 528|-> sd->rx_power_type = map->page_01h[CMIS_DIAG_TYPE_OFFSET] &
# 529| CMIS_RX_PWR_TYPE_MASK;
# 530| sd->tx_power_type = map->page_01h[CMIS_DIAG_CHAN_ADVER_OFFSET] &
Error: CPPCHECK_WARNING: [#def5]
ethtool-6.9-build/ethtool-6.9/common.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def6]
ethtool-6.9-build/ethtool-6.9/common.c:207:21: warning[core.NullDereference]: Array access (from variable 'hkey') results in a null pointer dereference
# 205| for (i = 0; i < hkey_size; i++) {
# 206| if (i == (hkey_size - 1))
# 207|-> printf("%02x\n", hkey[i]);
# 208| else
# 209| printf("%02x:", hkey[i]);
Error: CLANG_WARNING: [#def7]
ethtool-6.9-build/ethtool-6.9/common.c:209:20: warning[core.NullDereference]: Array access (from variable 'hkey') results in a null pointer dereference
# 207| printf("%02x\n", hkey[i]);
# 208| else
# 209|-> printf("%02x:", hkey[i]);
# 210| }
# 211| }
Error: CPPCHECK_WARNING (CWE-758): [#def8]
ethtool-6.9-build/ethtool-6.9/de2104x.c:528: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 526| ,
# 527| v,
# 528|-> v & (1<<31) ? " Special capture effect enabled\n" : "",
# 529| v & (1<<17) ? " Capture effect enabled\n" : "",
# 530| csr6_tx_thresh[(v >> 14) & 3],
Error: CPPCHECK_WARNING: [#def9]
ethtool-6.9-build/ethtool-6.9/dsa.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def10]
ethtool-6.9-build/ethtool-6.9/e1000.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def11]
ethtool-6.9-build/ethtool-6.9/ethtool.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-758): [#def12]
ethtool-6.9-build/ethtool-6.9/ethtool.c:1041: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1039| break;
# 1040| case 'r':
# 1041|-> *data |= RXH_DISCARD;
# 1042| break;
# 1043| default:
Error: CPPCHECK_WARNING (CWE-758): [#def13]
ethtool-6.9-build/ethtool-6.9/ethtool.c:1650: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1648| }
# 1649|
# 1650|-> if (val & RXH_DISCARD) {
# 1651| fprintf(stdout, " - All matching flows discarded on RX\n");
# 1652| return 0;
Error: CPPCHECK_WARNING (CWE-457): [#def14]
ethtool-6.9-build/ethtool-6.9/ethtool.c:5301: error[uninitvar]: Uninitialized variable: cont.count
# 5299| return 87;
# 5300| }
# 5301|-> if (cont.count)
# 5302| fprintf(stdout, "Downshift count: %d\n", cont.count);
# 5303| else
Error: CPPCHECK_WARNING (CWE-457): [#def15]
ethtool-6.9-build/ethtool-6.9/ethtool.c:5320: error[uninitvar]: Uninitialized variable: cont.msecs
# 5318| }
# 5319|
# 5320|-> if (cont.msecs == ETHTOOL_PHY_FAST_LINK_DOWN_ON)
# 5321| fprintf(stdout, "Fast Link Down enabled\n");
# 5322| else if (cont.msecs == ETHTOOL_PHY_FAST_LINK_DOWN_OFF)
Error: CPPCHECK_WARNING (CWE-457): [#def16]
ethtool-6.9-build/ethtool-6.9/ethtool.c:5342: error[uninitvar]: Uninitialized variable: cont.msecs
# 5340| }
# 5341|
# 5342|-> if (cont.msecs == ETHTOOL_PHY_EDPD_DISABLE)
# 5343| fprintf(stdout, "Energy Detect Power Down: disabled\n");
# 5344| else if (cont.msecs == ETHTOOL_PHY_EDPD_NO_TX)
Error: CLANG_WARNING: [#def17]
ethtool-6.9-build/ethtool-6.9/ethtool.c:6570:9: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
# 6568| return ret;
# 6569|
# 6570|-> return args[k].func(&ctx);
# 6571| }
Error: CPPCHECK_WARNING: [#def18]
ethtool-6.9-build/ethtool-6.9/ibm_emac.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def19]
ethtool-6.9-build/ethtool-6.9/igb.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-835): [#def20]
ethtool-6.9-build/ethtool-6.9/igb.c: scope_hint: In function ‘igb_dump_regs’
ethtool-6.9-build/ethtool-6.9/igb.c:831:23: warning[-Wanalyzer-infinite-loop]: infinite loop
# 829| 0x05A00 + (0x4 * i), i, i, regs_buff[255 + i]);
# 830|
# 831|-> for (i = 0; i < 128; i++)
# 832| fprintf(stdout,
# 833| "0x0%02X: FFMT%03d (Flexible filter mask table%03d) 0x%08X\n",
Error: CPPCHECK_WARNING: [#def21]
ethtool-6.9-build/ethtool-6.9/igc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def22]
ethtool-6.9-build/ethtool-6.9/ixgbe.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def23]
ethtool-6.9-build/ethtool-6.9/ixgbevf.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def24]
ethtool-6.9-build/ethtool-6.9/natsemi.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-758): [#def25]
ethtool-6.9-build/ethtool-6.9/natsemi.c:384: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 382| data[REG_CFG] & BIT_CFG_FDUP ? "Full" : "Half",
# 383| data[REG_CFG] & BIT_CFG_SPEED100 ? 100 : 10,
# 384|-> data[REG_CFG] & BIT_CFG_LNKSTS ? "Up" : "Down");
# 385|
# 386| /* EEPROM access register */
Error: CPPCHECK_WARNING (CWE-758): [#def26]
ethtool-6.9-build/ethtool-6.9/natsemi.c:456: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 454| data[REG_TXCFG] & BIT_TXCFG_MLB ? "Enabled" : "Disabled",
# 455| data[REG_TXCFG] & BIT_TXCFG_HBI ? "Enabled" : "Disabled",
# 456|-> data[REG_TXCFG] & BIT_TXCFG_CSI ? "Enabled" : "Disabled");
# 457|
# 458|
Error: CPPCHECK_WARNING (CWE-758): [#def27]
ethtool-6.9-build/ethtool-6.9/natsemi.c:482: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 480| data[REG_RXCFG] & BIT_RXCFG_ATX ? "Accepted" : "Rejected",
# 481| data[REG_RXCFG] & BIT_RXCFG_ARP ? "Accepted" : "Rejected",
# 482|-> data[REG_RXCFG] & BIT_RXCFG_AEP ? "Accepted" : "Rejected");
# 483|
# 484| /* CLKRUN control/status register */
Error: CPPCHECK_WARNING (CWE-758): [#def28]
ethtool-6.9-build/ethtool-6.9/natsemi.c:542: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 540| if (data[REG_WCSR] & BIT_WCSR_PATM3) fprintf(stdout,
# 541| " Pattern 3 Received\n");
# 542|-> if (data[REG_WCSR] & BIT_WCSR_MPR) fprintf(stdout,
# 543| " Magic Packet Received\n");
# 544|
Error: CPPCHECK_WARNING (CWE-758): [#def29]
ethtool-6.9-build/ethtool-6.9/natsemi.c:559: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 557| data[REG_PCR] & BIT_PCR_PS_DA ? "Enabled" : "Disabled",
# 558| data[REG_PCR] & BIT_PCR_PSMCAST ? "Enabled" : "Disabled",
# 559|-> data[REG_PCR] & BIT_PCR_PSEN ? "Enabled" : "Disabled");
# 560| if (data[REG_PCR] & BIT_PCR_PS_RCVD) fprintf(stdout,
# 561| " PS_RCVD: Pause Frame Received\n");
Error: CPPCHECK_WARNING (CWE-758): [#def30]
ethtool-6.9-build/ethtool-6.9/natsemi.c:591: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 589| data[REG_RFCR] & BIT_RFCR_AAM ? "Accepted" : "Rejected",
# 590| data[REG_RFCR] & BIT_RFCR_AAB ? "Accepted" : "Rejected",
# 591|-> data[REG_RFCR] & BIT_RFCR_RFEN ? "Enabled" : "Disabled");
# 592|
# 593| /* Rx filter data register */
Error: CPPCHECK_WARNING (CWE-758): [#def31]
ethtool-6.9-build/ethtool-6.9/natsemi.c:615: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 613| "0x50: BRAR (Boot ROM Address): 0x%08x\n",
# 614| data[REG_BRAR]);
# 615|-> if (data[REG_BRAR] & BIT_BRAR_AUTOINC) fprintf(stdout,
# 616| " Automatically Increment Address\n");
# 617|
Error: CPPCHECK_WARNING: [#def32]
ethtool-6.9-build/ethtool-6.9/netlink/bitset.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def33]
ethtool-6.9-build/ethtool-6.9/netlink/cable_test.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-457): [#def34]
ethtool-6.9-build/ethtool-6.9/netlink/cable_test.c:130: error[uninitvar]: Uninitialized variables: pos.nla_len, pos.nla_type
# 128|
# 129| mnl_attr_for_each_nested(pos, nest) {
# 130|-> ret = nl_cable_test_ntf_attr(pos);
# 131| if (ret < 0)
# 132| return;
Error: CPPCHECK_WARNING (CWE-457): [#def35]
ethtool-6.9-build/ethtool-6.9/netlink/cable_test.c:398: error[uninitvar]: Uninitialized variables: pos.nla_len, pos.nla_type
# 396|
# 397| mnl_attr_for_each_nested(pos, nest) {
# 398|-> ret = nl_cable_test_tdr_ntf_attr(pos);
# 399| if (ret < 0)
# 400| return;
Error: CPPCHECK_WARNING: [#def36]
ethtool-6.9-build/ethtool-6.9/netlink/channels.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def37]
ethtool-6.9-build/ethtool-6.9/netlink/coalesce.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def38]
ethtool-6.9-build/ethtool-6.9/netlink/eee.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def39]
ethtool-6.9-build/ethtool-6.9/netlink/features.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def40]
ethtool-6.9-build/ethtool-6.9/netlink/fec.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def41]
ethtool-6.9-build/ethtool-6.9/netlink/mm.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def42]
ethtool-6.9-build/ethtool-6.9/netlink/module-eeprom.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-401): [#def43]
ethtool-6.9-build/ethtool-6.9/netlink/module-eeprom.c:98: error[memleak]: Memory leak: entry
# 96| list_add(&entry->list, &eeprom_page_list);
# 97|
# 98|-> return 0;
# 99| }
# 100|
Error: CPPCHECK_WARNING: [#def44]
ethtool-6.9-build/ethtool-6.9/netlink/module.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def45]
ethtool-6.9-build/ethtool-6.9/netlink/monitor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def46]
ethtool-6.9-build/ethtool-6.9/netlink/msgbuff.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-401): [#def47]
ethtool-6.9-build/ethtool-6.9/netlink/msgbuff.c:63: error[memleak]: Memory leak: nbuff
# 61| msgbuff->left += (new_size - old_size);
# 62|
# 63|-> return 0;
# 64| }
# 65|
Error: CPPCHECK_WARNING: [#def48]
ethtool-6.9-build/ethtool-6.9/netlink/netlink.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def49]
ethtool-6.9-build/ethtool-6.9/netlink/parser.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def50]
ethtool-6.9-build/ethtool-6.9/netlink/parser.c:782:31: warning[core.NullDereference]: Array access (from variable 'arg') results in a null pointer dereference
# 780| int ret;
# 781|
# 782|-> no_mask = data->no_mask || !(arg[0] == '+' || arg[0] == '-');
# 783| bitset_attr = ethnla_nest_start(msgbuff, type);
# 784| if (!bitset_attr)
Error: CLANG_WARNING: [#def51]
ethtool-6.9-build/ethtool-6.9/netlink/parser.c:794:16: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'p')
# 792| saved_pos = mnl_nlmsg_get_payload_tail(msgbuff->nlhdr);
# 793|
# 794|-> for (p = arg; *p; p++) {
# 795| if (*p == '+' || *p == '-') {
# 796| if (no_mask) {
Error: CPPCHECK_WARNING: [#def52]
ethtool-6.9-build/ethtool-6.9/netlink/pause.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def53]
ethtool-6.9-build/ethtool-6.9/netlink/permaddr.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def54]
ethtool-6.9-build/ethtool-6.9/netlink/permaddr.c:44:2: warning[deadcode.DeadStores]: Value stored to 'ifinfo' is never read
# 42| nlhdr->nlmsg_flags = nlm_flags;
# 43| msgbuff->nlhdr = nlhdr;
# 44|-> ifinfo = mnl_nlmsg_put_extra_header(nlhdr, sizeof(*ifinfo));
# 45|
# 46| if (devname) {
Error: CPPCHECK_WARNING: [#def55]
ethtool-6.9-build/ethtool-6.9/netlink/plca.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def56]
ethtool-6.9-build/ethtool-6.9/netlink/prettymsg.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-457): [#def57]
ethtool-6.9-build/ethtool-6.9/netlink/prettymsg.c:90: error[uninitvar]: Uninitialized variables: child.nla_len, child.nla_type
# 88| unsigned int child_off;
# 89|
# 90|-> child_off = (const char *)child - (const char *)attr;
# 91| ret = pretty_print_attr(child,
# 92| adesc ? adesc->children : NULL,
Error: CPPCHECK_WARNING (CWE-457): [#def58]
ethtool-6.9-build/ethtool-6.9/netlink/prettymsg.c:186: error[uninitvar]: Uninitialized variables: attr.nla_len, attr.nla_type
# 184|
# 185| mnl_attr_for_each(attr, nlhdr, payload_offset) {
# 186|-> attr_offset = (const char *)attr - (const char *)nlhdr;
# 187| ret = pretty_print_attr(attr, desc, ndesc, 1,
# 188| err_offset - attr_offset, false);
Error: CPPCHECK_WARNING: [#def59]
ethtool-6.9-build/ethtool-6.9/netlink/privflags.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def60]
ethtool-6.9-build/ethtool-6.9/netlink/pse-pd.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def61]
ethtool-6.9-build/ethtool-6.9/netlink/rings.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def62]
ethtool-6.9-build/ethtool-6.9/netlink/rss.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def63]
ethtool-6.9-build/ethtool-6.9/netlink/rss.c:204:20: warning[deadcode.DeadStores]: Value stored to 'nlsk' during its initialization is never read
# 202| {
# 203| struct nl_context *nlctx = ctx->nlctx;
# 204|-> struct nl_socket *nlsk = nlctx->ethnl_socket;
# 205| struct nl_msg_buff *msgbuff;
# 206| struct cb_args args = {};
Error: CPPCHECK_WARNING: [#def64]
ethtool-6.9-build/ethtool-6.9/netlink/settings.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def65]
ethtool-6.9-build/ethtool-6.9/netlink/stats.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def66]
ethtool-6.9-build/ethtool-6.9/netlink/strset.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def67]
ethtool-6.9-build/ethtool-6.9/netlink/tsinfo.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def68]
ethtool-6.9-build/ethtool-6.9/netlink/tunnels.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def69]
ethtool-6.9-build/ethtool-6.9/pcnet32.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def70]
ethtool-6.9-build/ethtool-6.9/qsfp.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def71]
ethtool-6.9-build/ethtool-6.9/realtek.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def72]
ethtool-6.9-build/ethtool-6.9/rxclass.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def73]
ethtool-6.9-build/ethtool-6.9/rxclass.c:527:15: warning[unix.MallocSizeof]: Result of 'calloc' is converted to a pointer of type 'unsigned long', which is incompatible with sizeof operand type 'long'
# 525|
# 526| /* initialize bitmap for storage of valid locations */
# 527|-> rmgr->slot = calloc(1, BITS_TO_LONGS(rmgr->size) * sizeof(long));
# 528| if (!rmgr->slot) {
# 529| perror("rmgr: Cannot allocate memory for RX class rules");
Error: CPPCHECK_WARNING: [#def74]
ethtool-6.9-build/ethtool-6.9/sfc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def75]
ethtool-6.9-build/ethtool-6.9/sfpid.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Scan Properties
analyzer-version-clang | 18.1.7 |
analyzer-version-cppcheck | 2.14.2 |
analyzer-version-gcc | 14.1.1 |
analyzer-version-gcc-analyzer | 14.1.1 |
analyzer-version-shellcheck | 0.10.0 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-175.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | ethtool-6.9-1.fc41 |
store-results-to | /tmp/tmpchr_4xd1/ethtool-6.9-1.fc41.tar.xz |
time-created | 2024-07-03 12:34:52 |
time-finished | 2024-07-03 12:36:07 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpchr_4xd1/ethtool-6.9-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpchr_4xd1/ethtool-6.9-1.fc41.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |