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:
Martin Kaiser 2012-10-17 07:44:33 +00:00
parent bfdfd004cb
commit 0b4e3b9936
1 changed files with 1 additions and 1 deletions

View File

@ -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 */