[Bug 1532722] Re: /sbin/ifup:11:__GI_strncpy:strncpy:do_interface:main

2016-02-01 Thread Launchpad Bug Tracker
This bug was fixed in the package ifupdown - 0.7.47.2ubuntu4.3 --- ifupdown (0.7.47.2ubuntu4.3) trusty; urgency=medium [ Martin Pitt ] * Fix ifquery crash if interface state file does not exist yet. (Closes: #810779, LP: #1532722) -- Dariusz Gadomski Tue, 12 Jan 2016 11:05

[Bug 1532722] Re: /sbin/ifup:11:__GI_strncpy:strncpy:do_interface:main

2016-02-01 Thread Launchpad Bug Tracker
This bug was fixed in the package ifupdown - 0.7.54ubuntu1.2 --- ifupdown (0.7.54ubuntu1.2) wily; urgency=medium [ Martin Pitt ] * Fix ifquery crash if interface state file does not exist yet. (Closes: #810779, LP: #1532722) -- Dariusz Gadomski Tue, 12 Jan 2016 11:07:00 +0

[Bug 1532722] Re: /sbin/ifup:11:__GI_strncpy:strncpy:do_interface:main

2016-01-22 Thread Bug Watch Updater
** Changed in: ifupdown (Debian) Status: Unknown => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1532722 Title: /sbin/ifup:11:__GI_strncpy:strncpy:do_interface:main To manage n

[Bug 1532722] Re: /sbin/ifup:11:__GI_strncpy:strncpy:do_interface:main

2016-01-12 Thread Adam Conrad
Hello errors.ubuntu.com, or anyone else affected, Accepted ifupdown into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ifupdown/0.7.47.2ubuntu4.3 in a few hours, and then in the -proposed repository. Please help us by testing this new package

[Bug 1532722] Re: /sbin/ifup:11:__GI_strncpy:strncpy:do_interface:main

2016-01-12 Thread Launchpad Bug Tracker
This bug was fixed in the package ifupdown - 0.8.6ubuntu2 --- ifupdown (0.8.6ubuntu2) xenial; urgency=medium * Fix ifquery crash if interface state file does not exist yet. (Closes: #810779, LP: #1532722) -- Martin Pitt Tue, 12 Jan 2016 08:13:08 +0100 ** Changed in: ifupdow

[Bug 1532722] Re: /sbin/ifup:11:__GI_strncpy:strncpy:do_interface:main

2016-01-11 Thread Martin Pitt
I sent a patch to the Debian bug and uploaded it to xenial. ** Changed in: ifupdown (Ubuntu) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1532722 Title:

[Bug 1532722] Re: /sbin/ifup:11:__GI_strncpy:strncpy:do_interface:main

2016-01-11 Thread Martin Pitt
** Bug watch added: Debian Bug tracker #810779 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810779 ** Also affects: ifupdown (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810779 Importance: Unknown Status: Unknown -- You received this bug notification because

[Bug 1532722] Re: /sbin/ifup:11:__GI_strncpy:strncpy:do_interface:main

2016-01-11 Thread Martin Pitt
This should only happen when calling with --no-act, i. e. when being called as "ifquery", as I don't think we regularly call ifup with --no- act. It's also in the "if (cmds == iface_query)" code path. When trying to recreate this on my amd64 laptop, gdb shows that current_state gets initialized to

[Bug 1532722] Re: /sbin/ifup:11:__GI_strncpy:strncpy:do_interface:main

2016-01-11 Thread Martin Pitt
Thanks Brian, this was really helpful! This stack trace pinpoints the particular strncpy() call in do_interface: if (current_state != NULL) { strncpy(liface, current_state, 80); liface is correct ("lo"), but current_state is bogus (0x1). We

[Bug 1532722] Re: /sbin/ifup:11:__GI_strncpy:strncpy:do_interface:main

2016-01-11 Thread Brian Murray
I was manually able to retrace one of the crashes. Stacktrace: #0 __GI_strncpy (s1=0xbe86aa6f "", s1@entry=0xbe86aa70 "lo", s2=0x5 , n=n@entry=80) at strncpy.c:41 n4 = c = s = 0xbe86aa70 "lo" #1 0x00013032 in strncpy (__len=80, __src=, __dest=0xbe86aa70 "lo") at /

[Bug 1532722] Re: /sbin/ifup:11:__GI_strncpy:strncpy:do_interface:main

2016-01-11 Thread Brian Murray
Let me know if you need any more information. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1532722 Title: /sbin/ifup:11:__GI_strncpy:strncpy:do_interface:main To manage notifications about this bu