Package: python-ethtool / 0.12-1.1

Metadata

Package Version Patches format
python-ethtool 0.12-1.1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
fix_missing_if.h_include | (download)

python-ethtool/ethtool.c | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

---
gcc5 warning fixes | (download)

python-ethtool/etherinfo.h | 2 1 + 1 - 0 !
python-ethtool/ethtool.c | 2 1 + 1 - 0 !
python-ethtool/netlink.c | 2 1 + 1 - 0 !
3 files changed, 3 insertions(+), 3 deletions(-)

---
fix_argument_parsing | (download)

python-ethtool/ethtool.c | 22 11 + 11 - 0 !
1 file changed, 11 insertions(+), 11 deletions(-)

 fix argument parsing of device names
 PyArg_ParseTuple was called with the format string "s*" to parse the
 passed device name into a C string.
 But according to Python C-API documentation, "s*" is used for parsing data
 into a Py_buffer structure:  https://docs.python.org/2/c-api/arg.html
 To store it into a C string, "s" has to be used.
 (Memory doesn't need to be freed, as it is managed by Python.)
Bug-Debian: https://bugs.debian.org/857346