← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1618726] Re: ifup & ifdown crash if multiple interfaces are listed in no-scripts

 

** Also affects: ifupdown (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=837732
   Importance: Unknown
       Status: Unknown

** Changed in: ifupdown (Ubuntu Xenial)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
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:
  Unknown

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