Reject the packet if info is NULL under conditions where it'll be used.
svn path=/trunk/; revision=53969
This commit is contained in:
parent
1de89438f2
commit
69dbd3fb24
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue