Fix bug #1416: crash (stack smashing) on single DHCP packet

svn path=/trunk/; revision=21947
This commit is contained in:
Stephen Fisher 2007-05-26 00:38:53 +00:00
parent 85ab07f287
commit 3f239a2fc7
1 changed files with 1 additions and 1 deletions

View File

@ -2502,7 +2502,7 @@ dissect_docsis_cm_cap(proto_tree *v_tree, tvbuff_t *tvb, int voff, int len)
unsigned long raw_val;
int off = DOCS_CM_TLV_OFF + voff;
int tlv_len, i;
guint8 asc_val[3] = " ";
guint8 asc_val[4] = " ";
proto_item *ti;
tvb_memcpy (tvb, asc_val, off, 2);