[PATCH] ifup segfaulting on mistaken 'interfaces' file

Denis Vlasenko vda.linux at googlemail.com
Sun Nov 19 17:20:05 PST 2006


On Sunday 19 November 2006 22:36, Petr Stetiar wrote:
> Hi,
> 
> I've just faced ifup segfault on mistaken 'interfaces' file.
> 
> # cat interfaces.bad
> iface eth0 inet
> 	address 192.168.0.50
> 	netmask 255.255.255.0
> 
> It's missing static method on first line, should be 'iface eth0 inet static'
> 
> # ifup -a
> Segmentation fault
> 
> With patch applied:
> # ifup -a
> ifup: unknown method "(null)"
> 
> 
> -- ynezz

Applied, thanks
--
vda 


More information about the busybox mailing list