[Bug 1618726] Re: ifup & ifdown crash if multiple interfaces are listed in no-scripts
Richard Laager
rlaager at wiktel.com
Wed Sep 14 14:40:46 UTC 2016
The package from proposed works. I tested version 0.8.10ubuntu1.1. The
diff looks correct.
** Tags removed: verification-needed
** Tags added: verification-done
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ifupdown in Ubuntu.
https://bugs.launchpad.net/bugs/1618726
Title:
ifup & ifdown crash if multiple interfaces are listed in no-scripts
Status in ifupdown package in Ubuntu:
Fix Committed
Status in ifupdown source package in Xenial:
Fix Committed
Status in ifupdown package in Debian:
New
Bug description:
[Impact]
ifup and ifupdown segfault if multiple interfaces are listed in no-scripts
This is a trivially reproducible crash in ifup/ifdown, with a patch
attached.
[Test Case]
Steps to reproduce:
1) echo no-scripts foo bar >> /etc/network/interfaces
2) ifup baz
Expected results:
Unknown interface baz
Actual results:
Segmentation fault (core dumped)
It's irrelevant whether the second interface is on the same no-scripts line or separate one. This will crash just the same:
echo no-scripts foo >> /etc/network/interfaces
echo no-scripts bar >> /etc/network/interfaces
[Regression potential]
Seems slight. The patch fixes a clear bug in code that is only used to process the no-scripts (and apparently no-auto-down) stanzas.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1618726/+subscriptions
More information about the foundations-bugs
mailing list