Reject the packet if info is NULL under conditions where it'll be used.

svn path=/trunk/; revision=53969
This commit is contained in:
Chris Maynard 2013-12-12 19:38:20 +00:00
parent 1de89438f2
commit 69dbd3fb24
1 changed files with 4 additions and 0 deletions

View File

@ -747,6 +747,10 @@ dissect_asn1(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, struct tcpinfo
static guint lastseq;
gint delta;
/* Reject the packet if info is NULL under conditions where it'll be used. */
if (is_tcp && info == NULL)
return 0;
pcount++;
boffset = 0;