forked from osmocom/wireshark
make tpiLen a guint such that it can store 2 + tvb_get_guint8(...) without overflow svn path=/trunk/; revision=45614
This commit is contained in:
parent
bfdfd004cb
commit
0b4e3b9936
|
@ -620,7 +620,7 @@ dissect_wtp_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
|
|||
if (fCon) { /* Now, analyze variable part */
|
||||
unsigned char tCon;
|
||||
unsigned char tByte;
|
||||
unsigned char tpiLen;
|
||||
guint tpiLen;
|
||||
tvbuff_t *tmp_tvb;
|
||||
|
||||
vHeader = 0; /* Start scan all over */
|
||||
|
|
Loading…
Reference in New Issue