printing ipv6 addresses often needs more than a 32 byte buffer. THis could

causes a crash with sone ipv6 installations.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1135 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
Patrick Caulfield 2006-07-18 06:33:39 +00:00
parent f4cc7da60e
commit 5d7b5f7fdd

View File

@ -1154,7 +1154,7 @@ int totempg_ifaces_get (
char *totempg_ifaces_print (unsigned int nodeid)
{
static char iface_string[256 * INTERFACE_MAX];
char one_iface[32];
char one_iface[64];
struct totem_ip_address interfaces[INTERFACE_MAX];
unsigned int iface_count;
unsigned int i;