forked from osmocom/wireshark
Fix bug #1416: crash (stack smashing) on single DHCP packet
svn path=/trunk/; revision=21947
This commit is contained in:
parent
85ab07f287
commit
3f239a2fc7
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue