https://bugzilla.novell.com/show_bug.cgi?id=784952
https://bugzilla.novell.com/show_bug.cgi?id=784952#c4
Marius Tomaschewski changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |NEEDINFO
InfoProvider| |mfilka@suse.com
--- Comment #4 from Marius Tomaschewski 2012-10-15 11:03:06 UTC ---
As Christian already wrote in comment 1, I don't think that truncating
the name (INTERFACE=${INTERFACE:0:15}) is a good idea, as you may have
ifcfg-definitelytoolong1
ifcfg-definitelytoolong2
which both would result in a truncated name "definitelytoolo".
e.g. tunctl [and I guess many others too] are truncating the name while
copying it into the char ifrn_name[IFNAMSIZ] array (IFNAMSIZ is 16):
strncpy(ifr.ifr_name, tun, sizeof(ifr.ifr_name) - 1);
without any length check.
Better to check the length and report error as the patches do.
Michal: I think, there should be a check of the name in yast2-network
too, to bail out early (there were a bug about this already a long
while ago). Is there still something?
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.