Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 337520 | Differences between
and this patch

Collapse All | Expand All

(-)selfdhcp-0.2a.orig/src/selfdhcp_profiles.c (-1 / +1 lines)
Lines 345-351 Link Here
345
	{
345
	{
346
	  key = xmlNodeListGetString (doc, cur->xmlChildrenNode, 1);
346
	  key = xmlNodeListGetString (doc, cur->xmlChildrenNode, 1);
347
	  err_msg (DBG_PROG, "xml element \"%s\"", (char *) key);
347
	  err_msg (DBG_PROG, "xml element \"%s\"", (char *) key);
348
	  strncpy (netconf_buff.domainname, (char *) key, 49);
348
	  strncpy (netconf_buff.domainname, (char *) key, sizeof(netconf_buff.domainname));
349
	  netconf_buff.what_is_set &= NETADDR;
349
	  netconf_buff.what_is_set &= NETADDR;
350
	  err_msg (DBG_INFO, "read domain name \"%s\"",
350
	  err_msg (DBG_INFO, "read domain name \"%s\"",
351
		   netconf_buff.domainname);
351
		   netconf_buff.domainname);

Return to bug 337520