summaryrefslogtreecommitdiffstats
path: root/python-ethtool/etherinfo_obj.c
diff options
context:
space:
mode:
authorDavid Sommerseth <davids@redhat.com>2010-12-21 18:30:50 +0100
committerDavid Sommerseth <davids@redhat.com>2010-12-21 18:30:50 +0100
commit94ff260f3a69546c948f98530e534235dc60d1ac (patch)
tree9f2b011b9160aa44ed35dc7c225d3725a3147df8 /python-ethtool/etherinfo_obj.c
parentc7f8c02f92af5a4b7a1c294c38e5477918ef3f87 (diff)
downloadpython-ethtool-94ff260f3a69546c948f98530e534235dc60d1ac.tar.gz
python-ethtool-94ff260f3a69546c948f98530e534235dc60d1ac.tar.xz
python-ethtool-94ff260f3a69546c948f98530e534235dc60d1ac.zip
Don't segfault if we don't receive any address from rtnl_link_get_addr()
The callback function for device link information was lacking a simple check to avoid a SEGV in these situations. Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'python-ethtool/etherinfo_obj.c')
0 files changed, 0 insertions, 0 deletions