| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<results version="2"> |
| 3 |
<cppcheck version="1.57"/> |
| 4 |
<errors> |
| 5 |
Checking python-ethtool/etherinfo.c... |
| 6 |
1/6 files checked 13% done |
| 7 |
Checking python-ethtool/etherinfo_ipv6_obj.c... |
| 8 |
2/6 files checked 21% done |
| 9 |
Checking python-ethtool/etherinfo_obj.c... |
| 10 |
<error id="uninitvar" severity="error" msg="Uninitialized variable: ret" verbose="Uninitialized variable: ret"> |
| 11 |
<location file="python-ethtool/etherinfo_obj.c" line="185"/> |
| 12 |
</error> |
| 13 |
3/6 files checked 35% done |
| 14 |
Checking python-ethtool/ethtool.c... |
| 15 |
<error id="invalidScanfFormatWidth" severity="error" msg="Width 100 given in format string (no. 1) is larger than destination buffer 'driver[100]', use %99s to prevent overflowing it." verbose="Width 100 given in format string (no. 1) is larger than destination buffer 'driver[100]', use %99s to prevent overflowing it."> |
| 16 |
<location file="python-ethtool/ethtool.c" line="579"/> |
| 17 |
</error> |
| 18 |
<error id="invalidScanfFormatWidth" severity="error" msg="Width 100 given in format string (no. 2) is larger than destination buffer 'dev[100]', use %99s to prevent overflowing it." verbose="Width 100 given in format string (no. 2) is larger than destination buffer 'dev[100]', use %99s to prevent overflowing it."> |
| 19 |
<location file="python-ethtool/ethtool.c" line="579"/> |
| 20 |
</error> |
| 21 |
<error id="nullPointer" severity="error" msg="Possible null pointer dereference: end - otherwise it is redundant to check it against null." verbose="Possible null pointer dereference: end - otherwise it is redundant to check it against null."> |
| 22 |
<location file="python-ethtool/ethtool.c" line="139"/> |
| 23 |
<location file="python-ethtool/ethtool.c" line="141"/> |
| 24 |
</error> |
| 25 |
<error id="resourceLeak" severity="error" msg="Resource leak: fd" verbose="Resource leak: fd"> |
| 26 |
<location file="python-ethtool/ethtool.c" line="126"/> |
| 27 |
</error> |
| 28 |
<error id="uninitvar" severity="error" msg="Uninitialized variable: err" verbose="Uninitialized variable: err"> |
| 29 |
<location file="python-ethtool/ethtool.c" line="659"/> |
| 30 |
</error> |
| 31 |
4/6 files checked 65% done |
| 32 |
Checking python-ethtool/netlink-address.c... |
| 33 |
5/6 files checked 70% done |
| 34 |
Checking python-ethtool/not-ethtool.c... |
| 35 |
6/6 files checked 100% done |
| 36 |
</errors> |
| 37 |
</results> |