diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-05-24 03:21:23 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-05-24 03:21:23 +0000 |
commit | 5427c55fb4b4c8ae37c4993f6ccff8b7baa1d362 (patch) | |
tree | 6de43e394f0d48ce985f298134077a1b48ca142b /packet-radius.c | |
parent | a8ef1340a54152ead11765c0101d2c706bfad8e5 (diff) | |
download | wireshark-5427c55fb4b4c8ae37c4993f6ccff8b7baa1d362.tar.gz wireshark-5427c55fb4b4c8ae37c4993f6ccff8b7baa1d362.tar.bz2 wireshark-5427c55fb4b4c8ae37c4993f6ccff8b7baa1d362.zip |
Bug fix from Kan Sasaki.
svn path=/trunk/; revision=5539
Diffstat (limited to 'packet-radius.c')
-rw-r--r-- | packet-radius.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/packet-radius.c b/packet-radius.c index f401594d45..648a1644f0 100644 --- a/packet-radius.c +++ b/packet-radius.c @@ -4,7 +4,7 @@ * * RFC 2865, RFC 2866, RFC 2867, RFC 2868, RFC 2869 * - * $Id: packet-radius.c,v 1.61 2002/05/14 10:40:25 guy Exp $ + * $Id: packet-radius.c,v 1.62 2002/05/24 03:21:23 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -2470,7 +2470,10 @@ static gchar *rd_value_to_str_2(gchar *dest, e_avphdr *avph, tvbuff_t *tvb, 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; } |