Public bug reported:

Calling ethtool.get_flags() leads to an error because of stack smashing and
abortion of the process. This happens on Ubuntu Zesty (17.04).

How to Reproduce:

$ cat foo.py
import ethtool                                                                  
                                                                                
            

for dev in ethtool.get_devices():
        print(dev)
        flags = ethtool.get_flags(dev)

$ python2 foo.py
ens3
*** stack smashing detected ***: python2 terminated
Aborted (core dumped)

I don't know if it's bug in python-ethtool or the ethtool library so I'm
reporting againts python-ethtool.

** Affects: python-ethtool (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1702437

Title:
  calling ethtool.get_flags() leads to stack smashing

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-ethtool/+bug/1702437/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to