From 5d7b5f7fdd6edd6c44e5dedf4855c4568e8caca7 Mon Sep 17 00:00:00 2001 From: Patrick Caulfield Date: Tue, 18 Jul 2006 06:33:39 +0000 Subject: [PATCH] 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 --- exec/totempg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exec/totempg.c b/exec/totempg.c index 4f75fc55..1a9adf33 100644 --- a/exec/totempg.c +++ b/exec/totempg.c @@ -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;