=== modified file 'debian/changelog' --- debian/changelog 2014-04-03 14:46:49 +0000 +++ debian/changelog 2014-09-23 15:53:02 +0000 @@ -1,3 +1,11 @@ +netcfg (1.116ubuntu2) trusty; urgency=medium + + [ Colin Watson ] + * Fix BOOTIF detection to handle the newline at the end of a line read + from /proc/cmdline (LP: #1350302). + + -- dann frazier Tue, 23 Sep 2014 09:49:02 -0600 + netcfg (1.116ubuntu1) trusty; urgency=medium * Resynchronise with Debian. Remaining changes: === modified file 'netcfg-common.c' --- netcfg-common.c 2014-04-03 14:46:49 +0000 +++ netcfg-common.c 2014-09-23 15:53:02 +0000 @@ -640,7 +640,7 @@ char *subst; s += sizeof("BOOTIF=") - 1; - bootif_len = strcspn(s, " "); + bootif_len = strcspn(s, " \n"); if (bootif_len != (ETH_ALEN * 3 - 1) + 3) continue; bootif = strndup(s + 3, bootif_len - 3); /* skip hardware type */