Bug#768218: netcfg segfaults when passed four or more nameservers

2014-11-06 Thread Cyril Brulebois
Kjell Braden aff...@pentabarf.de (2014-11-06): On 06.11.2014 03:22, Cyril Brulebois wrote: Yeah, that looks like a good idea, thanks. Did you actually test it? No. What would be the simplest way to test this? Rebuild and patch the netcfg binary into the initrd? Build a patched netcfg, put

Bug#768218: netcfg segfaults when passed four or more nameservers

2014-11-06 Thread Kjell Braden
On 06.11.2014 03:22, Cyril Brulebois wrote: Yeah, that looks like a good idea, thanks. Did you actually test it? No. What would be the simplest way to test this? Rebuild and patch the netcfg binary into the initrd? BTW: It looks like ntpservers have a max value as well but array boundary

Bug#768218: netcfg segfaults when passed four or more nameservers

2014-11-06 Thread Kjell Braden
On 06.11.2014 12:50, Cyril Brulebois wrote: Kjell Braden aff...@pentabarf.de (2014-11-06): I've been using the xen netboot images for amd64. I've included a patched netcfg in xen netboot images for amd64, built against jessie and against sid (the kernel ABI changed recently), they are

Bug#768218: netcfg segfaults when passed four or more nameservers

2014-11-06 Thread Cyril Brulebois
Kjell Braden aff...@pentabarf.de (2014-11-06): On 06.11.2014 12:50, Cyril Brulebois wrote: Kjell Braden aff...@pentabarf.de (2014-11-06): I've been using the xen netboot images for amd64. I've included a patched netcfg in xen netboot images for amd64, built against jessie and against sid

Bug#768218: netcfg segfaults when passed four or more nameservers

2014-11-05 Thread Kjell Braden
Package: netcfg Version: 1.108+deb7u2 Tags: patch When passed more than three nameservers, netcfg can segfaults in nm_write_static_ipvX due to a missing array bounds check. The attached patch (against current git master) should fix the issue. Cheers From

Bug#768218: netcfg segfaults when passed four or more nameservers

2014-11-05 Thread Cyril Brulebois
Control: found -1 1.122 Control: tag -1 confirmed Kjell Braden aff...@pentabarf.de (2014-11-06): Package: netcfg Version: 1.108+deb7u2 Tags: patch When passed more than three nameservers, netcfg can segfaults in nm_write_static_ipvX due to a missing array bounds check. The attached patch

Processed: Re: Bug#768218: netcfg segfaults when passed four or more nameservers

2014-11-05 Thread Debian Bug Tracking System
Processing control commands: found -1 1.122 Bug #768218 [netcfg] netcfg segfaults when passed four or more nameservers Marked as found in versions netcfg/1.122. tag -1 confirmed Bug #768218 [netcfg] netcfg segfaults when passed four or more nameservers Added tag(s) confirmed. -- 768218: http