Ethereal-dev: [Ethereal-dev] [PATCH] packet-radius.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Kan Sasaki <sasaki@xxxxxxxxx>
Date: Fri, 24 May 2002 12:06:20 +0900 (JST)
Oops, I made a bug in packet-radius.c. The following patch fixes this
bug. Please find this patch.

Regards,

Index: packet-radius.c
===================================================================
RCS file: /cvsroot/ethereal/packet-radius.c,v
retrieving revision 1.61
diff -u -r1.61 packet-radius.c
--- packet-radius.c	2002/05/14 10:40:25	1.61
+++ packet-radius.c	2002/05/24 03:05:16
@@ -2470,7 +2470,10 @@
 
 static gchar *rd_value_to_str(e_avphdr *avph, tvbuff_t *tvb, int offset)
 {
-    vsabuffer[0].str = NULL;
+    int i;
+
+    for (i = 0; i < VSABUFFER; i++)
+	vsabuffer[i].str = NULL;
     rd_value_to_str_2(textbuffer, avph, tvb, offset, radius_attrib);
     return textbuffer;
 }

-- 
Fusion Communications Corp.
Kan Sasaki  sasaki@xxxxxxxxx