[Bug 1618726] Re: ifup & ifdown crash if multiple interfaces are listed in no-scripts
Bug Watch Updater
1618726 at bugs.launchpad.net
Wed Sep 14 02:03:43 UTC 2016
** Changed in: ifupdown (Debian)
Status: Unknown => New
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
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:
In Progress
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 Ubuntu-sponsors
mailing list