forked from osmocom/wireshark
Reject the packet if data is NULL.
svn path=/trunk/; revision=53882
This commit is contained in:
parent
3be739ac8b
commit
494d32ad2a
|
@ -76,10 +76,15 @@ dissect_qllc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data)
|
|||
{
|
||||
proto_tree *qllc_tree;
|
||||
proto_item *qllc_ti;
|
||||
gboolean *q_bit_set = (gboolean *)data;
|
||||
gboolean *q_bit_set;
|
||||
guint8 addr, ctrl;
|
||||
gboolean command = FALSE;
|
||||
|
||||
/* Reject the packet if data is NULL */
|
||||
if (data == NULL)
|
||||
return 0;
|
||||
q_bit_set = (gboolean *)data;
|
||||
|
||||
/*
|
||||
* If the Q bit isn't set, this is just SNA data.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue