cve_id stringlengths 13 16 | repo stringclasses 12
values | repo_url stringclasses 10
values | file_path stringlengths 7 62 | function_name stringlengths 4 52 | pa stringlengths 50 341k | pb stringlengths 33 341k | px stringlengths 50 338k | py stringlengths 33 338k | pa_sliced stringlengths 31 44.3k | pb_sliced stringlengths 31 44.6k | px_sliced stringlengths 51 45.8k | py_sliced stringlengths 33 46.9k | patch_sliced stringlengths 0 46.8k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CVE-2018-7323 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-wccp.c | dissect_wccp2_mask_value_set_list | static gint dissect_wccp2_mask_value_set_list(tvbuff_t *tvb, int offset, int length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
guint num_of_elem;
guint i;
proto_item *te;
proto_tree *element_tree;
guint start;
if (length < 4) {
return length - 4;
}
... | static gint dissect_wccp2_mask_value_set_list(tvbuff_t *tvb, int offset, int length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
guint num_of_elem;
guint i;
proto_item *te;
proto_tree *element_tree;
guint start;
if (length < 4) {
return length - 4;
}
... | static gint dissect_wccp2_mask_value_set_list(tvbuff_t *tvb, int offset, int length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
guint num_of_elem;
guint i;
proto_item *te;
proto_tree *element_tree;
guint start;
if (length < 4) {
return length - 4;
}
... | static gint dissect_wccp2_mask_value_set_list(tvbuff_t *tvb, int offset, int length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
guint num_of_elem;
guint i;
proto_item *te;
proto_tree *element_tree;
guint start;
if (length < 4) {
return length - 4;
}
... | static gint dissect_wccp2_mask_value_set_list(tvbuff_t *tvb, int offset, int length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
if (length < 4) {
return length - 4;
}
element_tree = proto_tree_add_subtree(info_tree, tvb, offset, 4, ett_mv_set_list, &te, "Mask/Value ... | static gint dissect_wccp2_mask_value_set_list(tvbuff_t *tvb, int offset, int length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
if (length < 4) {
return length - 4;
}
element_tree = proto_tree_add_subtree(info_tree, tvb, offset, 4, ett_mv_set_list, &te, "Mask/Value ... | static gint dissect_wccp2_mask_value_set_list(tvbuff_t *tvb, int offset, int length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (length < 4) {
return length - 4;
}
element_tree = proto_tree_add_subtree(info_tree, ... | static gint dissect_wccp2_mask_value_set_list(tvbuff_t *tvb, int offset, int length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (length < 4) {
return length - 4;
}
element_tree = proto_tree_add_subtree(info_tree, ... | static gint dissect_wccp2_mask_value_set_list(tvbuff_t *tvb, int offset, int length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
if (length < 4) {
return length - 4;
}
element_tree = proto_tree_add_subtree(info_tree, tvb, offset, 4, ett_mv_set_list, &te, "Mask/V... |
CVE-2018-7323 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-wccp.c | dissect_wccp2_router_view_info | static gint dissect_wccp2_router_view_info(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
guint32 n_routers;
guint32 n_web_caches;
guint i;
proto_item *te;
proto_tree *element_tree;
gint new_length;
if (length < RER_VIEW_F... | static gint dissect_wccp2_router_view_info(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
guint32 n_routers;
guint32 n_web_caches;
guint i;
proto_item *te;
proto_tree *element_tree;
gint new_length;
if (length < RER_VIEW_F... | static gint dissect_wccp2_router_view_info(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
guint32 n_routers;
guint32 n_web_caches;
guint i;
proto_item *te;
proto_tree *element_tree;
gint new_length;
if (length < RER_VIEW_F... | static gint dissect_wccp2_router_view_info(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
guint32 n_routers;
guint32 n_web_caches;
guint i;
proto_item *te;
proto_tree *element_tree;
gint new_length;
if (length < RER_VIEW_F... | static gint dissect_wccp2_router_view_info(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
if (length < RER_VIEW_FO_M_LEN) {
return length - RER_VIEW_FO_M_LEN;
}
proto_tree_add_item(info_tree, hf_router_view_member_change_num, tvb,... | static gint dissect_wccp2_router_view_info(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
if (length < RER_VIEW_FO_M_LEN) {
return length - RER_VIEW_FO_M_LEN;
}
proto_tree_add_item(info_tree, hf_router_view_member_change_num, tvb,... | static gint dissect_wccp2_router_view_info(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (length < RER_VIEW_FO_M_LEN) {
return length - RER_VIEW_FO_M_LEN;
}
proto_tree_add_item... | static gint dissect_wccp2_router_view_info(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (length < RER_VIEW_FO_M_LEN) {
return length - RER_VIEW_FO_M_LEN;
}
proto_tree_add_item... | static gint dissect_wccp2_router_view_info(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
if (length < RER_VIEW_FO_M_LEN) {
return length - RER_VIEW_FO_M_LEN;
}
proto_tree_add_item(info_tree, hf_router_view_member_change_num,... |
CVE-2018-7324 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-sccp.c | dissect_sccp_message | static int dissect_sccp_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sccp_tree, proto_tree *tree) {
guint16 variable_pointer1 = 0, variable_pointer2 = 0, variable_pointer3 = 0;
guint16 optional_pointer = 0, orig_opt_ptr = 0;
guint16 offset = 0;
gboolean save_fragmented;
tvbuff_t *new_tvb =... | static int dissect_sccp_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sccp_tree, proto_tree *tree) {
guint16 variable_pointer1 = 0, variable_pointer2 = 0, variable_pointer3 = 0;
guint16 optional_pointer = 0, orig_opt_ptr = 0;
int offset = 0;
gboolean save_fragmented;
tvbuff_t *new_tvb = NUL... | static int dissect_sccp_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sccp_tree, proto_tree *tree) {
guint16 variable_pointer1 = 0, variable_pointer2 = 0, variable_pointer3 = 0;
guint16 optional_pointer = 0, orig_opt_ptr = 0;
guint16 offset = 0;
gboolean save_fragmented;
tvbuff_t *new_tvb =... | static int dissect_sccp_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sccp_tree, proto_tree *tree) {
guint16 variable_pointer1 = 0, variable_pointer2 = 0, variable_pointer3 = 0;
guint16 optional_pointer = 0, orig_opt_ptr = 0;
int offset = 0;
gboolean save_fragmented;
tvbuff_t *new_tvb = NUL... | static int dissect_sccp_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sccp_tree, proto_tree *tree) {
guint16 optional_pointer = 0, orig_opt_ptr = 0;
guint16 offset = 0;
gboolean save_fragmented;
tvbuff_t *new_tvb = NULL;
}
| static int dissect_sccp_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sccp_tree, proto_tree *tree) {
guint16 optional_pointer = 0, orig_opt_ptr = 0;
int offset = 0;
gboolean save_fragmented;
tvbuff_t *new_tvb = NULL;
}
| static int dissect_sccp_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sccp_tree, proto_tree *tree) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
guint16 optional_pointer = 0, orig_opt_ptr = 0;
guint16 offset = 0;
gboolean save_fragmented;
tvbuff_t *new_tvb = NULL;
/* PLACEHOLDER: DO N... | static int dissect_sccp_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sccp_tree, proto_tree *tree) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
guint16 optional_pointer = 0, orig_opt_ptr = 0;
int offset = 0;
gboolean save_fragmented;
tvbuff_t *new_tvb = NULL;
/* PLACEHOLDER: DO NOT D... | static int dissect_sccp_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sccp_tree, proto_tree *tree) {
guint16 optional_pointer = 0, orig_opt_ptr = 0;
- guint16 offset = 0;
+ int offset = 0;
gboolean save_fragmented;
tvbuff_t *new_tvb = NULL;
} |
CVE-2018-7324 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-sccp.c | dissect_sccp_optional_parameters | static void dissect_sccp_optional_parameters(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sccp_tree, proto_tree *tree, guint16 offset, sccp_decode_context_t* sccp_info) {
guint8 parameter_type;
while ((parameter_type = tvb_get_guint8(tvb, offset)) != PARAMETER_END_OF_OPTIONAL_PARAMETERS) {
offset += P... | static void dissect_sccp_optional_parameters(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sccp_tree, proto_tree *tree, int offset, sccp_decode_context_t* sccp_info) {
guint8 parameter_type;
while ((parameter_type = tvb_get_guint8(tvb, offset)) != PARAMETER_END_OF_OPTIONAL_PARAMETERS) {
offset += PARAM... | static void dissect_sccp_optional_parameters(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sccp_tree, proto_tree *tree, guint16 offset, sccp_decode_context_t* sccp_info) {
guint8 parameter_type;
while ((parameter_type = tvb_get_guint8(tvb, offset)) != PARAMETER_END_OF_OPTIONAL_PARAMETERS) {
offset += P... | static void dissect_sccp_optional_parameters(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sccp_tree, proto_tree *tree, int offset, sccp_decode_context_t* sccp_info) {
guint8 parameter_type;
while ((parameter_type = tvb_get_guint8(tvb, offset)) != PARAMETER_END_OF_OPTIONAL_PARAMETERS) {
offset += PARAM... | static void dissect_sccp_optional_parameters(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sccp_tree, proto_tree *tree, guint16 offset, sccp_decode_context_t* sccp_info) {
guint8 parameter_type;
while ((parameter_type = tvb_get_guint8(tvb, offset)) != PARAMETER_END_OF_OPTIONAL_PARAMETERS) {
offset += P... | static void dissect_sccp_optional_parameters(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sccp_tree, proto_tree *tree, int offset, sccp_decode_context_t* sccp_info) {
guint8 parameter_type;
while ((parameter_type = tvb_get_guint8(tvb, offset)) != PARAMETER_END_OF_OPTIONAL_PARAMETERS) {
offset += PARAM... | static void dissect_sccp_optional_parameters(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sccp_tree, proto_tree *tree, guint16 offset, sccp_decode_context_t* sccp_info) {
guint8 parameter_type;
while ((parameter_type = tvb_get_guint8(tvb, offset)) != PARAMETER_END_OF_OPTIONAL_PARAMETERS) {
offset += P... | static void dissect_sccp_optional_parameters(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sccp_tree, proto_tree *tree, int offset, sccp_decode_context_t* sccp_info) {
guint8 parameter_type;
while ((parameter_type = tvb_get_guint8(tvb, offset)) != PARAMETER_END_OF_OPTIONAL_PARAMETERS) {
offset += PARAM... | -static void dissect_sccp_optional_parameters(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sccp_tree, proto_tree *tree, guint16 offset, sccp_decode_context_t* sccp_info) {
+static void dissect_sccp_optional_parameters(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sccp_tree, proto_tree *tree, int offset, sccp_decode_... |
CVE-2018-7324 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-sccp.c | dissect_sccp_parameter | static guint16 dissect_sccp_parameter(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sccp_tree, proto_tree *tree, guint8 parameter_type, guint16 offset, guint16 parameter_length,
sccp_decode_context_t *sccp_info) {
tvbuff_t *parameter_tvb;
switch (parameter_type) {
case... | static guint16 dissect_sccp_parameter(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sccp_tree, proto_tree *tree, guint8 parameter_type, int offset, guint16 parameter_length,
sccp_decode_context_t *sccp_info) {
tvbuff_t *parameter_tvb;
switch (parameter_type) {
case PAR... | static guint16 dissect_sccp_parameter(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sccp_tree, proto_tree *tree, guint8 parameter_type, guint16 offset, guint16 parameter_length,
sccp_decode_context_t *sccp_info) {
tvbuff_t *parameter_tvb;
switch (parameter_type) {
case... | static guint16 dissect_sccp_parameter(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sccp_tree, proto_tree *tree, guint8 parameter_type, int offset, guint16 parameter_length,
sccp_decode_context_t *sccp_info) {
tvbuff_t *parameter_tvb;
switch (parameter_type) {
case PAR... | static guint16 dissect_sccp_parameter(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sccp_tree, proto_tree *tree, guint8 parameter_type, guint16 offset, guint16 parameter_length,
sccp_decode_context_t *sccp_info) {
}
| static guint16 dissect_sccp_parameter(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sccp_tree, proto_tree *tree, guint8 parameter_type, int offset, guint16 parameter_length,
sccp_decode_context_t *sccp_info) {
}
| static guint16 dissect_sccp_parameter(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sccp_tree, proto_tree *tree, guint8 parameter_type, guint16 offset, guint16 parameter_length,
sccp_decode_context_t *sccp_info) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
}
| static guint16 dissect_sccp_parameter(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sccp_tree, proto_tree *tree, guint8 parameter_type, int offset, guint16 parameter_length,
sccp_decode_context_t *sccp_info) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
} | -static guint16 dissect_sccp_parameter(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sccp_tree, proto_tree *tree, guint8 parameter_type, guint16 offset, guint16 parameter_length,
+static guint16 dissect_sccp_parameter(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sccp_tree, proto_tree *tree, guint8 parameter_type, in... |
CVE-2018-7324 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-sccp.c | dissect_sccp_variable_parameter | static guint16 dissect_sccp_variable_parameter(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sccp_tree, proto_tree *tree, guint8 parameter_type, guint16 offset, sccp_decode_context_t* sccp_info) {
guint16 parameter_length;
guint8 length_length;
proto_item *pi;
if (parameter_type != PARAMETER_LONG_DATA)... | static guint16 dissect_sccp_variable_parameter(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sccp_tree, proto_tree *tree, guint8 parameter_type, int offset, sccp_decode_context_t* sccp_info) {
guint16 parameter_length;
guint8 length_length;
proto_item *pi;
if (parameter_type != PARAMETER_LONG_DATA) {
... | static guint16 dissect_sccp_variable_parameter(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sccp_tree, proto_tree *tree, guint8 parameter_type, guint16 offset, sccp_decode_context_t* sccp_info) {
guint16 parameter_length;
guint8 length_length;
proto_item *pi;
if (parameter_type != PARAMETER_LONG_DATA)... | static guint16 dissect_sccp_variable_parameter(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sccp_tree, proto_tree *tree, guint8 parameter_type, int offset, sccp_decode_context_t* sccp_info) {
guint16 parameter_length;
guint8 length_length;
proto_item *pi;
if (parameter_type != PARAMETER_LONG_DATA) {
... | static guint16 dissect_sccp_variable_parameter(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sccp_tree, proto_tree *tree, guint8 parameter_type, guint16 offset, sccp_decode_context_t* sccp_info) {
}
| static guint16 dissect_sccp_variable_parameter(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sccp_tree, proto_tree *tree, guint8 parameter_type, int offset, sccp_decode_context_t* sccp_info) {
}
| static guint16 dissect_sccp_variable_parameter(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sccp_tree, proto_tree *tree, guint8 parameter_type, guint16 offset, sccp_decode_context_t* sccp_info) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
}
| static guint16 dissect_sccp_variable_parameter(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sccp_tree, proto_tree *tree, guint8 parameter_type, int offset, sccp_decode_context_t* sccp_info) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
} | -static guint16 dissect_sccp_variable_parameter(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sccp_tree, proto_tree *tree, guint8 parameter_type, guint16 offset, sccp_decode_context_t* sccp_info) {
+static guint16 dissect_sccp_variable_parameter(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sccp_tree, proto_tree *tre... |
CVE-2018-7325 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-rpki-rtr.c | dissect_rpkirtr_pdu | static int dissect_rpkirtr_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data ) {
proto_item *ti = NULL, *ti_flags, *ti_type;
proto_tree *rpkirtr_tree = NULL, *flags_tree = NULL;
int offset = 0;
guint8 pdu_type, version;
guint length;
while (tvb_reported_length_remaining(tvb, of... | static int dissect_rpkirtr_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data ) {
proto_item *ti = NULL, *ti_flags, *ti_type;
proto_tree *rpkirtr_tree = NULL, *flags_tree = NULL;
int offset = 0;
guint8 pdu_type, version;
guint length;
while (tvb_reported_length_remaining(tvb, of... | static int dissect_rpkirtr_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data ) {
proto_item *ti = NULL, *ti_flags, *ti_type;
proto_tree *rpkirtr_tree = NULL, *flags_tree = NULL;
int offset = 0;
guint8 pdu_type, version;
guint length;
while (tvb_reported_length_remaining(tvb, of... | static int dissect_rpkirtr_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data ) {
proto_item *ti = NULL, *ti_flags, *ti_type;
proto_tree *rpkirtr_tree = NULL, *flags_tree = NULL;
int offset = 0;
guint8 pdu_type, version;
guint length;
while (tvb_reported_length_remaining(tvb, of... | static int dissect_rpkirtr_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data ) {
int offset = 0;
guint length;
while (tvb_reported_length_remaining(tvb, offset) != 0) {
ti = proto_tree_add_item(tree, proto_rpkirtr, tvb, 0, -1, ENC_NA);
rpkirtr_tree = proto_item_add_subtree(... | static int dissect_rpkirtr_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data ) {
int offset = 0;
guint length;
while (tvb_reported_length_remaining(tvb, offset) > 0) {
ti = proto_tree_add_item(tree, proto_rpkirtr, tvb, 0, -1, ENC_NA);
rpkirtr_tree = proto_item_add_subtree(t... | static int dissect_rpkirtr_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data ) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
int offset = 0;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
guint length;
while (tvb_reported_length_remaining(tvb, offset) != 0) {
ti = proto_tr... | static int dissect_rpkirtr_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data ) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
int offset = 0;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
guint length;
while (tvb_reported_length_remaining(tvb, offset) > 0) {
ti = proto_tre... | static int dissect_rpkirtr_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data ) {
int offset = 0;
guint length;
- while (tvb_reported_length_remaining(tvb, offset) != 0) {
+ while (tvb_reported_length_remaining(tvb, offset) > 0) {
ti = proto_tree_add_item(tree, proto_rpkirtr, ... |
CVE-2018-7325 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-rpki-rtr.c | proto_register_rpkirtr | void proto_register_rpkirtr(void) {
module_t *rpkirtr_module;
static hf_register_info hf[] = {
{
&hf_rpkirtr_version, {
"Version", "rpki-rtr.version", FT_UT8, BASE_DEC, NULL, 0x0, "Denoting the version of this protocol (currently 0)", HFILL
}
}, {
... | void proto_register_rpkirtr(void) {
module_t *rpkirtr_module;
static hf_register_info hf[] = {
{
&hf_rpkirtr_version, {
"Version", "rpki-rtr.version", FT_UT8, BASE_DEC, NULL, 0x0, "Denoting the version of this protocol (currently 0)", HFILL
}
}, {
... | void proto_register_rpkirtr(void) {
module_t *rpkirtr_module;
static hf_register_info hf[] = {
{
&hf_rpkirtr_version, {
"Version", "rpki-rtr.version", FT_UT8, BASE_DEC, NULL, 0x0, "Denoting the version of this protocol (currently 0)", HFILL
}
}, {
... | void proto_register_rpkirtr(void) {
module_t *rpkirtr_module;
static hf_register_info hf[] = {
{
&hf_rpkirtr_version, {
"Version", "rpki-rtr.version", FT_UT8, BASE_DEC, NULL, 0x0, "Denoting the version of this protocol (currently 0)", HFILL
}
}, {
... | void proto_register_rpkirtr(void) {
static gint *ett[] = {
&ett_rpkirtr, &ett_flags, &ett_flags_nd
};
static ei_register_info ei[] = {
{ &ei_rpkirtr_wrong_version_router_key, { "rpkirtr.router_key.wrong_version", PI_MALFORMED, PI_WARN, "Wrong version for Router Key type", EXPFILL }},
};
... | void proto_register_rpkirtr(void) {
static gint *ett[] = {
&ett_rpkirtr, &ett_flags, &ett_flags_nd
};
static ei_register_info ei[] = {
{ &ei_rpkirtr_wrong_version_router_key, { "rpkirtr.router_key.wrong_version", PI_MALFORMED, PI_WARN, "Wrong version for Router Key type", EXPFILL }}, { &ei_r... | void proto_register_rpkirtr(void) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
static gint *ett[] = {
&ett_rpkirtr, &ett_flags, &ett_flags_nd
};
static ei_register_info ei[] = {
{ &ei_rpkirtr_wrong_version_router_key, { "rpkirtr.router_key.wrong_version", PI_MALFORMED, PI_WARN, "Wrong... | void proto_register_rpkirtr(void) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
static gint *ett[] = {
&ett_rpkirtr, &ett_flags, &ett_flags_nd
};
static ei_register_info ei[] = {
{ &ei_rpkirtr_wrong_version_router_key, { "rpkirtr.router_key.wrong_version", PI_MALFORMED, PI_WARN, "Wrong... | void proto_register_rpkirtr(void) {
static gint *ett[] = {
&ett_rpkirtr, &ett_flags, &ett_flags_nd
};
static ei_register_info ei[] = {
- { &ei_rpkirtr_wrong_version_router_key, { "rpkirtr.router_key.wrong_version", PI_MALFORMED, PI_WARN, "Wrong version for Router Key type", EXPFILL }},
+... |
CVE-2018-7326 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-lltd.c | dissect_lltd_tlv | static int dissect_lltd_tlv(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint32 offset, gboolean* end) {
guint8 i, type, length = 0;
proto_item *tlv_item, *type_item;
proto_tree *tlv_tree, *type_tree;
guint32 temp32;
type = tvb_get_guint8(tvb, offset);
if (type == 0) {
tlv_tree ... | static int dissect_lltd_tlv(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint32 offset, gboolean* end) {
guint8 type, length = 0;
proto_item *tlv_item, *type_item;
proto_tree *tlv_tree, *type_tree;
guint32 i, temp32;
type = tvb_get_guint8(tvb, offset);
if (type == 0) {
tlv_tree ... | static int dissect_lltd_tlv(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint32 offset, gboolean* end) {
guint8 i, type, length = 0;
proto_item *tlv_item, *type_item;
proto_tree *tlv_tree, *type_tree;
guint32 temp32;
type = tvb_get_guint8(tvb, offset);
if (type == 0) {
tlv_tree ... | static int dissect_lltd_tlv(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint32 offset, gboolean* end) {
guint8 type, length = 0;
proto_item *tlv_item, *type_item;
proto_tree *tlv_tree, *type_tree;
guint32 i, temp32;
type = tvb_get_guint8(tvb, offset);
if (type == 0) {
tlv_tree ... | static int dissect_lltd_tlv(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint32 offset, gboolean* end) {
guint8 i, type, length = 0;
proto_item *tlv_item, *type_item;
proto_tree *tlv_tree, *type_tree;
guint32 temp32;
type = tvb_get_guint8(tvb, offset);
if ((type != 0) && (length > tvb_r... | static int dissect_lltd_tlv(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint32 offset, gboolean* end) {
guint8 type, length = 0;
proto_item *tlv_item, *type_item;
proto_tree *tlv_tree, *type_tree;
guint32 i, temp32;
type = tvb_get_guint8(tvb, offset);
if ((type != 0) && (length > tvb_r... | static int dissect_lltd_tlv(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint32 offset, gboolean* end) {
guint8 i, type, length = 0;
proto_item *tlv_item, *type_item;
proto_tree *tlv_tree, *type_tree;
guint32 temp32;
type = tvb_get_guint8(tvb, offset);
/* PLACEHOLDER: DO NOT DELETE THIS... | static int dissect_lltd_tlv(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint32 offset, gboolean* end) {
guint8 type, length = 0;
proto_item *tlv_item, *type_item;
proto_tree *tlv_tree, *type_tree;
guint32 i, temp32;
type = tvb_get_guint8(tvb, offset);
/* PLACEHOLDER: DO NOT DELETE THIS... | static int dissect_lltd_tlv(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint32 offset, gboolean* end) {
- guint8 i, type, length = 0;
+ guint8 type, length = 0;
proto_item *tlv_item, *type_item;
proto_tree *tlv_tree, *type_tree;
- guint32 temp32;
+ guint32 i, temp32;
type = tvb_get... |
CVE-2018-7327 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-openflow_v6.c | dissect_openflow_async_config_prop_v6 | static int dissect_openflow_async_config_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
proto_item *ti;
proto_tree *prop_tree, *pi_tree, *ps_tree, *fr_tree, *rs_tree, *ts_tree, *rf_tree;
guint16 prop_type;
guint16 prop_len;
prop_type = tvb_get_ntohs(tvb, ... | static int dissect_openflow_async_config_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
proto_item *ti, *prop_item;
proto_tree *prop_tree, *pi_tree, *ps_tree, *fr_tree, *rs_tree, *ts_tree, *rf_tree;
guint16 prop_type;
guint16 prop_len;
prop_type = tvb_get... | static int dissect_openflow_async_config_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
proto_item *ti;
proto_tree *prop_tree, *pi_tree, *ps_tree, *fr_tree, *rs_tree, *ts_tree, *rf_tree;
guint16 prop_type;
guint16 prop_len;
prop_type = tvb_get_ntohs(tvb, ... | static int dissect_openflow_async_config_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
proto_item *ti, *prop_item;
proto_tree *prop_tree, *pi_tree, *ps_tree, *fr_tree, *rs_tree, *ts_tree, *rf_tree;
guint16 prop_type;
guint16 prop_len;
prop_type = tvb_get... | static int dissect_openflow_async_config_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
proto_item *ti;
proto_tree *prop_tree, *pi_tree, *ps_tree, *fr_tree, *rs_tree, *ts_tree, *rf_tree;
prop_type = tvb_get_ntohs(tvb, offset);
prop_len = tvb_get_ntohs(tvb, of... | static int dissect_openflow_async_config_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
proto_item *ti, *prop_item;
proto_tree *prop_tree, *pi_tree, *ps_tree, *fr_tree, *rs_tree, *ts_tree, *rf_tree;
prop_type = tvb_get_ntohs(tvb, offset);
prop_len = tvb_get_n... | static int dissect_openflow_async_config_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
proto_item *ti;
proto_tree *prop_tree, *pi_tree, *ps_tree, *fr_tree, *rs_tree, *ts_tree, *rf_tree;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
prop_type = tvb_get_ntohs(... | static int dissect_openflow_async_config_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
proto_item *ti, *prop_item;
proto_tree *prop_tree, *pi_tree, *ps_tree, *fr_tree, *rs_tree, *ts_tree, *rf_tree;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
prop_type = tv... | static int dissect_openflow_async_config_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
- proto_item *ti;
+ proto_item *ti, *prop_item;
proto_tree *prop_tree, *pi_tree, *ps_tree, *fr_tree, *rs_tree, *ts_tree, *rf_tree;
prop_type = tvb_get_ntohs(tvb, offset);... |
CVE-2018-7327 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-openflow_v6.c | dissect_openflow_bundle_prop_v6 | static int dissect_openflow_bundle_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
proto_tree *prop_tree;
guint16 prop_type;
guint16 prop_len;
prop_type = tvb_get_ntohs(tvb, offset);
prop_len = tvb_get_ntohs(tvb, offset + 2);
prop_tree = proto_tree_add... | static int dissect_openflow_bundle_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length) {
proto_tree *prop_tree;
proto_item *prop_item;
guint16 prop_type;
guint16 prop_len;
prop_type = tvb_get_ntohs(tvb, offset);
prop_len = tvb_get_ntohs(tvb, offset + 2);
... | static int dissect_openflow_bundle_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
proto_tree *prop_tree;
guint16 prop_type;
guint16 prop_len;
prop_type = tvb_get_ntohs(tvb, offset);
prop_len = tvb_get_ntohs(tvb, offset + 2);
prop_tree = proto_tree_add... | static int dissect_openflow_bundle_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length) {
proto_tree *prop_tree;
proto_item *prop_item;
guint16 prop_type;
guint16 prop_len;
prop_type = tvb_get_ntohs(tvb, offset);
prop_len = tvb_get_ntohs(tvb, offset + 2);
... | static int dissect_openflow_bundle_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
proto_tree *prop_tree;
guint16 prop_type;
prop_type = tvb_get_ntohs(tvb, offset);
prop_len = tvb_get_ntohs(tvb, offset + 2);
prop_tree = proto_tree_add_subtree(tree, tvb, of... | static int dissect_openflow_bundle_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length) {
proto_tree *prop_tree;
proto_item *prop_item;
guint16 prop_type;
prop_type = tvb_get_ntohs(tvb, offset);
prop_len = tvb_get_ntohs(tvb, offset + 2);
prop_tree = proto_tree... | static int dissect_openflow_bundle_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
proto_tree *prop_tree;
guint16 prop_type;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
prop_type = tvb_get_ntohs(tvb, offset);
prop_len = tvb_get_ntohs(tvb, offset + 2);
... | static int dissect_openflow_bundle_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length) {
proto_tree *prop_tree;
proto_item *prop_item;
guint16 prop_type;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
prop_type = tvb_get_ntohs(tvb, offset);
prop_len = tvb_get_... | -static int dissect_openflow_bundle_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
+static int dissect_openflow_bundle_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length) {
proto_tree *prop_tree;
+ proto_item *prop_item;
guin... |
CVE-2018-7327 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-openflow_v6.c | dissect_openflow_port_desc_prop_v6 | static int dissect_openflow_port_desc_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
proto_tree *prop_tree;
guint16 prop_type;
guint16 prop_length;
prop_type = tvb_get_ntohs(tvb, offset);
prop_length = tvb_get_ntohs(tvb, offset);
prop_tree = proto_tre... | static int dissect_openflow_port_desc_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
proto_tree *prop_tree;
proto_item *prop_item;
guint16 prop_type;
guint16 prop_length;
prop_type = tvb_get_ntohs(tvb, offset);
prop_length = tvb_get_ntohs(tvb, offset)... | static int dissect_openflow_port_desc_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
proto_tree *prop_tree;
guint16 prop_type;
guint16 prop_length;
prop_type = tvb_get_ntohs(tvb, offset);
prop_length = tvb_get_ntohs(tvb, offset);
prop_tree = proto_tre... | static int dissect_openflow_port_desc_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
proto_tree *prop_tree;
proto_item *prop_item;
guint16 prop_type;
guint16 prop_length;
prop_type = tvb_get_ntohs(tvb, offset);
prop_length = tvb_get_ntohs(tvb, offset)... | static int dissect_openflow_port_desc_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
proto_tree *prop_tree;
guint16 prop_type;
prop_type = tvb_get_ntohs(tvb, offset);
prop_length = tvb_get_ntohs(tvb, offset);
prop_tree = proto_tree_add_subtree(tree, tvb, ... | static int dissect_openflow_port_desc_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
proto_tree *prop_tree;
proto_item *prop_item;
guint16 prop_type;
prop_type = tvb_get_ntohs(tvb, offset);
prop_length = tvb_get_ntohs(tvb, offset);
prop_tree = proto_t... | static int dissect_openflow_port_desc_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
proto_tree *prop_tree;
guint16 prop_type;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
prop_type = tvb_get_ntohs(tvb, offset);
prop_length = tvb_get_ntohs(tvb, offset);
... | static int dissect_openflow_port_desc_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
proto_tree *prop_tree;
proto_item *prop_item;
guint16 prop_type;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
prop_type = tvb_get_ntohs(tvb, offset);
prop_length = t... | static int dissect_openflow_port_desc_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
proto_tree *prop_tree;
+ proto_item *prop_item;
guint16 prop_type;
prop_type = tvb_get_ntohs(tvb, offset);
prop_length = tvb_get_ntohs(tvb, offset);
prop_tree = ... |
CVE-2018-7327 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-openflow_v6.c | dissect_openflow_portmod_prop_v6 | static int dissect_openflow_portmod_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
proto_tree *prop_tree;
guint16 prop_type;
guint16 prop_length;
prop_type = tvb_get_ntohs(tvb, offset);
prop_length = tvb_get_ntohs(tvb, offset + 2);
prop_tree = proto_t... | static int dissect_openflow_portmod_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
proto_tree *prop_tree;
proto_item *prop_item;
guint16 prop_type;
guint16 prop_length;
prop_type = tvb_get_ntohs(tvb, offset);
prop_length = tvb_get_ntohs(tvb, offset + ... | static int dissect_openflow_portmod_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
proto_tree *prop_tree;
guint16 prop_type;
guint16 prop_length;
prop_type = tvb_get_ntohs(tvb, offset);
prop_length = tvb_get_ntohs(tvb, offset + 2);
prop_tree = proto_t... | static int dissect_openflow_portmod_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
proto_tree *prop_tree;
proto_item *prop_item;
guint16 prop_type;
guint16 prop_length;
prop_type = tvb_get_ntohs(tvb, offset);
prop_length = tvb_get_ntohs(tvb, offset + ... | static int dissect_openflow_portmod_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
proto_tree *prop_tree;
guint16 prop_type;
prop_type = tvb_get_ntohs(tvb, offset);
prop_length = tvb_get_ntohs(tvb, offset + 2);
prop_tree = proto_tree_add_subtree(tree, tvb... | static int dissect_openflow_portmod_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
proto_tree *prop_tree;
proto_item *prop_item;
guint16 prop_type;
prop_type = tvb_get_ntohs(tvb, offset);
prop_length = tvb_get_ntohs(tvb, offset + 2);
prop_tree = proto... | static int dissect_openflow_portmod_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
proto_tree *prop_tree;
guint16 prop_type;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
prop_type = tvb_get_ntohs(tvb, offset);
prop_length = tvb_get_ntohs(tvb, offset + 2)... | static int dissect_openflow_portmod_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
proto_tree *prop_tree;
proto_item *prop_item;
guint16 prop_type;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
prop_type = tvb_get_ntohs(tvb, offset);
prop_length = tvb... | static int dissect_openflow_portmod_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
proto_tree *prop_tree;
+ proto_item *prop_item;
guint16 prop_type;
prop_type = tvb_get_ntohs(tvb, offset);
prop_length = tvb_get_ntohs(tvb, offset + 2);
prop_tree ... |
CVE-2018-7327 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-openflow_v6.c | dissect_openflow_queue_stats_prop_v6 | static int dissect_openflow_queue_stats_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
proto_tree *prop_tree;
guint16 prop_type;
guint16 prop_length;
prop_type = tvb_get_ntohs(tvb, offset);
prop_length = tvb_get_ntohs(tvb, offset + 2);
prop_tree = pro... | static int dissect_openflow_queue_stats_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
proto_tree *prop_tree;
proto_item *prop_item;
guint16 prop_type;
guint16 prop_length;
prop_type = tvb_get_ntohs(tvb, offset);
prop_length = tvb_get_ntohs(tvb, offse... | static int dissect_openflow_queue_stats_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
proto_tree *prop_tree;
guint16 prop_type;
guint16 prop_length;
prop_type = tvb_get_ntohs(tvb, offset);
prop_length = tvb_get_ntohs(tvb, offset + 2);
prop_tree = pro... | static int dissect_openflow_queue_stats_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
proto_tree *prop_tree;
proto_item *prop_item;
guint16 prop_type;
guint16 prop_length;
prop_type = tvb_get_ntohs(tvb, offset);
prop_length = tvb_get_ntohs(tvb, offse... | static int dissect_openflow_queue_stats_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
proto_tree *prop_tree;
guint16 prop_type;
prop_type = tvb_get_ntohs(tvb, offset);
prop_length = tvb_get_ntohs(tvb, offset + 2);
prop_tree = proto_tree_add_subtree(tree,... | static int dissect_openflow_queue_stats_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
proto_tree *prop_tree;
proto_item *prop_item;
guint16 prop_type;
prop_type = tvb_get_ntohs(tvb, offset);
prop_length = tvb_get_ntohs(tvb, offset + 2);
prop_tree = p... | static int dissect_openflow_queue_stats_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
proto_tree *prop_tree;
guint16 prop_type;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
prop_type = tvb_get_ntohs(tvb, offset);
prop_length = tvb_get_ntohs(tvb, offset ... | static int dissect_openflow_queue_stats_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
proto_tree *prop_tree;
proto_item *prop_item;
guint16 prop_type;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
prop_type = tvb_get_ntohs(tvb, offset);
prop_length =... | static int dissect_openflow_queue_stats_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
proto_tree *prop_tree;
+ proto_item *prop_item;
guint16 prop_type;
prop_type = tvb_get_ntohs(tvb, offset);
prop_length = tvb_get_ntohs(tvb, offset + 2);
prop_t... |
CVE-2018-7327 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-openflow_v6.c | dissect_openflow_tablemod_prop_v6 | static int dissect_openflow_tablemod_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
proto_item *ti;
proto_tree *prop_tree, *flags_tree;
guint16 prop_type;
guint16 prop_length;
prop_type = tvb_get_ntohs(tvb, offset);
prop_length = tvb_get_ntohs(tvb, of... | static int dissect_openflow_tablemod_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
proto_item *ti, *prop_item;
proto_tree *prop_tree, *flags_tree;
guint16 prop_type;
guint16 prop_length;
prop_type = tvb_get_ntohs(tvb, offset);
prop_length = tvb_get_n... | static int dissect_openflow_tablemod_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
proto_item *ti;
proto_tree *prop_tree, *flags_tree;
guint16 prop_type;
guint16 prop_length;
prop_type = tvb_get_ntohs(tvb, offset);
prop_length = tvb_get_ntohs(tvb, of... | static int dissect_openflow_tablemod_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
proto_item *ti, *prop_item;
proto_tree *prop_tree, *flags_tree;
guint16 prop_type;
guint16 prop_length;
prop_type = tvb_get_ntohs(tvb, offset);
prop_length = tvb_get_n... | static int dissect_openflow_tablemod_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
proto_item *ti;
proto_tree *prop_tree, *flags_tree;
prop_type = tvb_get_ntohs(tvb, offset);
prop_length = tvb_get_ntohs(tvb, offset + 2);
prop_tree = proto_tree_add_subtre... | static int dissect_openflow_tablemod_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
proto_item *ti, *prop_item;
proto_tree *prop_tree, *flags_tree;
prop_type = tvb_get_ntohs(tvb, offset);
prop_length = tvb_get_ntohs(tvb, offset + 2);
prop_tree = proto_tre... | static int dissect_openflow_tablemod_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
proto_item *ti;
proto_tree *prop_tree, *flags_tree;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
prop_type = tvb_get_ntohs(tvb, offset);
prop_length = tvb_get_ntohs(tvb, ... | static int dissect_openflow_tablemod_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
proto_item *ti, *prop_item;
proto_tree *prop_tree, *flags_tree;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
prop_type = tvb_get_ntohs(tvb, offset);
prop_length = tvb_get... | static int dissect_openflow_tablemod_prop_v6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length ) {
- proto_item *ti;
+ proto_item *ti, *prop_item;
proto_tree *prop_tree, *flags_tree;
prop_type = tvb_get_ntohs(tvb, offset);
prop_length = tvb_get_ntohs(tvb, offset + 2);... |
CVE-2018-7328 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-usb.c | dissect_darwin_usb_iso_transfer | static gint dissect_darwin_usb_iso_transfer(packet_info *pinfo, proto_tree *tree, usb_header_t header_type, guint8 urb_type, tvbuff_t *tvb, gint32 offset, usb_conv_info_t *usb_conv_info) {
guint32 frame_length;
guint32 frame_header_length;
guint32 status;
guint32 iso_tree_start;
guint32 i;
guint... | static gint dissect_darwin_usb_iso_transfer(packet_info *pinfo, proto_tree *tree, usb_header_t header_type, guint8 urb_type, tvbuff_t *tvb, gint32 offset, usb_conv_info_t *usb_conv_info) {
guint32 frame_length;
guint32 frame_header_length;
guint32 status;
guint32 iso_tree_start;
guint32 i;
guint... | static gint dissect_darwin_usb_iso_transfer(packet_info *pinfo, proto_tree *tree, usb_header_t header_type, guint8 urb_type, tvbuff_t *tvb, gint32 offset, usb_conv_info_t *usb_conv_info) {
guint32 frame_length;
guint32 frame_header_length;
guint32 status;
guint32 iso_tree_start;
guint32 i;
guint... | static gint dissect_darwin_usb_iso_transfer(packet_info *pinfo, proto_tree *tree, usb_header_t header_type, guint8 urb_type, tvbuff_t *tvb, gint32 offset, usb_conv_info_t *usb_conv_info) {
guint32 frame_length;
guint32 frame_header_length;
guint32 status;
guint32 iso_tree_start;
guint32 i;
guint... | static gint dissect_darwin_usb_iso_transfer(packet_info *pinfo, proto_tree *tree, usb_header_t header_type, guint8 urb_type, tvbuff_t *tvb, gint32 offset, usb_conv_info_t *usb_conv_info) {
len = (gint32)tvb_captured_length(tvb);
len -= offset;
tii = proto_tree_add_uint(tree, hf_usb_bInterfaceClass, tvb, off... | static gint dissect_darwin_usb_iso_transfer(packet_info *pinfo, proto_tree *tree, usb_header_t header_type, guint8 urb_type, tvbuff_t *tvb, gint32 offset, usb_conv_info_t *usb_conv_info) {
len = (gint32)tvb_captured_length(tvb);
len -= offset;
tii = proto_tree_add_uint(tree, hf_usb_bInterfaceClass, tvb, off... | static gint dissect_darwin_usb_iso_transfer(packet_info *pinfo, proto_tree *tree, usb_header_t header_type, guint8 urb_type, tvbuff_t *tvb, gint32 offset, usb_conv_info_t *usb_conv_info) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
len = (gint32)tvb_captured_length(tvb);
len -= offset;
tii = proto_tr... | static gint dissect_darwin_usb_iso_transfer(packet_info *pinfo, proto_tree *tree, usb_header_t header_type, guint8 urb_type, tvbuff_t *tvb, gint32 offset, usb_conv_info_t *usb_conv_info) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
len = (gint32)tvb_captured_length(tvb);
len -= offset;
tii = proto_tr... | static gint dissect_darwin_usb_iso_transfer(packet_info *pinfo, proto_tree *tree, usb_header_t header_type, guint8 urb_type, tvbuff_t *tvb, gint32 offset, usb_conv_info_t *usb_conv_info) {
len = (gint32)tvb_captured_length(tvb);
len -= offset;
tii = proto_tree_add_uint(tree, hf_usb_bInterfaceClass, tvb,... |
CVE-2018-7329 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-s7comm.c | s7comm_decode_req_resp | static guint32 s7comm_decode_req_resp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint16 plength, guint16 dlength, guint32 offset, guint8 rosctr) {
proto_item *item = NULL;
proto_tree *param_tree = NULL;
proto_tree *data_tree = NULL;
guint8 function = 0;
guint8 item_count = 0;
guint8 i... | static guint32 s7comm_decode_req_resp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint16 plength, guint16 dlength, guint32 offset, guint8 rosctr) {
proto_item *item = NULL;
proto_tree *param_tree = NULL;
proto_tree *data_tree = NULL;
guint8 function = 0;
guint8 item_count = 0;
guint8 i... | static guint32 s7comm_decode_req_resp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint16 plength, guint16 dlength, guint32 offset, guint8 rosctr) {
proto_item *item = NULL;
proto_tree *param_tree = NULL;
proto_tree *data_tree = NULL;
guint8 function = 0;
guint8 item_count = 0;
guint8 i... | static guint32 s7comm_decode_req_resp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint16 plength, guint16 dlength, guint32 offset, guint8 rosctr) {
proto_item *item = NULL;
proto_tree *param_tree = NULL;
proto_tree *data_tree = NULL;
guint8 function = 0;
guint8 item_count = 0;
guint8 i... | static guint32 s7comm_decode_req_resp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint16 plength, guint16 dlength, guint32 offset, guint8 rosctr) {
if (plength > 0) {
item = proto_tree_add_item(tree, hf_s7comm_param, tvb, offset, plength, ENC_NA);
param_tree = proto_item_add_subtree(item, ... | static guint32 s7comm_decode_req_resp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint16 plength, guint16 dlength, guint32 offset, guint8 rosctr) {
if (plength > 0) {
item = proto_tree_add_item(tree, hf_s7comm_param, tvb, offset, plength, ENC_NA);
param_tree = proto_item_add_subtree(item, ... | static guint32 s7comm_decode_req_resp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint16 plength, guint16 dlength, guint32 offset, guint8 rosctr) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (plength > 0) {
item = proto_tree_add_item(tree, hf_s7comm_param, tvb, offset, plength, ENC_NA);
... | static guint32 s7comm_decode_req_resp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint16 plength, guint16 dlength, guint32 offset, guint8 rosctr) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (plength > 0) {
item = proto_tree_add_item(tree, hf_s7comm_param, tvb, offset, plength, ENC_NA);
... | static guint32 s7comm_decode_req_resp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint16 plength, guint16 dlength, guint32 offset, guint8 rosctr) {
if (plength > 0) {
item = proto_tree_add_item(tree, hf_s7comm_param, tvb, offset, plength, ENC_NA);
param_tree = proto_item_add_subtree(it... |
CVE-2018-7329 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-s7comm.c | s7comm_decode_response_read_data | static guint32 s7comm_decode_response_read_data(tvbuff_t *tvb, proto_tree *tree, guint8 item_count, guint32 offset) {
guint8 ret_val = 0;
guint8 tsize = 0;
guint16 len = 0, len2 = 0;
guint16 head_len = 4;
guint8 i = 0;
proto_item *item = NULL;
proto_tree *item_tree = NULL;
tsize = tvb_ge... | static guint32 s7comm_decode_response_read_data(tvbuff_t *tvb, proto_tree *tree, guint8 item_count, guint32 offset) {
guint8 ret_val = 0;
guint8 tsize = 0;
guint16 len = 0, len2 = 0;
guint16 head_len = 4;
guint8 i = 0;
proto_item *item = NULL;
proto_tree *item_tree = NULL;
tsize = tvb_ge... | static guint32 s7comm_decode_response_read_data(tvbuff_t *tvb, proto_tree *tree, guint8 item_count, guint32 offset) {
guint8 ret_val = 0;
guint8 tsize = 0;
guint16 len = 0, len2 = 0;
guint16 head_len = 4;
guint8 i = 0;
proto_item *item = NULL;
proto_tree *item_tree = NULL;
for (i = 1; i ... | static guint32 s7comm_decode_response_read_data(tvbuff_t *tvb, proto_tree *tree, guint8 item_count, guint32 offset) {
guint8 ret_val = 0;
guint8 tsize = 0;
guint16 len = 0, len2 = 0;
guint16 head_len = 4;
guint8 i = 0;
proto_item *item = NULL;
proto_tree *item_tree = NULL;
for (i = 0; i ... | static guint32 s7comm_decode_response_read_data(tvbuff_t *tvb, proto_tree *tree, guint8 item_count, guint32 offset) {
guint16 len = 0, len2 = 0;
guint16 head_len = 4;
tsize = tvb_get_guint8(tvb, offset + 1);
if (tsize == S7COMM_DATA_TRANSPORT_SIZE_NCKADDR1 || tsize == S7COMM_DATA_TRANSPORT_SIZE_NCKADDR2... | static guint32 s7comm_decode_response_read_data(tvbuff_t *tvb, proto_tree *tree, guint8 item_count, guint32 offset) {
guint16 len = 0, len2 = 0;
guint16 head_len = 4;
tsize = tvb_get_guint8(tvb, offset + 1);
if (tsize == S7COMM_DATA_TRANSPORT_SIZE_NCKADDR1 || tsize == S7COMM_DATA_TRANSPORT_SIZE_NCKADDR2... | static guint32 s7comm_decode_response_read_data(tvbuff_t *tvb, proto_tree *tree, guint8 item_count, guint32 offset) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
guint16 len = 0, len2 = 0;
guint16 head_len = 4;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
for (i = 1; i <= item_count; i++) {
... | static guint32 s7comm_decode_response_read_data(tvbuff_t *tvb, proto_tree *tree, guint8 item_count, guint32 offset) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
guint16 len = 0, len2 = 0;
guint16 head_len = 4;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
for (i = 0; i < item_count; i++) {
... | static guint32 s7comm_decode_response_read_data(tvbuff_t *tvb, proto_tree *tree, guint8 item_count, guint32 offset) {
guint16 len = 0, len2 = 0;
guint16 head_len = 4;
tsize = tvb_get_guint8(tvb, offset + 1);
if (tsize == S7COMM_DATA_TRANSPORT_SIZE_NCKADDR1 || tsize == S7COMM_DATA_TRANSPORT_SIZE_NCK... |
CVE-2018-7329 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-s7comm.c | s7comm_decode_response_write_data | static guint32 s7comm_decode_response_write_data(tvbuff_t *tvb, proto_tree *tree, guint8 item_count, guint32 offset) {
guint8 ret_val = 0;
guint8 i = 0;
proto_item *item = NULL;
proto_tree *item_tree = NULL;
for (i = 1; i <= item_count; i++) {
ret_val = tvb_get_guint8(tvb, offset);
i... | static guint32 s7comm_decode_response_write_data(tvbuff_t *tvb, proto_tree *tree, guint8 item_count, guint32 offset) {
guint8 ret_val = 0;
guint8 i = 0;
proto_item *item = NULL;
proto_tree *item_tree = NULL;
for (i = 0; i < item_count; i++) {
ret_val = tvb_get_guint8(tvb, offset);
it... | static guint32 s7comm_decode_response_write_data(tvbuff_t *tvb, proto_tree *tree, guint8 item_count, guint32 offset) {
guint8 ret_val = 0;
guint8 i = 0;
proto_item *item = NULL;
proto_tree *item_tree = NULL;
for (i = 1; i <= item_count; i++) {
ret_val = tvb_get_guint8(tvb, offset);
i... | static guint32 s7comm_decode_response_write_data(tvbuff_t *tvb, proto_tree *tree, guint8 item_count, guint32 offset) {
guint8 ret_val = 0;
guint8 i = 0;
proto_item *item = NULL;
proto_tree *item_tree = NULL;
for (i = 0; i < item_count; i++) {
ret_val = tvb_get_guint8(tvb, offset);
it... | static guint32 s7comm_decode_response_write_data(tvbuff_t *tvb, proto_tree *tree, guint8 item_count, guint32 offset) {
proto_tree *item_tree = NULL;
for (i = 1; i <= item_count; i++) {
ret_val = tvb_get_guint8(tvb, offset);
item = proto_tree_add_item(tree, hf_s7comm_data_item, tvb, offset, 1, EN... | static guint32 s7comm_decode_response_write_data(tvbuff_t *tvb, proto_tree *tree, guint8 item_count, guint32 offset) {
proto_tree *item_tree = NULL;
for (i = 0; i < item_count; i++) {
ret_val = tvb_get_guint8(tvb, offset);
item = proto_tree_add_item(tree, hf_s7comm_data_item, tvb, offset, 1, ENC... | static guint32 s7comm_decode_response_write_data(tvbuff_t *tvb, proto_tree *tree, guint8 item_count, guint32 offset) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
proto_tree *item_tree = NULL;
for (i = 1; i <= item_count; i++) {
ret_val = tvb_get_guint8(tvb, offset);
item = proto_tree_add_... | static guint32 s7comm_decode_response_write_data(tvbuff_t *tvb, proto_tree *tree, guint8 item_count, guint32 offset) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
proto_tree *item_tree = NULL;
for (i = 0; i < item_count; i++) {
ret_val = tvb_get_guint8(tvb, offset);
item = proto_tree_add_i... | static guint32 s7comm_decode_response_write_data(tvbuff_t *tvb, proto_tree *tree, guint8 item_count, guint32 offset) {
proto_tree *item_tree = NULL;
- for (i = 1; i <= item_count; i++) {
+ for (i = 0; i < item_count; i++) {
ret_val = tvb_get_guint8(tvb, offset);
item = proto_tree_add_item(... |
CVE-2018-7329 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-s7comm.c | s7comm_decode_ud_cpu_alarm_main | static guint32 s7comm_decode_ud_cpu_alarm_main(tvbuff_t *tvb, packet_info *pinfo, proto_tree *data_tree, guint8 type, guint8 subfunc, guint32 offset) {
guint32 start_offset;
guint32 asc_start_offset;
guint32 msg_obj_start_offset;
guint32 ev_id;
proto_item *msg_item = NULL;
proto_tree *msg_item_t... | static guint32 s7comm_decode_ud_cpu_alarm_main(tvbuff_t *tvb, packet_info *pinfo, proto_tree *data_tree, guint8 type, guint8 subfunc, guint32 offset) {
guint32 start_offset;
guint32 asc_start_offset;
guint32 msg_obj_start_offset;
guint32 ev_id;
proto_item *msg_item = NULL;
proto_tree *msg_item_t... | static guint32 s7comm_decode_ud_cpu_alarm_main(tvbuff_t *tvb, packet_info *pinfo, proto_tree *data_tree, guint8 type, guint8 subfunc, guint32 offset) {
guint32 start_offset;
guint32 asc_start_offset;
guint32 msg_obj_start_offset;
guint32 ev_id;
proto_item *msg_item = NULL;
proto_tree *msg_item_t... | static guint32 s7comm_decode_ud_cpu_alarm_main(tvbuff_t *tvb, packet_info *pinfo, proto_tree *data_tree, guint8 type, guint8 subfunc, guint32 offset) {
guint32 start_offset;
guint32 asc_start_offset;
guint32 msg_obj_start_offset;
guint32 ev_id;
proto_item *msg_item = NULL;
proto_tree *msg_item_t... | static guint32 s7comm_decode_ud_cpu_alarm_main(tvbuff_t *tvb, packet_info *pinfo, proto_tree *data_tree, guint8 type, guint8 subfunc, guint32 offset) {
msg_item = proto_tree_add_item(data_tree, hf_s7comm_cpu_alarm_message_item, tvb, offset, 0, ENC_NA);
msg_item_tree = proto_item_add_subtree(msg_item, ett_s7comm... | static guint32 s7comm_decode_ud_cpu_alarm_main(tvbuff_t *tvb, packet_info *pinfo, proto_tree *data_tree, guint8 type, guint8 subfunc, guint32 offset) {
msg_item = proto_tree_add_item(data_tree, hf_s7comm_cpu_alarm_message_item, tvb, offset, 0, ENC_NA);
msg_item_tree = proto_item_add_subtree(msg_item, ett_s7comm... | static guint32 s7comm_decode_ud_cpu_alarm_main(tvbuff_t *tvb, packet_info *pinfo, proto_tree *data_tree, guint8 type, guint8 subfunc, guint32 offset) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
msg_item = proto_tree_add_item(data_tree, hf_s7comm_cpu_alarm_message_item, tvb, offset, 0, ENC_NA);
msg_item_... | static guint32 s7comm_decode_ud_cpu_alarm_main(tvbuff_t *tvb, packet_info *pinfo, proto_tree *data_tree, guint8 type, guint8 subfunc, guint32 offset) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
msg_item = proto_tree_add_item(data_tree, hf_s7comm_cpu_alarm_message_item, tvb, offset, 0, ENC_NA);
msg_item_... | static guint32 s7comm_decode_ud_cpu_alarm_main(tvbuff_t *tvb, packet_info *pinfo, proto_tree *data_tree, guint8 type, guint8 subfunc, guint32 offset) {
msg_item = proto_tree_add_item(data_tree, hf_s7comm_cpu_alarm_message_item, tvb, offset, 0, ENC_NA);
msg_item_tree = proto_item_add_subtree(msg_item, ett_s7c... |
CVE-2018-7329 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-s7comm.c | s7comm_decode_ud_cyclic_subfunc | static guint32 s7comm_decode_ud_cyclic_subfunc(tvbuff_t *tvb, proto_tree *data_tree, guint8 type, guint8 subfunc, guint16 dlength, guint32 offset) {
gboolean know_data = FALSE;
guint32 offset_old;
guint32 len_item;
guint8 item_count;
guint8 i;
switch (subfunc) {
case S7COMM_UD_SUBF_CYCLIC_ME... | static guint32 s7comm_decode_ud_cyclic_subfunc(tvbuff_t *tvb, proto_tree *data_tree, guint8 type, guint8 subfunc, guint16 dlength, guint32 offset) {
gboolean know_data = FALSE;
guint32 offset_old;
guint32 len_item;
guint8 item_count;
guint8 i;
switch (subfunc) {
case S7COMM_UD_SUBF_CYCLIC_ME... | static guint32 s7comm_decode_ud_cyclic_subfunc(tvbuff_t *tvb, proto_tree *data_tree, guint8 type, guint8 subfunc, guint16 dlength, guint32 offset) {
gboolean know_data = FALSE;
guint32 offset_old;
guint32 len_item;
guint8 item_count;
guint8 i;
switch (subfunc) {
case S7COMM_UD_SUBF_CYCLIC_ME... | static guint32 s7comm_decode_ud_cyclic_subfunc(tvbuff_t *tvb, proto_tree *data_tree, guint8 type, guint8 subfunc, guint16 dlength, guint32 offset) {
gboolean know_data = FALSE;
guint32 offset_old;
guint32 len_item;
guint8 item_count;
guint8 i;
switch (subfunc) {
case S7COMM_UD_SUBF_CYCLIC_ME... | static guint32 s7comm_decode_ud_cyclic_subfunc(tvbuff_t *tvb, proto_tree *data_tree, guint8 type, guint8 subfunc, guint16 dlength, guint32 offset) {
switch (subfunc) {
case S7COMM_UD_SUBF_CYCLIC_MEM2:
item_count = tvb_get_guint8(tvb, offset + 1);
proto_tree_add_uint(data_tree, hf_s7comm_param_it... | static guint32 s7comm_decode_ud_cyclic_subfunc(tvbuff_t *tvb, proto_tree *data_tree, guint8 type, guint8 subfunc, guint16 dlength, guint32 offset) {
switch (subfunc) {
case S7COMM_UD_SUBF_CYCLIC_MEM2:
item_count = tvb_get_guint8(tvb, offset + 1);
proto_tree_add_uint(data_tree, hf_s7comm_param_it... | static guint32 s7comm_decode_ud_cyclic_subfunc(tvbuff_t *tvb, proto_tree *data_tree, guint8 type, guint8 subfunc, guint16 dlength, guint32 offset) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
switch (subfunc) {
case S7COMM_UD_SUBF_CYCLIC_MEM:
item_count = tvb_get_guint8(tvb, offset + 1);
... | static guint32 s7comm_decode_ud_cyclic_subfunc(tvbuff_t *tvb, proto_tree *data_tree, guint8 type, guint8 subfunc, guint16 dlength, guint32 offset) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
switch (subfunc) {
case S7COMM_UD_SUBF_CYCLIC_MEM:
item_count = tvb_get_guint8(tvb, offset + 1);
... | static guint32 s7comm_decode_ud_cyclic_subfunc(tvbuff_t *tvb, proto_tree *data_tree, guint8 type, guint8 subfunc, guint16 dlength, guint32 offset) {
switch (subfunc) {
case S7COMM_UD_SUBF_CYCLIC_MEM2:
item_count = tvb_get_guint8(tvb, offset + 1);
proto_tree_add_uint(data_tree, hf_s7comm_par... |
CVE-2018-7330 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-thread.c | dissect_thread_mc | static int dissect_thread_mc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data ) {
proto_item *proto_root;
proto_tree *thread_mc_tree;
proto_tree *tlv_tree;
guint offset = 0;
proto_item *ti;
proto_item *pi;
guint8 tlv_type;
guint16 tlv_len;
tlv_len_len_e tlv_len_len;
... | static int dissect_thread_mc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data ) {
proto_item *proto_root;
proto_tree *thread_mc_tree;
proto_tree *tlv_tree;
guint offset = 0;
proto_item *ti;
proto_item *pi;
guint8 tlv_type;
guint16 tlv_len;
tlv_len_len_e tlv_len_len;
... | static int dissect_thread_mc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data ) {
proto_item *proto_root;
proto_tree *thread_mc_tree;
proto_tree *tlv_tree;
guint offset = 0;
proto_item *ti;
proto_item *pi;
guint8 tlv_type;
guint16 tlv_len;
tlv_len_len_e tlv_len_len;
... | static int dissect_thread_mc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data ) {
proto_item *proto_root;
proto_tree *thread_mc_tree;
proto_tree *tlv_tree;
guint offset = 0;
proto_item *ti;
proto_item *pi;
guint8 tlv_type;
guint16 tlv_len;
tlv_len_len_e tlv_len_len;
... | static int dissect_thread_mc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data ) {
guint offset = 0;
proto_root = proto_tree_add_item(tree, proto_thread_mc, tvb, 0, tvb_reported_length(tvb), ENC_NA);
thread_mc_tree = proto_item_add_subtree(proto_root, ett_thread_mc);
chancount = get_chanco... | static int dissect_thread_mc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data ) {
guint offset = 0;
proto_root = proto_tree_add_item(tree, proto_thread_mc, tvb, 0, tvb_reported_length(tvb), ENC_NA);
thread_mc_tree = proto_item_add_subtree(proto_root, ett_thread_mc);
chancount = get_chanco... | static int dissect_thread_mc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data ) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
guint offset = 0;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
proto_root = proto_tree_add_item(tree, proto_thread_mc, tvb, 0, tvb_reported_length(tvb), ENC_NA)... | static int dissect_thread_mc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data ) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
guint offset = 0;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
proto_root = proto_tree_add_item(tree, proto_thread_mc, tvb, 0, tvb_reported_length(tvb), ENC_NA)... | static int dissect_thread_mc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data ) {
guint offset = 0;
proto_root = proto_tree_add_item(tree, proto_thread_mc, tvb, 0, tvb_reported_length(tvb), ENC_NA);
thread_mc_tree = proto_item_add_subtree(proto_root, ett_thread_mc);
chancount = get_c... |
CVE-2018-7330 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-thread.c | get_chancount | static guint get_chancount(tvbuff_t *tvb) {
guint offset;
guint8 tlv_type;
guint16 tlv_len;
tlv_len_len_e tlv_len_len;
guint chancount = THREAD_MC_VALID_CHAN_COUNT;
offset = 0;
while (tvb_offset_exists(tvb, offset)) {
tlv_type = tvb_get_guint8(tvb, offset);
tlv_len = (guint16... | static guint get_chancount(tvbuff_t *tvb) {
guint offset;
guint8 tlv_type;
guint16 tlv_len;
tlv_len_len_e tlv_len_len;
guint chancount = THREAD_MC_VALID_CHAN_COUNT;
offset = 0;
while (tvb_offset_exists(tvb, offset)) {
tlv_type = tvb_get_guint8(tvb, offset);
tlv_len = (guint16... | static guint get_chancount(tvbuff_t *tvb) {
guint offset;
guint8 tlv_type;
guint16 tlv_len;
tlv_len_len_e tlv_len_len;
guint chancount = THREAD_MC_VALID_CHAN_COUNT;
offset = 0;
while (tvb_offset_exists(tvb, offset)) {
tlv_type = tvb_get_guint8(tvb, offset);
tlv_len = (guint16... | static guint get_chancount(tvbuff_t *tvb) {
guint offset;
guint8 tlv_type;
guint16 tlv_len;
tlv_len_len_e tlv_len_len;
guint chancount = THREAD_MC_VALID_CHAN_COUNT;
offset = 0;
while (tvb_offset_exists(tvb, offset)) {
tlv_type = tvb_get_guint8(tvb, offset);
tlv_len = (guint16... | static guint get_chancount(tvbuff_t *tvb) {
offset = 0;
while (tvb_offset_exists(tvb, offset)) {
tlv_type = tvb_get_guint8(tvb, offset);
tlv_len = (guint16)tvb_get_guint8(tvb, offset + 1);
if (THREAD_TLV_LENGTH_ESC == tlv_len) {
tlv_len = tvb_get_ntohs(tvb, offset + 2);
... | static guint get_chancount(tvbuff_t *tvb) {
offset = 0;
while (tvb_offset_exists(tvb, offset)) {
tlv_type = tvb_get_guint8(tvb, offset);
tlv_len = (guint16)tvb_get_guint8(tvb, offset + 1);
if (THREAD_TLV_LENGTH_ESC == tlv_len) {
tlv_len = tvb_get_ntohs(tvb, offset + 2);
... | static guint get_chancount(tvbuff_t *tvb) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
offset = 0;
while (tvb_offset_exists(tvb, offset)) {
tlv_type = tvb_get_guint8(tvb, offset);
tlv_len = (guint16)tvb_get_guint8(tvb, offset + 1);
if (THREAD_TLV_LENGTH_ESC == tlv_len) {
... | static guint get_chancount(tvbuff_t *tvb) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
offset = 0;
while (tvb_offset_exists(tvb, offset)) {
tlv_type = tvb_get_guint8(tvb, offset);
tlv_len = (guint16)tvb_get_guint8(tvb, offset + 1);
if (THREAD_TLV_LENGTH_ESC == tlv_len) {
... | static guint get_chancount(tvbuff_t *tvb) {
offset = 0;
while (tvb_offset_exists(tvb, offset)) {
tlv_type = tvb_get_guint8(tvb, offset);
tlv_len = (guint16)tvb_get_guint8(tvb, offset + 1);
if (THREAD_TLV_LENGTH_ESC == tlv_len) {
tlv_len = tvb_get_ntohs(tvb, offset + 2)... |
CVE-2018-7331 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-ber.c | dissect_ber_constrained_octet_string_impl | static int dissect_ber_constrained_octet_string_impl(gboolean implicit_tag, asn1_ctx_t *actx, proto_tree *tree, tvbuff_t *tvb, int offset, gint32 min_len, gint32 max_len, gint hf_id,
tvbuff_t **out_tvb, guint nest_level) {
gint8 ber_class;
gboolean pc, ind;
gint32 tag;
guint32 len;
guint enc... | static int dissect_ber_constrained_octet_string_impl(gboolean implicit_tag, asn1_ctx_t *actx, proto_tree *tree, tvbuff_t *tvb, int offset, gint32 min_len, gint32 max_len, gint hf_id,
tvbuff_t **out_tvb, guint nest_level) {
gint8 ber_class;
gboolean pc, ind;
gint32 tag;
guint32 len;
guint enc... | static int dissect_ber_constrained_octet_string_impl(gboolean implicit_tag, asn1_ctx_t *actx, proto_tree *tree, tvbuff_t *tvb, int offset, gint32 min_len, gint32 max_len, gint hf_id,
tvbuff_t **out_tvb, guint nest_level) {
gint8 ber_class;
gboolean pc, ind;
gint32 tag;
guint32 len;
guint enc... | static int dissect_ber_constrained_octet_string_impl(gboolean implicit_tag, asn1_ctx_t *actx, proto_tree *tree, tvbuff_t *tvb, int offset, gint32 min_len, gint32 max_len, gint hf_id,
tvbuff_t **out_tvb, guint nest_level) {
gint8 ber_class;
gboolean pc, ind;
gint32 tag;
guint32 len;
guint enc... | static int dissect_ber_constrained_octet_string_impl(gboolean implicit_tag, asn1_ctx_t *actx, proto_tree *tree, tvbuff_t *tvb, int offset, gint32 min_len, gint32 max_len, gint hf_id,
tvbuff_t **out_tvb, guint nest_level) {
{
if (hf_id >= 0) {
hfinfo = proto_registrar_get_nth(hf_id);
... | static int dissect_ber_constrained_octet_string_impl(gboolean implicit_tag, asn1_ctx_t *actx, proto_tree *tree, tvbuff_t *tvb, int offset, gint32 min_len, gint32 max_len, gint hf_id,
tvbuff_t **out_tvb, guint nest_level) {
{
if (hf_id >= 0) {
hfinfo = proto_registrar_get_nth(hf_id);
... | static int dissect_ber_constrained_octet_string_impl(gboolean implicit_tag, asn1_ctx_t *actx, proto_tree *tree, tvbuff_t *tvb, int offset, gint32 min_len, gint32 max_len, gint hf_id,
tvbuff_t **out_tvb, guint nest_level) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
{
/* PLACEHOLDER: DO NOT DELETE... | static int dissect_ber_constrained_octet_string_impl(gboolean implicit_tag, asn1_ctx_t *actx, proto_tree *tree, tvbuff_t *tvb, int offset, gint32 min_len, gint32 max_len, gint hf_id,
tvbuff_t **out_tvb, guint nest_level) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
{
/* PLACEHOLDER: DO NOT DELETE... | static int dissect_ber_constrained_octet_string_impl(gboolean implicit_tag, asn1_ctx_t *actx, proto_tree *tree, tvbuff_t *tvb, int offset, gint32 min_len, gint32 max_len, gint hf_id,
tvbuff_t **out_tvb, guint nest_level) {
{
if (hf_id >= 0) {
hfinfo = proto_registrar_get_nth(hf_id);... |
CVE-2018-7331 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-ber.c | dissect_ber_real | int dissect_ber_real(gboolean implicit_tag, asn1_ctx_t *actx, proto_tree *tree, tvbuff_t *tvb, int offset, gint hf_id, double *value) {
gint8 ber_class;
gboolean pc;
gint32 tag;
guint32 val_length = 0, len_remain, end_offset;
double val = 0;
proto_item *cause;
if (!implicit_tag) {
of... | int dissect_ber_real(gboolean implicit_tag, asn1_ctx_t *actx, proto_tree *tree, tvbuff_t *tvb, int offset, gint hf_id, double *value) {
gint8 ber_class;
gboolean pc;
gint32 tag;
guint32 val_length = 0, len_remain, end_offset;
double val = 0;
proto_item *cause;
if (!implicit_tag) {
of... | int dissect_ber_real(gboolean implicit_tag, asn1_ctx_t *actx, proto_tree *tree, tvbuff_t *tvb, int offset, gint hf_id, double *value) {
gint8 ber_class;
gboolean pc;
gint32 tag;
guint32 val_length = 0, len_remain, end_offset;
double val = 0;
proto_item *cause;
if (!implicit_tag) {
of... | int dissect_ber_real(gboolean implicit_tag, asn1_ctx_t *actx, proto_tree *tree, tvbuff_t *tvb, int offset, gint hf_id, double *value) {
gint8 ber_class;
gboolean pc;
gint32 tag;
guint32 val_length = 0, len_remain, end_offset;
double val = 0;
proto_item *cause;
if (!implicit_tag) {
of... | int dissect_ber_real(gboolean implicit_tag, asn1_ctx_t *actx, proto_tree *tree, tvbuff_t *tvb, int offset, gint hf_id, double *value) {
guint32 val_length = 0, len_remain, end_offset;
if (!implicit_tag) {
} else {
len_remain = (guint32)tvb_reported_length_remaining(tvb, offset);
if (len_rema... | int dissect_ber_real(gboolean implicit_tag, asn1_ctx_t *actx, proto_tree *tree, tvbuff_t *tvb, int offset, gint hf_id, double *value) {
guint32 val_length = 0, len_remain, end_offset;
if (!implicit_tag) {
} else {
len_remain = (guint32)tvb_reported_length_remaining(tvb, offset);
if (len_rema... | int dissect_ber_real(gboolean implicit_tag, asn1_ctx_t *actx, proto_tree *tree, tvbuff_t *tvb, int offset, gint hf_id, double *value) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
guint32 val_length = 0, len_remain, end_offset;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (!implicit_tag) {
/* ... | int dissect_ber_real(gboolean implicit_tag, asn1_ctx_t *actx, proto_tree *tree, tvbuff_t *tvb, int offset, gint hf_id, double *value) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
guint32 val_length = 0, len_remain, end_offset;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (!implicit_tag) {
/* ... | int dissect_ber_real(gboolean implicit_tag, asn1_ctx_t *actx, proto_tree *tree, tvbuff_t *tvb, int offset, gint hf_id, double *value) {
guint32 val_length = 0, len_remain, end_offset;
if (!implicit_tag) {
} else {
len_remain = (guint32)tvb_reported_length_remaining(tvb, offset);
if (le... |
CVE-2018-7331 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-ber.c | dissect_ber_set | int dissect_ber_set(gboolean implicit_tag, asn1_ctx_t *actx, proto_tree *parent_tree, tvbuff_t *tvb, int offset, const ber_sequence_t *set, gint hf_id, gint ett_id) {
gint8 classx;
gboolean pcx, ind = 0, ind_field, imp_tag = FALSE;
gint32 tagx;
guint32 lenx;
proto_tree *tree = parent_tree;
proto... | int dissect_ber_set(gboolean implicit_tag, asn1_ctx_t *actx, proto_tree *parent_tree, tvbuff_t *tvb, int offset, const ber_sequence_t *set, gint hf_id, gint ett_id) {
gint8 classx;
gboolean pcx, ind = 0, ind_field, imp_tag = FALSE;
gint32 tagx;
guint32 lenx;
proto_tree *tree = parent_tree;
proto... | int dissect_ber_set(gboolean implicit_tag, asn1_ctx_t *actx, proto_tree *parent_tree, tvbuff_t *tvb, int offset, const ber_sequence_t *set, gint hf_id, gint ett_id) {
gint8 classx;
gboolean pcx, ind = 0, ind_field, imp_tag = FALSE;
gint32 tagx;
guint32 lenx;
proto_tree *tree = parent_tree;
proto... | int dissect_ber_set(gboolean implicit_tag, asn1_ctx_t *actx, proto_tree *parent_tree, tvbuff_t *tvb, int offset, const ber_sequence_t *set, gint hf_id, gint ett_id) {
gint8 classx;
gboolean pcx, ind = 0, ind_field, imp_tag = FALSE;
gint32 tagx;
guint32 lenx;
proto_tree *tree = parent_tree;
proto... | int dissect_ber_set(gboolean implicit_tag, asn1_ctx_t *actx, proto_tree *parent_tree, tvbuff_t *tvb, int offset, const ber_sequence_t *set, gint hf_id, gint ett_id) {
gboolean pcx, ind = 0, ind_field, imp_tag = FALSE;
proto_tree *tree = parent_tree;
{
if (hf_id >= 0) {
hfinfo = proto_reg... | int dissect_ber_set(gboolean implicit_tag, asn1_ctx_t *actx, proto_tree *parent_tree, tvbuff_t *tvb, int offset, const ber_sequence_t *set, gint hf_id, gint ett_id) {
gboolean pcx, ind = 0, ind_field, imp_tag = FALSE;
proto_tree *tree = parent_tree;
{
if (hf_id >= 0) {
hfinfo = proto_reg... | int dissect_ber_set(gboolean implicit_tag, asn1_ctx_t *actx, proto_tree *parent_tree, tvbuff_t *tvb, int offset, const ber_sequence_t *set, gint hf_id, gint ett_id) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
gboolean pcx, ind = 0, ind_field, imp_tag = FALSE;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT *... | int dissect_ber_set(gboolean implicit_tag, asn1_ctx_t *actx, proto_tree *parent_tree, tvbuff_t *tvb, int offset, const ber_sequence_t *set, gint hf_id, gint ett_id) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
gboolean pcx, ind = 0, ind_field, imp_tag = FALSE;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT *... | int dissect_ber_set(gboolean implicit_tag, asn1_ctx_t *actx, proto_tree *parent_tree, tvbuff_t *tvb, int offset, const ber_sequence_t *set, gint hf_id, gint ett_id) {
gboolean pcx, ind = 0, ind_field, imp_tag = FALSE;
proto_tree *tree = parent_tree;
{
if (hf_id >= 0) {
hfinfo = pro... |
CVE-2018-7331 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-ber.c | try_dissect_unknown_ber | static int try_dissect_unknown_ber(packet_info *pinfo, tvbuff_t *tvb, volatile int offset, proto_tree *tree, gint nest_level) {
int start_offset;
gint8 ber_class;
gboolean pc, ind;
gint32 tag;
guint32 len;
int hdr_len;
proto_item *item = NULL;
proto_tree *next_tree = NULL;
guint8 c;
... | static int try_dissect_unknown_ber(packet_info *pinfo, tvbuff_t *tvb, volatile int offset, proto_tree *tree, gint nest_level) {
int start_offset;
gint8 ber_class;
gboolean pc, ind;
gint32 tag;
guint32 len;
int hdr_len;
proto_item *item = NULL;
proto_tree *next_tree = NULL;
guint8 c;
... | static int try_dissect_unknown_ber(packet_info *pinfo, tvbuff_t *tvb, volatile int offset, proto_tree *tree, gint nest_level) {
int start_offset;
gint8 ber_class;
gboolean pc, ind;
gint32 tag;
guint32 len;
int hdr_len;
proto_item *item = NULL;
proto_tree *next_tree = NULL;
guint8 c;
... | static int try_dissect_unknown_ber(packet_info *pinfo, tvbuff_t *tvb, volatile int offset, proto_tree *tree, gint nest_level) {
int start_offset;
gint8 ber_class;
gboolean pc, ind;
gint32 tag;
guint32 len;
int hdr_len;
proto_item *item = NULL;
proto_tree *next_tree = NULL;
guint8 c;
... | static int try_dissect_unknown_ber(packet_info *pinfo, tvbuff_t *tvb, volatile int offset, proto_tree *tree, gint nest_level) {
start_offset = offset;
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
offset = get_ber_identifier(tvb, offset, &ber_class, &pc, &tag);
offset = get_ber_length(tvb, offset... | static int try_dissect_unknown_ber(packet_info *pinfo, tvbuff_t *tvb, volatile int offset, proto_tree *tree, gint nest_level) {
start_offset = offset;
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
offset = get_ber_identifier(tvb, offset, &ber_class, &pc, &tag);
offset = get_ber_length(tvb, offset... | static int try_dissect_unknown_ber(packet_info *pinfo, tvbuff_t *tvb, volatile int offset, proto_tree *tree, gint nest_level) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
start_offset = offset;
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
offset = get_ber_identifier(tvb, offset, &ber_class, &... | static int try_dissect_unknown_ber(packet_info *pinfo, tvbuff_t *tvb, volatile int offset, proto_tree *tree, gint nest_level) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
start_offset = offset;
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
offset = get_ber_identifier(tvb, offset, &ber_class, &... | static int try_dissect_unknown_ber(packet_info *pinfo, tvbuff_t *tvb, volatile int offset, proto_tree *tree, gint nest_level) {
start_offset = offset;
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
offset = get_ber_identifier(tvb, offset, &ber_class, &pc, &tag);
offset = get_ber_length(tvb, o... |
CVE-2018-7332 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-reload.c | dissect_statans | static int dissect_statans(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint16 offset, guint16 length) {
proto_item *ti_statans;
proto_tree *statans_tree;
guint32 kind_responses_length;
guint32 kind_responses_offset = 0;
int nResponses = 0;
kind_responses_length = tvb_get_ntohl(tvb, off... | static int dissect_statans(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint16 offset, guint16 length) {
proto_item *ti_statans;
proto_tree *statans_tree;
guint32 kind_responses_length;
guint32 kind_responses_offset = 0;
int nResponses = 0;
kind_responses_length = tvb_get_ntohl(tvb, off... | static int dissect_statans(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint16 offset, guint16 length) {
proto_item *ti_statans;
proto_tree *statans_tree;
guint32 kind_responses_length;
guint32 kind_responses_offset = 0;
int nResponses = 0;
kind_responses_length = tvb_get_ntohl(tvb, off... | static int dissect_statans(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint16 offset, guint16 length) {
proto_item *ti_statans;
proto_tree *statans_tree;
guint32 kind_responses_length;
guint32 kind_responses_offset = 0;
int nResponses = 0;
kind_responses_length = tvb_get_ntohl(tvb, off... | static int dissect_statans(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint16 offset, guint16 length) {
kind_responses_length = tvb_get_ntohl(tvb, offset);
if (4 + kind_responses_length > length) {
ti_statans = proto_tree_add_item(tree, hf_reload_statans, tvb, offset, length, ENC_NA);
... | static int dissect_statans(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint16 offset, guint16 length) {
kind_responses_length = tvb_get_ntohl(tvb, offset);
if (kind_responses_length > G_MAXUT16 || 4 + kind_responses_length > length) {
ti_statans = proto_tree_add_item(tree, hf_reload_statans, t... | static int dissect_statans(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint16 offset, guint16 length) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
kind_responses_length = tvb_get_ntohl(tvb, offset);
if (4 + kind_responses_length > length) {
ti_statans = proto_tree_add_item(tree, hf_relo... | static int dissect_statans(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint16 offset, guint16 length) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
kind_responses_length = tvb_get_ntohl(tvb, offset);
if (kind_responses_length > G_MAXUT16 || 4 + kind_responses_length > length) {
ti_statan... | static int dissect_statans(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint16 offset, guint16 length) {
kind_responses_length = tvb_get_ntohl(tvb, offset);
- if (4 + kind_responses_length > length) {
+ if (kind_responses_length > G_MAXUT16 || 4 + kind_responses_length > length) {
ti_stata... |
CVE-2018-7333 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-rpcrdma.c | get_write_chunk_size | static guint get_write_chunk_size(tvbuff_t *tvb, guint offset) {
guint segment_count;
segment_count = tvb_get_ntohl(tvb, offset);
return 4 + (segment_count * 16);
} | static guint get_write_chunk_size(tvbuff_t *tvb, guint offset) {
guint segment_count;
guint max_count = (guint)tvb_reported_length_remaining(tvb, offset + 4) / 16;
segment_count = tvb_get_ntohl(tvb, offset);
if (segment_count > max_count) {
segment_count = max_count;
}
return 4 + (segmen... | static guint get_write_chunk_size(tvbuff_t *tvb, guint offset) {
guint segment_count;
segment_count = tvb_get_ntohl(tvb, offset);
return 4 + (segment_count * 16);
} | static guint get_write_chunk_size(tvbuff_t *tvb, guint offset) {
guint segment_count;
guint max_count = (guint)tvb_reported_length_remaining(tvb, offset + 4) / 16;
segment_count = tvb_get_ntohl(tvb, offset);
if (segment_count > max_count) {
segment_count = max_count;
}
return 4 + (segmen... | static guint get_write_chunk_size(tvbuff_t *tvb, guint offset) {
guint segment_count;
segment_count = tvb_get_ntohl(tvb, offset);
return 4 + (segment_count * 16);
}
| static guint get_write_chunk_size(tvbuff_t *tvb, guint offset) {
guint segment_count;
guint max_count = (guint)tvb_reported_length_remaining(tvb, offset + 4) / 16;
segment_count = tvb_get_ntohl(tvb, offset);
if (segment_count > max_count) {
segment_count = max_count;
}
return 4 + (segmen... | static guint get_write_chunk_size(tvbuff_t *tvb, guint offset) {
guint segment_count;
segment_count = tvb_get_ntohl(tvb, offset);
return 4 + (segment_count * 16);
}
| static guint get_write_chunk_size(tvbuff_t *tvb, guint offset) {
guint segment_count;
guint max_count = (guint)tvb_reported_length_remaining(tvb, offset + 4) / 16;
segment_count = tvb_get_ntohl(tvb, offset);
if (segment_count > max_count) {
segment_count = max_count;
}
return 4 + (segmen... | static guint get_write_chunk_size(tvbuff_t *tvb, guint offset) {
guint segment_count;
+ guint max_count = (guint)tvb_reported_length_remaining(tvb, offset + 4) / 16;
segment_count = tvb_get_ntohl(tvb, offset);
+ if (segment_count > max_count) {
+ segment_count = max_count;
+ }
return 4 +... |
CVE-2018-7333 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-rpcrdma.c | get_write_list_chunk_count | static guint get_write_list_chunk_count(tvbuff_t *tvb, guint offset) {
guint32 value_follows;
guint num_chunks, chunk_size;
num_chunks = 0;
while (1) {
value_follows = tvb_get_ntohl(tvb, offset);
offset += 4;
if (!value_follows) {
break;
}
num_chunks++... | static guint get_write_list_chunk_count(tvbuff_t *tvb, guint offset) {
guint32 value_follows;
guint num_chunks, chunk_size;
num_chunks = 0;
while (1) {
value_follows = tvb_get_ntohl(tvb, offset);
offset += 4;
if (!value_follows) {
break;
}
num_chunks++... | static guint get_write_list_chunk_count(tvbuff_t *tvb, guint offset) {
guint32 value_follows;
guint num_chunks, chunk_size;
num_chunks = 0;
while (1) {
value_follows = tvb_get_ntohl(tvb, offset);
offset += 4;
if (!value_follows) {
break;
}
num_chunks++... | static guint get_write_list_chunk_count(tvbuff_t *tvb, guint offset) {
guint32 value_follows;
guint num_chunks, chunk_size;
num_chunks = 0;
while (1) {
value_follows = tvb_get_ntohl(tvb, offset);
offset += 4;
if (!value_follows) {
break;
}
num_chunks++... | static guint get_write_list_chunk_count(tvbuff_t *tvb, guint offset) {
while (1) {
value_follows = tvb_get_ntohl(tvb, offset);
offset += 4;
if (!value_follows) {
break;
}
num_chunks++;
chunk_size = get_write_chunk_size(tvb, offset);
if ((offset + c... | static guint get_write_list_chunk_count(tvbuff_t *tvb, guint offset) {
while (1) {
value_follows = tvb_get_ntohl(tvb, offset);
offset += 4;
if (!value_follows) {
break;
}
num_chunks++;
chunk_size = get_write_chunk_size(tvb, offset);
if (chunk_size ... | static guint get_write_list_chunk_count(tvbuff_t *tvb, guint offset) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
while (1) {
value_follows = tvb_get_ntohl(tvb, offset);
offset += 4;
if (!value_follows) {
break;
}
num_chunks++;
chunk_size = get_writ... | static guint get_write_list_chunk_count(tvbuff_t *tvb, guint offset) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
while (1) {
value_follows = tvb_get_ntohl(tvb, offset);
offset += 4;
if (!value_follows) {
break;
}
num_chunks++;
chunk_size = get_writ... | static guint get_write_list_chunk_count(tvbuff_t *tvb, guint offset) {
while (1) {
value_follows = tvb_get_ntohl(tvb, offset);
offset += 4;
if (!value_follows) {
break;
}
num_chunks++;
chunk_size = get_write_chunk_size(tvb, offset);
- if ((... |
CVE-2018-7333 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-rpcrdma.c | get_write_list_size | static guint get_write_list_size(tvbuff_t *tvb, guint max_offset, guint offset) {
guint32 value_follows;
guint chunk_size, start = offset;
while (1) {
value_follows = tvb_get_ntohl(tvb, offset);
offset += 4;
if (offset > max_offset) {
return 0;
}
if (!valu... | static guint get_write_list_size(tvbuff_t *tvb, guint max_offset, guint offset) {
guint32 value_follows;
guint chunk_size, start = offset;
while (1) {
value_follows = tvb_get_ntohl(tvb, offset);
offset += 4;
if (offset > max_offset) {
return 0;
}
if (!valu... | static guint get_write_list_size(tvbuff_t *tvb, guint max_offset, guint offset) {
guint32 value_follows;
guint chunk_size, start = offset;
while (1) {
value_follows = tvb_get_ntohl(tvb, offset);
offset += 4;
if (offset > max_offset) {
return 0;
}
if (!valu... | static guint get_write_list_size(tvbuff_t *tvb, guint max_offset, guint offset) {
guint32 value_follows;
guint chunk_size, start = offset;
while (1) {
value_follows = tvb_get_ntohl(tvb, offset);
offset += 4;
if (offset > max_offset) {
return 0;
}
if (!valu... | static guint get_write_list_size(tvbuff_t *tvb, guint max_offset, guint offset) {
while (1) {
value_follows = tvb_get_ntohl(tvb, offset);
offset += 4;
if (offset > max_offset) {
return 0;
}
if (!value_follows) {
break;
}
chunk_size = ge... | static guint get_write_list_size(tvbuff_t *tvb, guint max_offset, guint offset) {
while (1) {
value_follows = tvb_get_ntohl(tvb, offset);
offset += 4;
if (offset > max_offset) {
return 0;
}
if (!value_follows) {
break;
}
chunk_size = ge... | static guint get_write_list_size(tvbuff_t *tvb, guint max_offset, guint offset) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
while (1) {
value_follows = tvb_get_ntohl(tvb, offset);
offset += 4;
if (offset > max_offset) {
return 0;
}
if (!value_follows) {
... | static guint get_write_list_size(tvbuff_t *tvb, guint max_offset, guint offset) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
while (1) {
value_follows = tvb_get_ntohl(tvb, offset);
offset += 4;
if (offset > max_offset) {
return 0;
}
if (!value_follows) {
... | static guint get_write_list_size(tvbuff_t *tvb, guint max_offset, guint offset) {
while (1) {
value_follows = tvb_get_ntohl(tvb, offset);
offset += 4;
if (offset > max_offset) {
return 0;
}
if (!value_follows) {
break;
}
chun... |
CVE-2018-7334 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-umts_mac.c | dissect_mac_fdd_fach | static int dissect_mac_fdd_fach(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) {
guint8 hdr, tctf;
guint16 bitoffs = 0;
guint16 tctf_len, chan;
proto_tree *fach_tree = NULL;
proto_item *channel_type;
tvbuff_t *next_tvb;
umts_mac_info *macinf;
fp_info *fpinf;
rlc_inf... | static int dissect_mac_fdd_fach(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) {
guint8 hdr, tctf;
guint16 bitoffs = 0;
guint16 tctf_len, chan;
proto_tree *fach_tree = NULL;
proto_item *channel_type;
tvbuff_t *next_tvb;
umts_mac_info *macinf;
fp_info *fpinf;
rlc_inf... | static int dissect_mac_fdd_fach(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) {
guint8 hdr, tctf;
guint16 bitoffs = 0;
guint16 tctf_len, chan;
proto_tree *fach_tree = NULL;
proto_item *channel_type;
tvbuff_t *next_tvb;
umts_mac_info *macinf;
fp_info *fpinf;
rlc_inf... | static int dissect_mac_fdd_fach(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) {
guint8 hdr, tctf;
guint16 bitoffs = 0;
guint16 tctf_len, chan;
proto_tree *fach_tree = NULL;
proto_item *channel_type;
tvbuff_t *next_tvb;
umts_mac_info *macinf;
fp_info *fpinf;
rlc_inf... | static int dissect_mac_fdd_fach(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) {
guint16 bitoffs = 0;
hdr = tvb_get_guint8(tvb, 0);
tctf_len = bitoffs;
ti = proto_tree_add_item(tree, proto_umts_mac, tvb, 0, -1, ENC_NA);
fach_tree = proto_item_add_subtree(ti, ett_mac_fach);
maci... | static int dissect_mac_fdd_fach(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) {
guint16 bitoffs = 0;
hdr = tvb_get_guint8(tvb, 0);
tctf_len = bitoffs;
ti = proto_tree_add_item(tree, proto_umts_mac, tvb, 0, -1, ENC_NA);
fach_tree = proto_item_add_subtree(ti, ett_mac_fach);
maci... | static int dissect_mac_fdd_fach(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
guint16 bitoffs = 0;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
hdr = tvb_get_guint8(tvb, 0);
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
tctf_len... | static int dissect_mac_fdd_fach(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
guint16 bitoffs = 0;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
hdr = tvb_get_guint8(tvb, 0);
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
tctf_len... | static int dissect_mac_fdd_fach(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) {
guint16 bitoffs = 0;
hdr = tvb_get_guint8(tvb, 0);
tctf_len = bitoffs;
ti = proto_tree_add_item(tree, proto_umts_mac, tvb, 0, -1, ENC_NA);
fach_tree = proto_item_add_subtree(ti, ett_mac_fach);
... |
CVE-2018-7334 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-umts_mac.c | dissect_mac_fdd_rach | static int dissect_mac_fdd_rach(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) {
guint8 tctf;
guint8 chan;
guint16 bitoffs = 0;
tvbuff_t *next_tvb;
proto_tree *rach_tree = NULL;
proto_item *channel_type;
umts_mac_info *macinf;
fp_info *fpinf;
rlc_info *rlcinf;
p... | static int dissect_mac_fdd_rach(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) {
guint8 tctf;
guint8 chan;
guint16 bitoffs = 0;
tvbuff_t *next_tvb;
proto_tree *rach_tree = NULL;
proto_item *channel_type;
umts_mac_info *macinf;
fp_info *fpinf;
rlc_info *rlcinf;
p... | static int dissect_mac_fdd_rach(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) {
guint8 tctf;
guint8 chan;
guint16 bitoffs = 0;
tvbuff_t *next_tvb;
proto_tree *rach_tree = NULL;
proto_item *channel_type;
umts_mac_info *macinf;
fp_info *fpinf;
rlc_info *rlcinf;
p... | static int dissect_mac_fdd_rach(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) {
guint8 tctf;
guint8 chan;
guint16 bitoffs = 0;
tvbuff_t *next_tvb;
proto_tree *rach_tree = NULL;
proto_item *channel_type;
umts_mac_info *macinf;
fp_info *fpinf;
rlc_info *rlcinf;
p... | static int dissect_mac_fdd_rach(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) {
guint16 bitoffs = 0;
tctf = tvb_get_bits8(tvb, 0, 2);
bitoffs += 2;
ti = proto_tree_add_item(tree, proto_umts_mac, tvb, 0, -1, ENC_NA);
rach_tree = proto_item_add_subtree(ti, ett_mac_rach);
macinf ... | static int dissect_mac_fdd_rach(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) {
guint16 bitoffs = 0;
tctf = tvb_get_bits8(tvb, 0, 2);
bitoffs += 2;
ti = proto_tree_add_item(tree, proto_umts_mac, tvb, 0, -1, ENC_NA);
rach_tree = proto_item_add_subtree(ti, ett_mac_rach);
macinf ... | static int dissect_mac_fdd_rach(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
guint16 bitoffs = 0;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
tctf = tvb_get_bits8(tvb, 0, 2);
bitoffs += 2;
/* PLACEHOLDER: DO NOT DELETE THIS CO... | static int dissect_mac_fdd_rach(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
guint16 bitoffs = 0;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
tctf = tvb_get_bits8(tvb, 0, 2);
bitoffs += 2;
/* PLACEHOLDER: DO NOT DELETE THIS CO... | static int dissect_mac_fdd_rach(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) {
guint16 bitoffs = 0;
tctf = tvb_get_bits8(tvb, 0, 2);
bitoffs += 2;
ti = proto_tree_add_item(tree, proto_umts_mac, tvb, 0, -1, ENC_NA);
rach_tree = proto_item_add_subtree(ti, ett_mac_rach);
... |
CVE-2018-7334 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-umts_mac.c | proto_register_umts_mac | void proto_register_umts_mac(void) {
module_t *mac_module;
static gint *ett[] = {
&ett_mac, &ett_mac_fach, &ett_mac_rach, &ett_mac_dch, &ett_mac_pch, &ett_mac_edch, &ett_mac_hsdsch, &ett_mac_edch_type2, &ett_mac_edch_type2_sdu, &ett_mac_resolved_urnti
};
static hf_register_info hf[] = {
... | void proto_register_umts_mac(void) {
module_t *mac_module;
static gint *ett[] = {
&ett_mac, &ett_mac_fach, &ett_mac_rach, &ett_mac_dch, &ett_mac_pch, &ett_mac_edch, &ett_mac_hsdsch, &ett_mac_edch_type2, &ett_mac_edch_type2_sdu, &ett_mac_resolved_urnti
};
static hf_register_info hf[] = {
... | void proto_register_umts_mac(void) {
module_t *mac_module;
static gint *ett[] = {
&ett_mac, &ett_mac_fach, &ett_mac_rach, &ett_mac_dch, &ett_mac_pch, &ett_mac_edch, &ett_mac_hsdsch, &ett_mac_edch_type2, &ett_mac_edch_type2_sdu
};
static hf_register_info hf[] = {
{
&hf_mac_rac... | void proto_register_umts_mac(void) {
module_t *mac_module;
static gint *ett[] = {
&ett_mac, &ett_mac_fach, &ett_mac_rach, &ett_mac_dch, &ett_mac_pch, &ett_mac_edch, &ett_mac_hsdsch, &ett_mac_edch_type2, &ett_mac_edch_type2_sdu
};
static hf_register_info hf[] = {
{
&hf_mac_rac... | void proto_register_umts_mac(void) {
static hf_register_info hf[] = {
{
&hf_mac_rach_fdd_tctf, {
"Target Channel Type Field", "mac.tctf", FT_UT8, BASE_HEX, VALS(rach_fdd_tctf_vals), 0, NULL, HFILL
}
}, {
&hf_mac_fach_fdd_tctf, {
"Ta... | void proto_register_umts_mac(void) {
static hf_register_info hf[] = {
{
&hf_mac_rach_fdd_tctf, {
"Target Channel Type Field", "mac.tctf", FT_UT8, BASE_HEX, VALS(rach_fdd_tctf_vals), 0, NULL, HFILL
}
}, {
&hf_mac_fach_fdd_tctf, {
"Ta... | void proto_register_umts_mac(void) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
static hf_register_info hf[] = {
{
&hf_mac_rach_fdd_tctf, {
"Target Channel Type Field", "mac.tctf", FT_UT8, BASE_HEX, VALS(rach_fdd_tctf_vals), 0, NULL, HFILL
}
}, {
... | void proto_register_umts_mac(void) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
static hf_register_info hf[] = {
{
&hf_mac_rach_fdd_tctf, {
"Target Channel Type Field", "mac.tctf", FT_UT8, BASE_HEX, VALS(rach_fdd_tctf_vals), 0, NULL, HFILL
}
}, {
... | void proto_register_umts_mac(void) {
static hf_register_info hf[] = {
{
&hf_mac_rach_fdd_tctf, {
"Target Channel Type Field", "mac.tctf", FT_UT8, BASE_HEX, VALS(rach_fdd_tctf_vals), 0, NULL, HFILL
}
}, {
&hf_mac_fach_fdd_tctf, {
... |
CVE-2018-7336 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-fcp.c | dissect_fcp | static int dissect_fcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) {
proto_item *ti = NULL;
proto_tree *fcp_tree = NULL;
fc_hdr *fchdr;
guint8 r_ctl;
conversation_t *fc_conv;
fcp_conv_data_t *fcp_conv_data = NULL;
fcp_request_data_t *request_data = NULL;
gboolean els... | static int dissect_fcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) {
proto_item *ti = NULL;
proto_tree *fcp_tree = NULL;
fc_hdr *fchdr;
guint8 r_ctl;
conversation_t *fc_conv;
fcp_conv_data_t *fcp_conv_data = NULL;
fcp_request_data_t *request_data = NULL;
gboolean els... | static int dissect_fcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) {
proto_item *ti = NULL;
proto_tree *fcp_tree = NULL;
fc_hdr *fchdr;
guint8 r_ctl;
conversation_t *fc_conv;
fcp_conv_data_t *fcp_conv_data = NULL;
fcp_request_data_t *request_data = NULL;
gboolean els... | static int dissect_fcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) {
proto_item *ti = NULL;
proto_tree *fcp_tree = NULL;
fc_hdr *fchdr;
guint8 r_ctl;
conversation_t *fc_conv;
fcp_conv_data_t *fcp_conv_data = NULL;
fcp_request_data_t *request_data = NULL;
gboolean els... | static int dissect_fcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) {
if (data == NULL) {
return 0;
}
fchdr = (fc_hdr *)data;
col_set_str(pinfo->cinfo, COL_PROTOCOL, "FCP");
r_ctl = fchdr->r_ctl;
els = (r_ctl & 0xf0) == FC_RCTL_LK_DATA;
r_ctl &= 0xF;
col_add_s... | static int dissect_fcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) {
if (data == NULL) {
return 0;
}
fchdr = (fc_hdr *)data;
col_set_str(pinfo->cinfo, COL_PROTOCOL, "FCP");
r_ctl = fchdr->r_ctl;
els = (r_ctl & 0xf0) == FC_RCTL_LK_DATA;
r_ctl &= 0xF;
col_add_s... | static int dissect_fcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (data == NULL) {
return 0;
}
fchdr = (fc_hdr *)data;
col_set_str(pinfo->cinfo, COL_PROTOCOL, "FCP");
r_ctl = fchdr->r_ctl;
els = (r_ctl & 0xf0) =... | static int dissect_fcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (data == NULL) {
return 0;
}
fchdr = (fc_hdr *)data;
col_set_str(pinfo->cinfo, COL_PROTOCOL, "FCP");
r_ctl = fchdr->r_ctl;
els = (r_ctl & 0xf0) =... | static int dissect_fcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) {
if (data == NULL) {
return 0;
}
fchdr = (fc_hdr *)data;
col_set_str(pinfo->cinfo, COL_PROTOCOL, "FCP");
r_ctl = fchdr->r_ctl;
els = (r_ctl & 0xf0) == FC_RCTL_LK_DATA;
r_ctl &= 0xF;
... |
CVE-2018-7337 | Wireshark | https://github.com/wireshark/wireshark | plugins/docsis/packet-docsis.c | dissect_docsis | static int dissect_docsis (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, void* data ) {
guint8 fc = 0;
guint8 fctype = 0;
guint8 fcparm = 0;
guint8 exthdr = 0;
guint16 mac_parm = 0;
guint8 hdrlen = DOCSIS_M_HEADER_LEN;
guint16 len_sid = 0;
tvbuff_t *next_tvb = NULL;
tvbuff_... | static int dissect_docsis (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, void* data ) {
guint8 fc = 0;
guint8 fctype = 0;
guint8 fcparm = 0;
guint8 exthdr = 0;
guint16 mac_parm = 0;
guint8 hdrlen = DOCSIS_M_HEADER_LEN;
guint16 len_sid = 0;
tvbuff_t *next_tvb = NULL;
tvbuff_... | static int dissect_docsis (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, void* data ) {
guint8 fc = 0;
guint8 fctype = 0;
guint8 fcparm = 0;
guint8 exthdr = 0;
guint16 mac_parm = 0;
guint8 hdrlen = DOCSIS_M_HEADER_LEN;
guint16 len_sid = 0;
tvbuff_t *next_tvb = NULL;
tvbuff_... | static int dissect_docsis (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, void* data ) {
guint8 fc = 0;
guint8 fctype = 0;
guint8 fcparm = 0;
guint8 exthdr = 0;
guint16 mac_parm = 0;
guint8 hdrlen = DOCSIS_M_HEADER_LEN;
guint16 len_sid = 0;
tvbuff_t *next_tvb = NULL;
tvbuff_... | static int dissect_docsis (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, void* data ) {
guint8 hdrlen = DOCSIS_M_HEADER_LEN;
guint16 payload_length = 0;
guint16 framelen = 0;
gboolean save_fragmented;
proto_tree *docsis_tree;
static guint16 concatlen;
static guint16 concatpos;
... | static int dissect_docsis (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, void* data ) {
guint8 hdrlen = DOCSIS_M_HEADER_LEN;
guint16 payload_length = 0;
gboolean save_fragmented;
proto_tree *docsis_tree;
fc = tvb_get_guint8 (tvb, 0);
fctype = (fc >> 6) & 0x03;
fcparm = (fc >> 1) & ... | static int dissect_docsis (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, void* data ) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
guint8 hdrlen = DOCSIS_M_HEADER_LEN;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
guint16 payload_length = 0;
guint16 framelen = 0;
gboolean save_fragm... | static int dissect_docsis (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, void* data ) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
guint8 hdrlen = DOCSIS_M_HEADER_LEN;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
guint16 payload_length = 0;
guint16 framelen = 0;
gboolean save_fragm... | static int dissect_docsis (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, void* data ) {
guint8 hdrlen = DOCSIS_M_HEADER_LEN;
guint16 payload_length = 0;
- guint16 framelen = 0;
gboolean save_fragmented;
proto_tree *docsis_tree;
- static guint16 concatlen;
- static guint16 concatp... |
CVE-2018-7417 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-ipmi-picmg.c | rq17 | static void rq17(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
static const value_string vals_17_cmd_fromshmm[] = {
{ 0x00, "Query" }, { 0x01, "Release" }, { 0x02, "Force" }, { 0x03, "Bus Free" }, { 0, NULL }
};
static const value_string vals_17_cmd_toshmm[] = {
{ 0x00, "Request" },... | static void rq17(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
static const value_string vals_17_cmd_fromshmm[] = {
{ 0x00, "Query" }, { 0x01, "Release" }, { 0x02, "Force" }, { 0x03, "Bus Free" }, { 0, NULL }
};
static const value_string vals_17_cmd_toshmm[] = {
{ 0x00, "Request" },... | static void rq17(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
static const value_string vals_17_cmd_fromshmm[] = {
{ 0x00, "Query" }, { 0x01, "Release" }, { 0x02, "Force" }, { 0x03, "Bus Free" }, { 0, NULL }
};
static const value_string vals_17_cmd_toshmm[] = {
{ 0x00, "Request" },... | static void rq17(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
static const value_string vals_17_cmd_fromshmm[] = {
{ 0x00, "Query" }, { 0x01, "Release" }, { 0x02, "Force" }, { 0x03, "Bus Free" }, { 0, NULL }
};
static const value_string vals_17_cmd_toshmm[] = {
{ 0x00, "Request" },... | static void rq17(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
static const value_string vals_17_cmd_fromshmm[] = {
{ 0x00, "Query" }, { 0x01, "Release" }, { 0x02, "Force" }, { 0x03, "Bus Free" }, { 0, NULL }
};
static const value_string vals_17_cmd_toshmm[] = {
{ 0x00, "Request" },... | static void rq17(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
static const value_string vals_17_cmd_fromshmm[] = {
{ 0x00, "Query" }, { 0x01, "Release" }, { 0x02, "Force" }, { 0x03, "Bus Free" }, { 0, NULL }
};
static const value_string vals_17_cmd_toshmm[] = {
{ 0x00, "Request" },... | static void rq17(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
static const value_string vals_17_cmd_fromshmm[] = {
{ 0x00, "Query" }, { 0x01, "Release" }, { 0x02, "Force" }, { 0x03, "Bus Free" }, { 0, NULL }
};
static const value_string vals_17_cmd_toshmm[] = {
{ 0x00, "Request" },... | static void rq17(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
static const value_string vals_17_cmd_fromshmm[] = {
{ 0x00, "Query" }, { 0x01, "Release" }, { 0x02, "Force" }, { 0x03, "Bus Free" }, { 0, NULL }
};
static const value_string vals_17_cmd_toshmm[] = {
{ 0x00, "Request" },... | static void rq17(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
static const value_string vals_17_cmd_fromshmm[] = {
{ 0x00, "Query" }, { 0x01, "Release" }, { 0x02, "Force" }, { 0x03, "Bus Free" }, { 0, NULL }
};
static const value_string vals_17_cmd_toshmm[] = {
{ 0x00, "Reque... |
CVE-2018-7418 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-sigcomp.c | dissect_sigcomp_tcp | static int dissect_sigcomp_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *_data ) {
proto_item *ti;
proto_tree *sigcomp_tree;
tvbuff_t *unescaped_tvb;
guint8 *buff;
int offset = 0;
int length;
guint8 octet;
guint16 data;
int i;
int n;
gboolean end_off_message;... | static int dissect_sigcomp_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *_data ) {
proto_item *ti;
proto_tree *sigcomp_tree;
tvbuff_t *unescaped_tvb;
guint8 *buff;
int offset = 0;
int length;
guint8 octet;
guint16 data;
int i;
int n;
gboolean end_off_message;... | static int dissect_sigcomp_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *_data ) {
proto_item *ti;
proto_tree *sigcomp_tree;
tvbuff_t *unescaped_tvb;
guint8 *buff;
int offset = 0;
int length;
guint8 octet;
guint16 data;
int i;
int n;
gboolean end_off_message;... | static int dissect_sigcomp_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *_data ) {
proto_item *ti;
proto_tree *sigcomp_tree;
tvbuff_t *unescaped_tvb;
guint8 *buff;
int offset = 0;
int length;
guint8 octet;
guint16 data;
int i;
int n;
gboolean end_off_message;... | static int dissect_sigcomp_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *_data ) {
int offset = 0;
data = tvb_get_ntohs(tvb, offset);
if (data == 0xffff) {
offset = offset + 2;
octet = tvb_get_guint8(tvb,offset);
} else {
octet = tvb_get_guint8(tvb,offset);
}... | static int dissect_sigcomp_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *_data ) {
int offset = 0;
data = tvb_get_ntohs(tvb, offset);
if (data == 0xffff) {
offset = offset + 2;
octet = tvb_get_guint8(tvb,offset);
} else {
octet = tvb_get_guint8(tvb,offset);
}... | static int dissect_sigcomp_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *_data ) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
int offset = 0;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
data = tvb_get_ntohs(tvb, offset);
if (data == 0xffff) {
offset = offset + 2;
... | static int dissect_sigcomp_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *_data ) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
int offset = 0;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
data = tvb_get_ntohs(tvb, offset);
if (data == 0xffff) {
offset = offset + 2;
... | static int dissect_sigcomp_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *_data ) {
int offset = 0;
data = tvb_get_ntohs(tvb, offset);
if (data == 0xffff) {
offset = offset + 2;
octet = tvb_get_guint8(tvb,offset);
} else {
octet = tvb_get_guint8(tvb,offset... |
CVE-2018-7419 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-nbap.c | dissect_nbap_RL_Specific_DCH_Info_Item | static int dissect_nbap_RL_Specific_DCH_Info_Item(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
address dst_addr, null_addr;
conversation_t *conversation = NULL;
umts_fp_conversation_info_t *umts_fp_conversation_info;
int i, j, num_tf;
guint32 transportLayerAddress_... | static int dissect_nbap_RL_Specific_DCH_Info_Item(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
address dst_addr, null_addr;
conversation_t *conversation = NULL;
umts_fp_conversation_info_t *umts_fp_conversation_info;
int i, j, num_tf;
guint32 transportLayerAddress_... | static int dissect_nbap_RL_Specific_DCH_Info_Item(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
address dst_addr, null_addr;
conversation_t *conversation = NULL;
umts_fp_conversation_info_t *umts_fp_conversation_info;
int i, j, num_tf;
transportLayerAddress_ipv4 = 0... | static int dissect_nbap_RL_Specific_DCH_Info_Item(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
address dst_addr, null_addr;
conversation_t *conversation = NULL;
umts_fp_conversation_info_t *umts_fp_conversation_info;
int i, j, num_tf;
transportLayerAddress_ipv4 = 0... | static int dissect_nbap_RL_Specific_DCH_Info_Item(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
nbap_dch_chnl_info = private_data_get_nbap_dch_chnl_info(actx->pinfo);
private_data_set_transportLayerAddress_ipv4(actx->pinfo, 0);
private_data_set_binding_id_port(actx->pinfo, ... | static int dissect_nbap_RL_Specific_DCH_Info_Item(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
nbap_dch_chnl_info = private_data_get_nbap_dch_chnl_info(actx->pinfo);
private_data_set_transportLayerAddress_ipv4(actx->pinfo, 0);
private_data_set_binding_id_port(actx->pinfo, ... | static int dissect_nbap_RL_Specific_DCH_Info_Item(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
transportLayerAddress_ipv4 = 0;
BindingID_port = 0;
dch_id = 0xFFFFFFFF;
offset = dissect_per_sequence(tvb, offset, actx, tr... | static int dissect_nbap_RL_Specific_DCH_Info_Item(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
transportLayerAddress_ipv4 = 0;
BindingID_port = 0;
dch_id = 0xFFFFFFFF;
offset = dissect_per_sequence(tvb, offset, actx, tr... | static int dissect_nbap_RL_Specific_DCH_Info_Item(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
nbap_dch_chnl_info = private_data_get_nbap_dch_chnl_info(actx->pinfo);
private_data_set_transportLayerAddress_ipv4(actx->pinfo, 0);
private_data_set_binding_id_port(actx->pin... |
CVE-2018-7419 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-nbap.c | dissect_nbap_T_dCH_ID | static int dissect_nbap_T_dCH_ID(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
guint32 dch_id;
gint num_dch_in_flow;
nbap_dch_channel_info_t* nbap_dch_chnl_info;
nbap_dch_chnl_info = private_data_get_nbap_dch_chnl_info(actx->pinfo);
offset = dissect_per_constrained_... | static int dissect_nbap_T_dCH_ID(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
guint32 dch_id;
gint num_dch_in_flow;
nbap_dch_channel_info_t* nbap_dch_chnl_info;
nbap_dch_chnl_info = private_data_get_nbap_dch_chnl_info(actx->pinfo);
offset = dissect_per_constrained_... | static int dissect_nbap_T_dCH_ID(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 255U, &dch_id, FALSE);
if(g_num_dch_in_flow>0) {
g_dchs_in_flow_list[g_num_dch_in_flow-1]=dch_id;
nbap_... | static int dissect_nbap_T_dCH_ID(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 255U, &dch_id, FALSE);
if(g_num_dch_in_flow>0) {
g_dchs_in_flow_list[g_num_dch_in_flow-1]=dch_id;
nbap_... | static int dissect_nbap_T_dCH_ID(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
nbap_dch_chnl_info = private_data_get_nbap_dch_chnl_info(actx->pinfo);
offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 255U, &dch_id, FALSE);
num_dch_in_flow = pri... | static int dissect_nbap_T_dCH_ID(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
nbap_dch_chnl_info = private_data_get_nbap_dch_chnl_info(actx->pinfo);
offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 255U, &dch_id, FALSE);
num_dch_in_flow = pri... | static int dissect_nbap_T_dCH_ID(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 255U, &dch_id, FALSE);
if(g_num_dch_in_flow>0) {
g_dchs_in_flow_list[g_num_dch_in_flow-1]=dch_id;
nbap_... | static int dissect_nbap_T_dCH_ID(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 255U, &dch_id, FALSE);
if(g_num_dch_in_flow>0) {
g_dchs_in_flow_list[g_num_dch_in_flow-1]=dch_id;
nbap_... | static int dissect_nbap_T_dCH_ID(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
nbap_dch_chnl_info = private_data_get_nbap_dch_chnl_info(actx->pinfo);
offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 255U, &dch_id, FALSE);
num_dch_in_flow =... |
CVE-2018-7419 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-nbap.c | dissect_nbap_T_dl_TransportFormatSet | static int dissect_nbap_T_dl_TransportFormatSet(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
nbap_dch_channel_info_t* nbap_dch_chnl_info;
nbap_dch_chnl_info = private_data_get_nbap_dch_chnl_info(actx->pinfo);
private_data_set_transport_format_set_type(actx->pinfo, NBAP_DCH... | static int dissect_nbap_T_dl_TransportFormatSet(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
guint32 dch_id = private_data_get_dch_id(actx->pinfo);
nbap_dch_channel_info_t* nbap_dch_chnl_info;
nbap_dch_chnl_info = private_data_get_nbap_dch_chnl_info(actx->pinfo);
priva... | static int dissect_nbap_T_dl_TransportFormatSet(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
transportFormatSet_type = NBAP_DCH_DL;
nbap_dch_chnl_info[dch_id].num_dl_chans = 0;
offset = dissect_nbap_TransportFormatSet(tvb, offset, actx, tree, hf_index);
return offset;
... | static int dissect_nbap_T_dl_TransportFormatSet(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
transportFormatSet_type = NBAP_DCH_DL;
if (dch_id != 0xffffffff) {
nbap_dch_chnl_info[dch_id].num_dl_chans = 0;
}
offset = dissect_nbap_TransportFormatSet(tvb, offset, ... | static int dissect_nbap_T_dl_TransportFormatSet(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
nbap_dch_channel_info_t* nbap_dch_chnl_info;
nbap_dch_chnl_info = private_data_get_nbap_dch_chnl_info(actx->pinfo);
private_data_set_transport_format_set_type(actx->pinfo, NBAP_DCH... | static int dissect_nbap_T_dl_TransportFormatSet(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
guint32 dch_id = private_data_get_dch_id(actx->pinfo);
nbap_dch_channel_info_t* nbap_dch_chnl_info;
nbap_dch_chnl_info = private_data_get_nbap_dch_chnl_info(actx->pinfo);
priva... | static int dissect_nbap_T_dl_TransportFormatSet(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
transportFormatSet_type = NBAP_DCH_DL;
nbap_dch_chnl_info[dch_id].num_dl_chans = 0;
offset = dissect_nbap_TransportFormatSet(tvb, offset, actx, tree, hf_index);
return offset;
... | static int dissect_nbap_T_dl_TransportFormatSet(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
transportFormatSet_type = NBAP_DCH_DL;
if (dch_id != 0xffffffff) {
nbap_dch_chnl_info[dch_id].num_dl_chans = 0;
}
offset = dissect_nbap_TransportFormatSet(tvb, offset, ... | static int dissect_nbap_T_dl_TransportFormatSet(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
+ guint32 dch_id = private_data_get_dch_id(actx->pinfo);
nbap_dch_channel_info_t* nbap_dch_chnl_info;
nbap_dch_chnl_info = private_data_get_nbap_dch_chnl_info(actx->pinfo);
... |
CVE-2018-7419 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-nbap.c | dissect_nbap_T_dl_TransportFormatSet_01 | static int dissect_nbap_T_dl_TransportFormatSet_01(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
nbap_dch_channel_info_t* nbap_dch_chnl_info;
nbap_dch_chnl_info = private_data_get_nbap_dch_chnl_info(actx->pinfo);
private_data_set_transport_format_set_type(actx->pinfo, NBAP_... | static int dissect_nbap_T_dl_TransportFormatSet_01(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
guint32 dch_id = private_data_get_dch_id(actx->pinfo);
nbap_dch_channel_info_t* nbap_dch_chnl_info;
nbap_dch_chnl_info = private_data_get_nbap_dch_chnl_info(actx->pinfo);
pr... | static int dissect_nbap_T_dl_TransportFormatSet_01(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
transportFormatSet_type = NBAP_DCH_DL;
nbap_dch_chnl_info[dch_id].num_dl_chans = 0;
offset = dissect_nbap_TransportFormatSet(tvb, offset, actx, tree, hf_index);
return offse... | static int dissect_nbap_T_dl_TransportFormatSet_01(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
transportFormatSet_type = NBAP_DCH_DL;
if (dch_id != 0xffffffff) {
nbap_dch_chnl_info[dch_id].num_dl_chans = 0;
}
offset = dissect_nbap_TransportFormatSet(tvb, offse... | static int dissect_nbap_T_dl_TransportFormatSet_01(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
nbap_dch_channel_info_t* nbap_dch_chnl_info;
nbap_dch_chnl_info = private_data_get_nbap_dch_chnl_info(actx->pinfo);
private_data_set_transport_format_set_type(actx->pinfo, NBAP_... | static int dissect_nbap_T_dl_TransportFormatSet_01(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
guint32 dch_id = private_data_get_dch_id(actx->pinfo);
nbap_dch_channel_info_t* nbap_dch_chnl_info;
nbap_dch_chnl_info = private_data_get_nbap_dch_chnl_info(actx->pinfo);
pr... | static int dissect_nbap_T_dl_TransportFormatSet_01(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
transportFormatSet_type = NBAP_DCH_DL;
nbap_dch_chnl_info[dch_id].num_dl_chans = 0;
offset = dissect_nbap_TransportFormatSet(tvb, offset, actx, tree, hf_index);
return offse... | static int dissect_nbap_T_dl_TransportFormatSet_01(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
transportFormatSet_type = NBAP_DCH_DL;
if (dch_id != 0xffffffff) {
nbap_dch_chnl_info[dch_id].num_dl_chans = 0;
}
offset = dissect_nbap_TransportFormatSet(tvb, offse... | static int dissect_nbap_T_dl_TransportFormatSet_01(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
+ guint32 dch_id = private_data_get_dch_id(actx->pinfo);
nbap_dch_channel_info_t* nbap_dch_chnl_info;
nbap_dch_chnl_info = private_data_get_nbap_dch_chnl_info(actx->pinfo);
... |
CVE-2018-7419 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-nbap.c | dissect_nbap_T_ul_TransportFormatSet | static int dissect_nbap_T_ul_TransportFormatSet(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
nbap_dch_channel_info_t* nbap_dch_chnl_info;
nbap_dch_chnl_info = private_data_get_nbap_dch_chnl_info(actx->pinfo);
private_data_set_transport_format_set_type(actx->pinfo, NBAP_DCH... | static int dissect_nbap_T_ul_TransportFormatSet(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
guint32 dch_id = private_data_get_dch_id(actx->pinfo);
nbap_dch_channel_info_t* nbap_dch_chnl_info;
nbap_dch_chnl_info = private_data_get_nbap_dch_chnl_info(actx->pinfo);
priva... | static int dissect_nbap_T_ul_TransportFormatSet(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
transportFormatSet_type = NBAP_DCH_UL;
nbap_dch_chnl_info[dch_id].num_ul_chans = 0;
offset = dissect_nbap_TransportFormatSet(tvb, offset, actx, tree, hf_index);
return offset;
... | static int dissect_nbap_T_ul_TransportFormatSet(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
transportFormatSet_type = NBAP_DCH_UL;
if (dch_id != 0xffffffff) {
nbap_dch_chnl_info[dch_id].num_ul_chans = 0;
}
offset = dissect_nbap_TransportFormatSet(tvb, offset, ... | static int dissect_nbap_T_ul_TransportFormatSet(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
nbap_dch_channel_info_t* nbap_dch_chnl_info;
nbap_dch_chnl_info = private_data_get_nbap_dch_chnl_info(actx->pinfo);
private_data_set_transport_format_set_type(actx->pinfo, NBAP_DCH... | static int dissect_nbap_T_ul_TransportFormatSet(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
guint32 dch_id = private_data_get_dch_id(actx->pinfo);
nbap_dch_channel_info_t* nbap_dch_chnl_info;
nbap_dch_chnl_info = private_data_get_nbap_dch_chnl_info(actx->pinfo);
priva... | static int dissect_nbap_T_ul_TransportFormatSet(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
transportFormatSet_type = NBAP_DCH_UL;
nbap_dch_chnl_info[dch_id].num_ul_chans = 0;
offset = dissect_nbap_TransportFormatSet(tvb, offset, actx, tree, hf_index);
return offset;
... | static int dissect_nbap_T_ul_TransportFormatSet(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
transportFormatSet_type = NBAP_DCH_UL;
if (dch_id != 0xffffffff) {
nbap_dch_chnl_info[dch_id].num_ul_chans = 0;
}
offset = dissect_nbap_TransportFormatSet(tvb, offset, ... | static int dissect_nbap_T_ul_TransportFormatSet(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
+ guint32 dch_id = private_data_get_dch_id(actx->pinfo);
nbap_dch_channel_info_t* nbap_dch_chnl_info;
nbap_dch_chnl_info = private_data_get_nbap_dch_chnl_info(actx->pinfo);
... |
CVE-2018-7419 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-nbap.c | dissect_nbap_T_ul_TransportFormatSet_01 | static int dissect_nbap_T_ul_TransportFormatSet_01(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
nbap_dch_channel_info_t* nbap_dch_chnl_info;
nbap_dch_chnl_info = private_data_get_nbap_dch_chnl_info(actx->pinfo);
private_data_set_transport_format_set_type(actx->pinfo, NBAP_... | static int dissect_nbap_T_ul_TransportFormatSet_01(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
guint32 dch_id = private_data_get_dch_id(actx->pinfo);
nbap_dch_channel_info_t* nbap_dch_chnl_info;
nbap_dch_chnl_info = private_data_get_nbap_dch_chnl_info(actx->pinfo);
pr... | static int dissect_nbap_T_ul_TransportFormatSet_01(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
transportFormatSet_type = NBAP_DCH_UL;
nbap_dch_chnl_info[dch_id].num_ul_chans = 0;
offset = dissect_nbap_TransportFormatSet(tvb, offset, actx, tree, hf_index);
return offse... | static int dissect_nbap_T_ul_TransportFormatSet_01(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
transportFormatSet_type = NBAP_DCH_UL;
if (dch_id != 0xffffffff) {
nbap_dch_chnl_info[dch_id].num_ul_chans = 0;
}
offset = dissect_nbap_TransportFormatSet(tvb, offse... | static int dissect_nbap_T_ul_TransportFormatSet_01(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
nbap_dch_channel_info_t* nbap_dch_chnl_info;
nbap_dch_chnl_info = private_data_get_nbap_dch_chnl_info(actx->pinfo);
private_data_set_transport_format_set_type(actx->pinfo, NBAP_... | static int dissect_nbap_T_ul_TransportFormatSet_01(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
guint32 dch_id = private_data_get_dch_id(actx->pinfo);
nbap_dch_channel_info_t* nbap_dch_chnl_info;
nbap_dch_chnl_info = private_data_get_nbap_dch_chnl_info(actx->pinfo);
pr... | static int dissect_nbap_T_ul_TransportFormatSet_01(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
transportFormatSet_type = NBAP_DCH_UL;
nbap_dch_chnl_info[dch_id].num_ul_chans = 0;
offset = dissect_nbap_TransportFormatSet(tvb, offset, actx, tree, hf_index);
return offse... | static int dissect_nbap_T_ul_TransportFormatSet_01(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
transportFormatSet_type = NBAP_DCH_UL;
if (dch_id != 0xffffffff) {
nbap_dch_chnl_info[dch_id].num_ul_chans = 0;
}
offset = dissect_nbap_TransportFormatSet(tvb, offse... | static int dissect_nbap_T_ul_TransportFormatSet_01(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
+ guint32 dch_id = private_data_get_dch_id(actx->pinfo);
nbap_dch_channel_info_t* nbap_dch_chnl_info;
nbap_dch_chnl_info = private_data_get_nbap_dch_chnl_info(actx->pinfo);
... |
CVE-2018-7419 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-nbap.c | dissect_nbap_TransportFormatSet_NrOfTransportBlocks | static int dissect_nbap_TransportFormatSet_NrOfTransportBlocks(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
guint32 NrOfTransportBlocks;
guint num_items;
guint32 dch_id;
guint32 common_physical_channel_id;
guint32 common_transport_channel_id;
nbap_dch_channel_i... | static int dissect_nbap_TransportFormatSet_NrOfTransportBlocks(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
guint32 NrOfTransportBlocks;
guint num_items;
guint32 dch_id;
guint32 common_physical_channel_id;
guint32 common_transport_channel_id;
nbap_dch_channel_i... | static int dissect_nbap_TransportFormatSet_NrOfTransportBlocks(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
guint32 NrOfTransportBlocks;
offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 512U, &NrOfTransportBlocks, FALSE);
if(num_items>0) {
... | static int dissect_nbap_TransportFormatSet_NrOfTransportBlocks(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
guint32 NrOfTransportBlocks;
offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 512U, &NrOfTransportBlocks, FALSE);
if(num_items>0 && dc... | static int dissect_nbap_TransportFormatSet_NrOfTransportBlocks(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
nbap_dch_chnl_info = private_data_get_nbap_dch_chnl_info(actx->pinfo);
offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 512U, &NrOfTranspo... | static int dissect_nbap_TransportFormatSet_NrOfTransportBlocks(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
nbap_dch_chnl_info = private_data_get_nbap_dch_chnl_info(actx->pinfo);
offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 512U, &NrOfTranspo... | static int dissect_nbap_TransportFormatSet_NrOfTransportBlocks(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 512U, &NrOfTransportBlocks, FALSE);
if(... | static int dissect_nbap_TransportFormatSet_NrOfTransportBlocks(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 512U, &NrOfTransportBlocks, FALSE);
if(... | static int dissect_nbap_TransportFormatSet_NrOfTransportBlocks(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
nbap_dch_chnl_info = private_data_get_nbap_dch_chnl_info(actx->pinfo);
offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 512U, &NrOfTran... |
CVE-2018-7419 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-nbap.c | dissect_nbap_TransportFormatSet_TransportBlockSize | static int dissect_nbap_TransportFormatSet_TransportBlockSize(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
guint32 TransportBlockSize;
guint num_items;
guint32 dch_id;
guint32 common_physical_channel_id;
guint32 common_transport_channel_id;
nbap_dch_channel_inf... | static int dissect_nbap_TransportFormatSet_TransportBlockSize(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
guint32 TransportBlockSize;
guint num_items;
guint32 dch_id;
guint32 common_physical_channel_id;
guint32 common_transport_channel_id;
nbap_dch_channel_inf... | static int dissect_nbap_TransportFormatSet_TransportBlockSize(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
guint32 TransportBlockSize;
offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 5000U, &TransportBlockSize, FALSE);
if(num_items>0) {
... | static int dissect_nbap_TransportFormatSet_TransportBlockSize(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
guint32 TransportBlockSize;
offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 5000U, &TransportBlockSize, FALSE);
if(num_items>0 && dch_... | static int dissect_nbap_TransportFormatSet_TransportBlockSize(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
nbap_dch_chnl_info = private_data_get_nbap_dch_chnl_info(actx->pinfo);
offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 5000U, &TransportBl... | static int dissect_nbap_TransportFormatSet_TransportBlockSize(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
nbap_dch_chnl_info = private_data_get_nbap_dch_chnl_info(actx->pinfo);
offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 5000U, &TransportBl... | static int dissect_nbap_TransportFormatSet_TransportBlockSize(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 5000U, &TransportBlockSize, FALSE);
if(n... | static int dissect_nbap_TransportFormatSet_TransportBlockSize(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 5000U, &TransportBlockSize, FALSE);
if(n... | static int dissect_nbap_TransportFormatSet_TransportBlockSize(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
nbap_dch_chnl_info = private_data_get_nbap_dch_chnl_info(actx->pinfo);
offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 5000U, &Transpor... |
CVE-2018-7420 | Wireshark | https://github.com/wireshark/wireshark | wiretap/pcapng.c | pcapng_read_block | static block_return_val pcapng_read_block(wtap *wth, FILE_T fh, pcapng_t *pn, wtapng_block_t *wblock, int *err, gchar **err_info) {
block_return_val ret;
pcapng_block_header_t bh;
guint32 block_total_length;
wblock->block = NULL;
if (!wtap_read_bytes_or_eof(fh, &bh, sizeof bh, err, err_info)) {
... | static block_return_val pcapng_read_block(wtap *wth, FILE_T fh, pcapng_t *pn, wtapng_block_t *wblock, int *err, gchar **err_info) {
block_return_val ret;
pcapng_block_header_t bh;
guint32 block_total_length;
wblock->block = NULL;
if (!wtap_read_bytes_or_eof(fh, &bh, sizeof bh, err, err_info)) {
... | static block_return_val pcapng_read_block(wtap *wth, FILE_T fh, pcapng_t *pn, wtapng_block_t *wblock, int *err, gchar **err_info) {
block_return_val ret;
pcapng_block_header_t bh;
guint32 block_total_length;
wblock->block = NULL;
if (!wtap_read_bytes_or_eof(fh, &bh, sizeof bh, err, err_info)) {
... | static block_return_val pcapng_read_block(wtap *wth, FILE_T fh, pcapng_t *pn, wtapng_block_t *wblock, int *err, gchar **err_info) {
block_return_val ret;
pcapng_block_header_t bh;
guint32 block_total_length;
wblock->block = NULL;
if (!wtap_read_bytes_or_eof(fh, &bh, sizeof bh, err, err_info)) {
... | static block_return_val pcapng_read_block(wtap *wth, FILE_T fh, pcapng_t *pn, wtapng_block_t *wblock, int *err, gchar **err_info) {
if (bh.block_type == BLOCK_TYPE_SHB) {
} else {
if (pn->byte_swapped) {
bh.block_total_length = GUT32_SWAP_LE_BE(bh.block_total_length);
}
if (!... | static block_return_val pcapng_read_block(wtap *wth, FILE_T fh, pcapng_t *pn, wtapng_block_t *wblock, int *err, gchar **err_info) {
if (bh.block_type == BLOCK_TYPE_SHB) {
} else {
if (pn->byte_swapped) {
bh.block_total_length = GUT32_SWAP_LE_BE(bh.block_total_length);
}
if (!... | static block_return_val pcapng_read_block(wtap *wth, FILE_T fh, pcapng_t *pn, wtapng_block_t *wblock, int *err, gchar **err_info) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (bh.block_type == BLOCK_TYPE_SHB) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
} else {
if (pn->byte_swapped) {
... | static block_return_val pcapng_read_block(wtap *wth, FILE_T fh, pcapng_t *pn, wtapng_block_t *wblock, int *err, gchar **err_info) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (bh.block_type == BLOCK_TYPE_SHB) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
} else {
if (pn->byte_swapped) {
... | static block_return_val pcapng_read_block(wtap *wth, FILE_T fh, pcapng_t *pn, wtapng_block_t *wblock, int *err, gchar **err_info) {
if (bh.block_type == BLOCK_TYPE_SHB) {
} else {
if (pn->byte_swapped) {
bh.block_total_length = GUT32_SWAP_LE_BE(bh.block_total_length);
}
... |
CVE-2018-7420 | Wireshark | https://github.com/wireshark/wireshark | wiretap/pcapng.c | pcapng_read_if_descr_block | static gboolean pcapng_read_if_descr_block(wtap *wth, FILE_T fh, pcapng_block_header_t *bh, pcapng_t *pn, wtapng_block_t *wblock, int *err, gchar **err_info) {
guint64 time_units_per_second = 1000000;
int tsprecision = WTAP_TSPREC_USEC;
int bytes_read;
guint to_read, opt_cont_buf_len;
pcapng_interfa... | static gboolean pcapng_read_if_descr_block(wtap *wth, FILE_T fh, pcapng_block_header_t *bh, pcapng_t *pn, wtapng_block_t *wblock, int *err, gchar **err_info) {
guint64 time_units_per_second = 1000000;
int tsprecision = WTAP_TSPREC_USEC;
int bytes_read;
guint to_read, opt_cont_buf_len;
pcapng_interfa... | static gboolean pcapng_read_if_descr_block(wtap *wth, FILE_T fh, pcapng_block_header_t *bh, pcapng_t *pn, wtapng_block_t *wblock, int *err, gchar **err_info) {
guint64 time_units_per_second = 1000000;
int tsprecision = WTAP_TSPREC_USEC;
int bytes_read;
guint to_read, opt_cont_buf_len;
pcapng_interfa... | static gboolean pcapng_read_if_descr_block(wtap *wth, FILE_T fh, pcapng_block_header_t *bh, pcapng_t *pn, wtapng_block_t *wblock, int *err, gchar **err_info) {
guint64 time_units_per_second = 1000000;
int tsprecision = WTAP_TSPREC_USEC;
int bytes_read;
guint to_read, opt_cont_buf_len;
pcapng_interfa... | static gboolean pcapng_read_if_descr_block(wtap *wth, FILE_T fh, pcapng_block_header_t *bh, pcapng_t *pn, wtapng_block_t *wblock, int *err, gchar **err_info) {
if (bh->block_total_length < M_IDB_SIZE) {
return FALSE;
}
if (bh->block_total_length > MAX_BLOCK_SIZE) {
*err = WTAP_ERR_BAD_FILE;
... | static gboolean pcapng_read_if_descr_block(wtap *wth, FILE_T fh, pcapng_block_header_t *bh, pcapng_t *pn, wtapng_block_t *wblock, int *err, gchar **err_info) {
if (bh->block_total_length < M_IDB_SIZE) {
return FALSE;
}
if (!wtap_read_bytes(fh, &idb, sizeof idb, err, err_info)) {
return FALSE... | static gboolean pcapng_read_if_descr_block(wtap *wth, FILE_T fh, pcapng_block_header_t *bh, pcapng_t *pn, wtapng_block_t *wblock, int *err, gchar **err_info) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (bh->block_total_length < M_IDB_SIZE) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
retur... | static gboolean pcapng_read_if_descr_block(wtap *wth, FILE_T fh, pcapng_block_header_t *bh, pcapng_t *pn, wtapng_block_t *wblock, int *err, gchar **err_info) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (bh->block_total_length < M_IDB_SIZE) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
retur... | static gboolean pcapng_read_if_descr_block(wtap *wth, FILE_T fh, pcapng_block_header_t *bh, pcapng_t *pn, wtapng_block_t *wblock, int *err, gchar **err_info) {
if (bh->block_total_length < M_IDB_SIZE) {
- return FALSE;
- }
- if (bh->block_total_length > MAX_BLOCK_SIZE) {
- *err = WTAP_ERR_BAD_... |
CVE-2018-7420 | Wireshark | https://github.com/wireshark/wireshark | wiretap/pcapng.c | pcapng_read_interface_statistics_block | static gboolean pcapng_read_interface_statistics_block(FILE_T fh, pcapng_block_header_t *bh, pcapng_t *pn, wtapng_block_t *wblock,int *err, gchar **err_info) {
int bytes_read;
guint to_read, opt_cont_buf_len;
pcapng_interface_statistics_block_t isb;
pcapng_option_header_t oh;
guint8 *option_content ... | static gboolean pcapng_read_interface_statistics_block(FILE_T fh, pcapng_block_header_t *bh, pcapng_t *pn, wtapng_block_t *wblock,int *err, gchar **err_info) {
int bytes_read;
guint to_read, opt_cont_buf_len;
pcapng_interface_statistics_block_t isb;
pcapng_option_header_t oh;
guint8 *option_content ... | static gboolean pcapng_read_interface_statistics_block(FILE_T fh, pcapng_block_header_t *bh, pcapng_t *pn, wtapng_block_t *wblock,int *err, gchar **err_info) {
int bytes_read;
guint to_read, opt_cont_buf_len;
pcapng_interface_statistics_block_t isb;
pcapng_option_header_t oh;
guint8 *option_content ... | static gboolean pcapng_read_interface_statistics_block(FILE_T fh, pcapng_block_header_t *bh, pcapng_t *pn, wtapng_block_t *wblock,int *err, gchar **err_info) {
int bytes_read;
guint to_read, opt_cont_buf_len;
pcapng_interface_statistics_block_t isb;
pcapng_option_header_t oh;
guint8 *option_content ... | static gboolean pcapng_read_interface_statistics_block(FILE_T fh, pcapng_block_header_t *bh, pcapng_t *pn, wtapng_block_t *wblock,int *err, gchar **err_info) {
if (bh->block_total_length < M_ISB_SIZE) {
return FALSE;
}
if (bh->block_total_length > MAX_BLOCK_SIZE) {
*err = WTAP_ERR_BAD_FILE;
... | static gboolean pcapng_read_interface_statistics_block(FILE_T fh, pcapng_block_header_t *bh, pcapng_t *pn, wtapng_block_t *wblock,int *err, gchar **err_info) {
if (bh->block_total_length < M_ISB_SIZE) {
return FALSE;
}
if (!wtap_read_bytes(fh, &isb, sizeof isb, err, err_info)) {
return FALSE... | static gboolean pcapng_read_interface_statistics_block(FILE_T fh, pcapng_block_header_t *bh, pcapng_t *pn, wtapng_block_t *wblock,int *err, gchar **err_info) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (bh->block_total_length < M_ISB_SIZE) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
retur... | static gboolean pcapng_read_interface_statistics_block(FILE_T fh, pcapng_block_header_t *bh, pcapng_t *pn, wtapng_block_t *wblock,int *err, gchar **err_info) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (bh->block_total_length < M_ISB_SIZE) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
retur... | static gboolean pcapng_read_interface_statistics_block(FILE_T fh, pcapng_block_header_t *bh, pcapng_t *pn, wtapng_block_t *wblock,int *err, gchar **err_info) {
if (bh->block_total_length < M_ISB_SIZE) {
- return FALSE;
- }
- if (bh->block_total_length > MAX_BLOCK_SIZE) {
- *err = WTAP_ERR_BAD_... |
CVE-2018-7420 | Wireshark | https://github.com/wireshark/wireshark | wiretap/pcapng.c | pcapng_read_name_resolution_block | static gboolean pcapng_read_name_resolution_block(FILE_T fh, pcapng_block_header_t *bh, pcapng_t *pn, wtapng_block_t *wblock, int *err, gchar **err_info) {
int block_read;
int to_read;
pcapng_name_resolution_block_t nrb;
Buffer nrb_rec;
guint32 v4_addr;
guint record_len, opt_cont_buf_len;
ch... | static gboolean pcapng_read_name_resolution_block(FILE_T fh, pcapng_block_header_t *bh, pcapng_t *pn, wtapng_block_t *wblock, int *err, gchar **err_info) {
int block_read;
int to_read;
pcapng_name_resolution_block_t nrb;
Buffer nrb_rec;
guint32 v4_addr;
guint record_len, opt_cont_buf_len;
ch... | static gboolean pcapng_read_name_resolution_block(FILE_T fh, pcapng_block_header_t *bh, pcapng_t *pn, wtapng_block_t *wblock, int *err, gchar **err_info) {
int block_read;
int to_read;
pcapng_name_resolution_block_t nrb;
Buffer nrb_rec;
guint32 v4_addr;
guint record_len, opt_cont_buf_len;
ch... | static gboolean pcapng_read_name_resolution_block(FILE_T fh, pcapng_block_header_t *bh, pcapng_t *pn, wtapng_block_t *wblock, int *err, gchar **err_info) {
int block_read;
int to_read;
pcapng_name_resolution_block_t nrb;
Buffer nrb_rec;
guint32 v4_addr;
guint record_len, opt_cont_buf_len;
ch... | static gboolean pcapng_read_name_resolution_block(FILE_T fh, pcapng_block_header_t *bh, pcapng_t *pn, wtapng_block_t *wblock, int *err, gchar **err_info) {
if (bh->block_total_length < M_NRB_SIZE) {
return FALSE;
}
if (bh->block_total_length > MAX_BLOCK_SIZE) {
*err = WTAP_ERR_BAD_FILE;
... | static gboolean pcapng_read_name_resolution_block(FILE_T fh, pcapng_block_header_t *bh, pcapng_t *pn, wtapng_block_t *wblock, int *err, gchar **err_info) {
if (bh->block_total_length < M_NRB_SIZE) {
return FALSE;
}
to_read = bh->block_total_length - 8 - 4;
pcapng_debug("pcapng_read_name_resoluti... | static gboolean pcapng_read_name_resolution_block(FILE_T fh, pcapng_block_header_t *bh, pcapng_t *pn, wtapng_block_t *wblock, int *err, gchar **err_info) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (bh->block_total_length < M_NRB_SIZE) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
return FA... | static gboolean pcapng_read_name_resolution_block(FILE_T fh, pcapng_block_header_t *bh, pcapng_t *pn, wtapng_block_t *wblock, int *err, gchar **err_info) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (bh->block_total_length < M_NRB_SIZE) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
return FA... | static gboolean pcapng_read_name_resolution_block(FILE_T fh, pcapng_block_header_t *bh, pcapng_t *pn, wtapng_block_t *wblock, int *err, gchar **err_info) {
if (bh->block_total_length < M_NRB_SIZE) {
- return FALSE;
- }
- if (bh->block_total_length > MAX_BLOCK_SIZE) {
- *err = WTAP_ERR_BAD_FILE... |
CVE-2018-7420 | Wireshark | https://github.com/wireshark/wireshark | wiretap/pcapng.c | pcapng_read_packet_block | static gboolean pcapng_read_packet_block(FILE_T fh, pcapng_block_header_t *bh, pcapng_t *pn, wtapng_block_t *wblock, int *err, gchar **err_info, gboolean enhanced) {
int bytes_read;
guint block_read;
guint to_read, opt_cont_buf_len;
pcapng_enhanced_packet_block_t epb;
pcapng_packet_block_t pb;
w... | static gboolean pcapng_read_packet_block(FILE_T fh, pcapng_block_header_t *bh, pcapng_t *pn, wtapng_block_t *wblock, int *err, gchar **err_info, gboolean enhanced) {
int bytes_read;
guint block_read;
guint to_read, opt_cont_buf_len;
pcapng_enhanced_packet_block_t epb;
pcapng_packet_block_t pb;
w... | static gboolean pcapng_read_packet_block(FILE_T fh, pcapng_block_header_t *bh, pcapng_t *pn, wtapng_block_t *wblock, int *err, gchar **err_info, gboolean enhanced) {
int bytes_read;
guint block_read;
guint to_read, opt_cont_buf_len;
pcapng_enhanced_packet_block_t epb;
pcapng_packet_block_t pb;
w... | static gboolean pcapng_read_packet_block(FILE_T fh, pcapng_block_header_t *bh, pcapng_t *pn, wtapng_block_t *wblock, int *err, gchar **err_info, gboolean enhanced) {
int bytes_read;
guint block_read;
guint to_read, opt_cont_buf_len;
pcapng_enhanced_packet_block_t epb;
pcapng_packet_block_t pb;
w... | static gboolean pcapng_read_packet_block(FILE_T fh, pcapng_block_header_t *bh, pcapng_t *pn, wtapng_block_t *wblock, int *err, gchar **err_info, gboolean enhanced) {
option_handler *handler;
if (bh->block_total_length > MAX_BLOCK_SIZE) {
*err = WTAP_ERR_BAD_FILE;
*err_info = g_strdup_printf("pca... | static gboolean pcapng_read_packet_block(FILE_T fh, pcapng_block_header_t *bh, pcapng_t *pn, wtapng_block_t *wblock, int *err, gchar **err_info, gboolean enhanced) {
option_handler *handler;
if (enhanced) {
if (bh->block_total_length < M_EPB_SIZE) {
*err_info = g_strdup_printf("pcapng_read_p... | static gboolean pcapng_read_packet_block(FILE_T fh, pcapng_block_header_t *bh, pcapng_t *pn, wtapng_block_t *wblock, int *err, gchar **err_info, gboolean enhanced) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
option_handler *handler;
if (bh->block_total_length > MAX_BLOCK_SIZE) {
*err = WTAP_ERR_... | static gboolean pcapng_read_packet_block(FILE_T fh, pcapng_block_header_t *bh, pcapng_t *pn, wtapng_block_t *wblock, int *err, gchar **err_info, gboolean enhanced) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
option_handler *handler;
if (enhanced) {
if (bh->block_total_length < M_EPB_SIZE) {
... | static gboolean pcapng_read_packet_block(FILE_T fh, pcapng_block_header_t *bh, pcapng_t *pn, wtapng_block_t *wblock, int *err, gchar **err_info, gboolean enhanced) {
option_handler *handler;
- if (bh->block_total_length > MAX_BLOCK_SIZE) {
- *err = WTAP_ERR_BAD_FILE;
- *err_info = g_strdup_printf... |
CVE-2018-7420 | Wireshark | https://github.com/wireshark/wireshark | wiretap/pcapng.c | pcapng_read_simple_packet_block | static gboolean pcapng_read_simple_packet_block(FILE_T fh, pcapng_block_header_t *bh, pcapng_t *pn, wtapng_block_t *wblock, int *err, gchar **err_info) {
interface_info_t iface_info;
pcapng_simple_packet_block_t spb;
wtapng_simple_packet_t simple_packet;
guint32 block_total_length;
guint32 padding;
... | static gboolean pcapng_read_simple_packet_block(FILE_T fh, pcapng_block_header_t *bh, pcapng_t *pn, wtapng_block_t *wblock, int *err, gchar **err_info) {
interface_info_t iface_info;
pcapng_simple_packet_block_t spb;
wtapng_simple_packet_t simple_packet;
guint32 block_total_length;
guint32 padding;
... | static gboolean pcapng_read_simple_packet_block(FILE_T fh, pcapng_block_header_t *bh, pcapng_t *pn, wtapng_block_t *wblock, int *err, gchar **err_info) {
interface_info_t iface_info;
pcapng_simple_packet_block_t spb;
wtapng_simple_packet_t simple_packet;
guint32 block_total_length;
guint32 padding;
... | static gboolean pcapng_read_simple_packet_block(FILE_T fh, pcapng_block_header_t *bh, pcapng_t *pn, wtapng_block_t *wblock, int *err, gchar **err_info) {
interface_info_t iface_info;
pcapng_simple_packet_block_t spb;
wtapng_simple_packet_t simple_packet;
guint32 block_total_length;
guint32 padding;
... | static gboolean pcapng_read_simple_packet_block(FILE_T fh, pcapng_block_header_t *bh, pcapng_t *pn, wtapng_block_t *wblock, int *err, gchar **err_info) {
if (bh->block_total_length < M_SPB_SIZE) {
return FALSE;
}
if (bh->block_total_length > MAX_BLOCK_SIZE) {
*err = WTAP_ERR_BAD_FILE;
... | static gboolean pcapng_read_simple_packet_block(FILE_T fh, pcapng_block_header_t *bh, pcapng_t *pn, wtapng_block_t *wblock, int *err, gchar **err_info) {
if (bh->block_total_length < M_SPB_SIZE) {
return FALSE;
}
if (!wtap_read_bytes(fh, &spb, sizeof spb, err, err_info)) {
return FALSE;
... | static gboolean pcapng_read_simple_packet_block(FILE_T fh, pcapng_block_header_t *bh, pcapng_t *pn, wtapng_block_t *wblock, int *err, gchar **err_info) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (bh->block_total_length < M_SPB_SIZE) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
return FALS... | static gboolean pcapng_read_simple_packet_block(FILE_T fh, pcapng_block_header_t *bh, pcapng_t *pn, wtapng_block_t *wblock, int *err, gchar **err_info) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (bh->block_total_length < M_SPB_SIZE) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
return FALS... | static gboolean pcapng_read_simple_packet_block(FILE_T fh, pcapng_block_header_t *bh, pcapng_t *pn, wtapng_block_t *wblock, int *err, gchar **err_info) {
if (bh->block_total_length < M_SPB_SIZE) {
- return FALSE;
- }
- if (bh->block_total_length > MAX_BLOCK_SIZE) {
- *err = WTAP_ERR_BAD_FILE;
... |
CVE-2018-7421 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-dmp.c | dissect_dmp_content | static gint dissect_dmp_content (tvbuff_t *tvb, packet_info *pinfo, proto_tree *dmp_tree, gint offset) {
proto_tree *message_tree = NULL;
proto_tree *field_tree = NULL;
proto_item *en = NULL, *ei = NULL, *tf = NULL;
proto_item *hidden_item;
const char *label_string = wmem_strdup (wmem_packet_scope()... | static gint dissect_dmp_content (tvbuff_t *tvb, packet_info *pinfo, proto_tree *dmp_tree, gint offset) {
proto_tree *message_tree = NULL;
proto_tree *field_tree = NULL;
proto_item *en = NULL, *ei = NULL, *tf = NULL;
proto_item *hidden_item;
const char *label_string = wmem_strdup (wmem_packet_scope()... | static gint dissect_dmp_content (tvbuff_t *tvb, packet_info *pinfo, proto_tree *dmp_tree, gint offset) {
proto_tree *message_tree = NULL;
proto_tree *field_tree = NULL;
proto_item *en = NULL, *ei = NULL, *tf = NULL;
proto_item *hidden_item;
const char *label_string = wmem_strdup (wmem_packet_scope()... | static gint dissect_dmp_content (tvbuff_t *tvb, packet_info *pinfo, proto_tree *dmp_tree, gint offset) {
proto_tree *message_tree = NULL;
proto_tree *field_tree = NULL;
proto_item *en = NULL, *ei = NULL, *tf = NULL;
proto_item *hidden_item;
const char *label_string = wmem_strdup (wmem_packet_scope()... | static gint dissect_dmp_content (tvbuff_t *tvb, packet_info *pinfo, proto_tree *dmp_tree, gint offset) {
const char *label_string = wmem_strdup (wmem_packet_scope(), "");
const gchar *class_name = NULL;
guint8 message, dmp_sec_pol, dmp_sec_class, dmp_nation = 0, exp_time, dtg;
if (dmp.msg_type == REPORT... | static gint dissect_dmp_content (tvbuff_t *tvb, packet_info *pinfo, proto_tree *dmp_tree, gint offset) {
const char *label_string = wmem_strdup (wmem_packet_scope(), "");
const gchar *class_name = NULL;
guint8 message, dmp_sec_pol, dmp_sec_class, dmp_nation = 0, exp_time, dtg;
if (dmp.msg_type == REPORT... | static gint dissect_dmp_content (tvbuff_t *tvb, packet_info *pinfo, proto_tree *dmp_tree, gint offset) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
const char *label_string = wmem_strdup (wmem_packet_scope(), "");
const gchar *class_name = NULL;
guint8 message, dmp_sec_pol, dmp_sec_class, dmp_nation ... | static gint dissect_dmp_content (tvbuff_t *tvb, packet_info *pinfo, proto_tree *dmp_tree, gint offset) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
const char *label_string = wmem_strdup (wmem_packet_scope(), "");
const gchar *class_name = NULL;
guint8 message, dmp_sec_pol, dmp_sec_class, dmp_nation ... | static gint dissect_dmp_content (tvbuff_t *tvb, packet_info *pinfo, proto_tree *dmp_tree, gint offset) {
const char *label_string = wmem_strdup (wmem_packet_scope(), "");
const gchar *class_name = NULL;
guint8 message, dmp_sec_pol, dmp_sec_class, dmp_nation = 0, exp_time, dtg;
if (dmp.msg_type == R... |
CVE-2018-7421 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-dmp.c | dissect_dmp_security_category | static gint dissect_dmp_security_category (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, const gchar **label_string, gint offset, guint8 ext) {
proto_tree *field_tree = NULL;
proto_item *tf = NULL, *tr = NULL;
gchar *sec_cat = NULL;
guint8 message;
gboolean country_code = FALSE;
message =... | static gint dissect_dmp_security_category (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, const gchar **label_string, gint offset, guint8 ext, gboolean extended) {
proto_tree *field_tree = NULL;
proto_item *tf = NULL, *tr = NULL;
gchar *sec_cat = NULL;
guint8 message;
gboolean country_code = F... | static gint dissect_dmp_security_category (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, const gchar **label_string, gint offset, guint8 ext) {
proto_tree *field_tree = NULL;
proto_item *tf = NULL, *tr = NULL;
gchar *sec_cat = NULL;
guint8 message;
gboolean country_code = FALSE;
message =... | static gint dissect_dmp_security_category (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, const gchar **label_string, gint offset, guint8 ext, gboolean extended) {
proto_tree *field_tree = NULL;
proto_item *tf = NULL, *tr = NULL;
gchar *sec_cat = NULL;
guint8 message;
gboolean country_code = F... | static gint dissect_dmp_security_category (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, const gchar **label_string, gint offset, guint8 ext) {
message = tvb_get_guint8 (tvb, offset);
tf = proto_tree_add_uint_format (tree, hf_message_sec_cat_nat, tvb, offset, 1, message, "Security Categories");
field... | static gint dissect_dmp_security_category (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, const gchar **label_string, gint offset, guint8 ext, gboolean extended) {
message = tvb_get_guint8 (tvb, offset);
tf = proto_tree_add_uint_format (tree, hf_message_sec_cat_nat, tvb, offset, 1, message, "Security Cate... | static gint dissect_dmp_security_category (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, const gchar **label_string, gint offset, guint8 ext) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
message = tvb_get_guint8 (tvb, offset);
tf = proto_tree_add_uint_format (tree, hf_message_sec_cat_nat, tvb, off... | static gint dissect_dmp_security_category (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, const gchar **label_string, gint offset, guint8 ext, gboolean extended) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
message = tvb_get_guint8 (tvb, offset);
tf = proto_tree_add_uint_format (tree, hf_message_se... | -static gint dissect_dmp_security_category (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, const gchar **label_string, gint offset, guint8 ext) {
+static gint dissect_dmp_security_category (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, const gchar **label_string, gint offset, guint8 ext, gboolean extended)... |
CVE-2018-7550 | QEMU | https://github.com/qemu/qemu | hw/display/vga.c | vga_draw_graphic | static void vga_draw_graphic(VGACommonState *s, int full_update) {
DisplaySurface *surface = qemu_console_surface(s->con);
int y1, y, update, linesize, y_start, double_scan, mask, depth;
int width, height, shift_control, bwidth, bits;
ram_addr_t page0, page1, region_start, region_end;
DirtyBitmapSna... | static void vga_draw_graphic(VGACommonState *s, int full_update) {
DisplaySurface *surface = qemu_console_surface(s->con);
int y1, y, update, linesize, y_start, double_scan, mask, depth;
int width, height, shift_control, bwidth, bits;
ram_addr_t page0, page1, region_start, region_end;
DirtyBitmapSna... | static void vga_draw_graphic(VGACommonState *s, int full_update) {
DisplaySurface *surface = qemu_console_surface(s->con);
int y1, y, update, linesize, y_start, double_scan, mask, depth;
int width, height, shift_control, bwidth, bits;
ram_addr_t page0, page1, region_start, region_end;
DirtyBitmapSna... | static void vga_draw_graphic(VGACommonState *s, int full_update) {
DisplaySurface *surface = qemu_console_surface(s->con);
int y1, y, update, linesize, y_start, double_scan, mask, depth;
int width, height, shift_control, bwidth, bits;
ram_addr_t page0, page1, region_start, region_end;
DirtyBitmapSna... | static void vga_draw_graphic(VGACommonState *s, int full_update) {
full_update |= update_basic_params(s);
s->get_resolution(s, &width, &height);
region_start = (s->start_addr * 4);
region_end = region_start + (ram_addr_t)s->line_offset * height;
if (region_end > s->vbe_size) {
region_end = s... | static void vga_draw_graphic(VGACommonState *s, int full_update) {
full_update |= update_basic_params(s);
s->get_resolution(s, &width, &height);
region_start = (s->start_addr * 4);
region_end = region_start + (ram_addr_t)s->line_offset * height;
region_end += width * s->get_bpp(s) / 8;
region_en... | static void vga_draw_graphic(VGACommonState *s, int full_update) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
full_update |= update_basic_params(s);
s->get_resolution(s, &width, &height);
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
region_start = (s->start_addr * 4);
region_end = region_sta... | static void vga_draw_graphic(VGACommonState *s, int full_update) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
full_update |= update_basic_params(s);
s->get_resolution(s, &width, &height);
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
region_start = (s->start_addr * 4);
region_end = region_sta... | static void vga_draw_graphic(VGACommonState *s, int full_update) {
full_update |= update_basic_params(s);
s->get_resolution(s, &width, &height);
region_start = (s->start_addr * 4);
region_end = region_start + (ram_addr_t)s->line_offset * height;
+ region_end += width * s->get_bpp(s) / 8;
+ re... |
CVE-2018-7751 | FFmpeg | https://github.com/FFmpeg/FFmpeg | libavformat/img2dec.c | svg_probe | static int svg_probe(AVProbeData *p) {
const uint8_t *b = p->buf;
const uint8_t *end = p->buf + p->buf_size;
if (memcmp(p->buf, "<?xml", 5)) {
return 0;
}
while (b < end) {
b += ff_subtitles_next_line(b);
if (b >= end - 4) {
return 0;
}
if (!memcmp... | static int svg_probe(AVProbeData *p) {
const uint8_t *b = p->buf;
const uint8_t *end = p->buf + p->buf_size;
if (memcmp(p->buf, "<?xml", 5)) {
return 0;
}
while (b < end) {
int inc = ff_subtitles_next_line(b);
if (!inc) {
break;
}
b += inc;
... | static int svg_probe(AVProbeData *p) {
const uint8_t *b = p->buf;
const uint8_t *end = p->buf + p->buf_size;
if (memcmp(p->buf, "<?xml", 5)) {
return 0;
}
while (b < end) {
b += ff_subtitles_next_line(b);
if (b >= end - 4) {
return 0;
}
if (!memcmp... | static int svg_probe(AVProbeData *p) {
const uint8_t *b = p->buf;
const uint8_t *end = p->buf + p->buf_size;
if (memcmp(p->buf, "<?xml", 5)) {
return 0;
}
while (b < end) {
int inc = ff_subtitles_next_line(b);
if (!inc) {
break;
}
b += inc;
... | static int svg_probe(AVProbeData *p) {
const uint8_t *b = p->buf;
const uint8_t *end = p->buf + p->buf_size;
while (b < end) {
b += ff_subtitles_next_line(b);
if (b >= end - 4) {
return 0;
}
if (!memcmp(b, "<svg", 4)) {
return AVPROBE_SCORE_EXTENSION +... | static int svg_probe(AVProbeData *p) {
const uint8_t *b = p->buf;
const uint8_t *end = p->buf + p->buf_size;
while (b < end) {
int inc = ff_subtitles_next_line(b);
if (!inc) {
break;
}
b += inc;
if (b >= end - 4) {
return 0;
}
i... | static int svg_probe(AVProbeData *p) {
const uint8_t *b = p->buf;
const uint8_t *end = p->buf + p->buf_size;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
while (b < end) {
b += ff_subtitles_next_line(b);
if (b >= end - 4) {
return 0;
}
if (!memcmp(b, "<svg", ... | static int svg_probe(AVProbeData *p) {
const uint8_t *b = p->buf;
const uint8_t *end = p->buf + p->buf_size;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
while (b < end) {
int inc = ff_subtitles_next_line(b);
if (!inc) {
break;
}
b += inc;
if (b >= en... | static int svg_probe(AVProbeData *p) {
const uint8_t *b = p->buf;
const uint8_t *end = p->buf + p->buf_size;
while (b < end) {
- b += ff_subtitles_next_line(b);
+ int inc = ff_subtitles_next_line(b);
+ if (!inc) {
+ break;
+ }
+ b += inc;
if (b >= e... |
CVE-2018-9256 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-lwapp.c | dissect_lwapp | static int dissect_lwapp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data ) {
LWAPP_Header header;
guint8 slotId;
guint8 version;
proto_tree *lwapp_tree;
tvbuff_t *next_client;
guint8 dest_mac[6];
guint8 have_destmac=0;
static const int * flags[] = {
&hf_lwapp_flag... | static int dissect_lwapp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data ) {
LWAPP_Header header;
guint8 slotId;
guint8 version;
proto_tree *lwapp_tree;
tvbuff_t *next_client;
guint8 dest_mac[6];
guint8 have_destmac=0;
static const int * flags[] = {
&hf_lwapp_flag... | static int dissect_lwapp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data ) {
LWAPP_Header header;
guint8 slotId;
guint8 version;
proto_tree *lwapp_tree;
tvbuff_t *next_client;
guint8 dest_mac[6];
guint8 have_destmac=0;
static const int * flags[] = {
&hf_lwapp_flag... | static int dissect_lwapp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data ) {
LWAPP_Header header;
guint8 slotId;
guint8 version;
proto_tree *lwapp_tree;
tvbuff_t *next_client;
guint8 dest_mac[6];
guint8 have_destmac=0;
static const int * flags[] = {
&hf_lwapp_flag... | static int dissect_lwapp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data ) {
static const int * flags[] = {
&hf_lwapp_flags_type, &hf_lwapp_flags_fragment, &hf_lwapp_flags_fragment_type, NULL
};
proto_item *ti;
gint offset=0;
if (pinfo->destport == 12223 ) {
tvb_memcp... | static int dissect_lwapp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data ) {
static const int * flags[] = {
&hf_lwapp_flags_type, &hf_lwapp_flags_fragment, &hf_lwapp_flags_fragment_type, NULL
};
guint encap_nested_count;
proto_item *ti;
gint offset=0;
if (pinfo->destport ... | static int dissect_lwapp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data ) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
static const int * flags[] = {
&hf_lwapp_flags_type, &hf_lwapp_flags_fragment, &hf_lwapp_flags_fragment_type, NULL
};
proto_item *ti;
gint offset=0;
... | static int dissect_lwapp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data ) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
static const int * flags[] = {
&hf_lwapp_flags_type, &hf_lwapp_flags_fragment, &hf_lwapp_flags_fragment_type, NULL
};
guint encap_nested_count;
proto_ite... | static int dissect_lwapp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data ) {
static const int * flags[] = {
&hf_lwapp_flags_type, &hf_lwapp_flags_fragment, &hf_lwapp_flags_fragment_type, NULL
};
+ guint encap_nested_count;
proto_item *ti;
gint offset=0;
if (pinfo->d... |
CVE-2018-9256 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-lwapp.c | proto_register_lwapp | void proto_register_lwapp(void) {
static hf_register_info hf[] = {
{
&hf_lwapp_version, {
"Version", "lwapp.version", FT_UT8, BASE_DEC, NULL, 0x00, NULL, HFILL
}
}, {
&hf_lwapp_slotid, {
"slotId","lwapp.slotId", FT_UT24, BASE_DEC, N... | void proto_register_lwapp(void) {
static hf_register_info hf[] = {
{
&hf_lwapp_version, {
"Version", "lwapp.version", FT_UT8, BASE_DEC, NULL, 0x00, NULL, HFILL
}
}, {
&hf_lwapp_slotid, {
"slotId","lwapp.slotId", FT_UT24, BASE_DEC, N... | void proto_register_lwapp(void) {
static hf_register_info hf[] = {
{
&hf_lwapp_version, {
"Version", "lwapp.version", FT_UT8, BASE_DEC, NULL, 0x00, NULL, HFILL
}
}, {
&hf_lwapp_slotid, {
"slotId","lwapp.slotId", FT_UT24, BASE_DEC, N... | void proto_register_lwapp(void) {
static hf_register_info hf[] = {
{
&hf_lwapp_version, {
"Version", "lwapp.version", FT_UT8, BASE_DEC, NULL, 0x00, NULL, HFILL
}
}, {
&hf_lwapp_slotid, {
"slotId","lwapp.slotId", FT_UT24, BASE_DEC, N... | void proto_register_lwapp(void) {
static hf_register_info hf[] = {
{
&hf_lwapp_version, {
"Version", "lwapp.version", FT_UT8, BASE_DEC, NULL, 0x00, NULL, HFILL
}
}, {
&hf_lwapp_slotid, {
"slotId","lwapp.slotId", FT_UT24, BASE_DEC, N... | void proto_register_lwapp(void) {
static hf_register_info hf[] = {
{
&hf_lwapp_version, {
"Version", "lwapp.version", FT_UT8, BASE_DEC, NULL, 0x00, NULL, HFILL
}
}, {
&hf_lwapp_slotid, {
"slotId","lwapp.slotId", FT_UT24, BASE_DEC, N... | void proto_register_lwapp(void) {
static hf_register_info hf[] = {
{
&hf_lwapp_version, {
"Version", "lwapp.version", FT_UT8, BASE_DEC, NULL, 0x00, NULL, HFILL
}
}, {
&hf_lwapp_slotid, {
"slotId","lwapp.slotId", FT_UT24, BASE_DEC, N... | void proto_register_lwapp(void) {
static hf_register_info hf[] = {
{
&hf_lwapp_version, {
"Version", "lwapp.version", FT_UT8, BASE_DEC, NULL, 0x00, NULL, HFILL
}
}, {
&hf_lwapp_slotid, {
"slotId","lwapp.slotId", FT_UT24, BASE_DEC, N... | void proto_register_lwapp(void) {
static hf_register_info hf[] = {
{
&hf_lwapp_version, {
"Version", "lwapp.version", FT_UT8, BASE_DEC, NULL, 0x00, NULL, HFILL
}
}, {
&hf_lwapp_slotid, {
"slotId","lwapp.slotId", FT_UT24, BA... |
CVE-2018-9257 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-cql.c | dissect_cql_tcp_pdu | static int dissect_cql_tcp_pdu(tvbuff_t* raw_tvb, packet_info* pinfo, proto_tree* tree, void* data ) {
proto_item* ti;
tvbuff_t* tvb = NULL;
proto_tree* cql_tree;
proto_tree* version_tree;
proto_tree* cql_subtree = NULL;
proto_tree* rows_subtree = NULL;
proto_tree* columns_subtree = NULL;
... | static int dissect_cql_tcp_pdu(tvbuff_t* raw_tvb, packet_info* pinfo, proto_tree* tree, void* data ) {
proto_item* ti;
tvbuff_t* tvb = NULL;
proto_tree* cql_tree;
proto_tree* version_tree;
proto_tree* cql_subtree = NULL;
proto_tree* rows_subtree = NULL;
proto_tree* columns_subtree = NULL;
... | static int dissect_cql_tcp_pdu(tvbuff_t* raw_tvb, packet_info* pinfo, proto_tree* tree, void* data ) {
proto_item* ti;
tvbuff_t* tvb = NULL;
proto_tree* cql_tree;
proto_tree* version_tree;
proto_tree* cql_subtree = NULL;
proto_tree* rows_subtree = NULL;
proto_tree* columns_subtree = NULL;
... | static int dissect_cql_tcp_pdu(tvbuff_t* raw_tvb, packet_info* pinfo, proto_tree* tree, void* data ) {
proto_item* ti;
tvbuff_t* tvb = NULL;
proto_tree* cql_tree;
proto_tree* version_tree;
proto_tree* cql_subtree = NULL;
proto_tree* rows_subtree = NULL;
proto_tree* columns_subtree = NULL;
... | static int dissect_cql_tcp_pdu(tvbuff_t* raw_tvb, packet_info* pinfo, proto_tree* tree, void* data ) {
if (server_to_client == 0) {
} else {
switch (opcode) {
case CQL_OPCODE_RESULT:
switch (result_kind) {
case CQL_RESULT_KD_ROWS:
offset += 4;
... | static int dissect_cql_tcp_pdu(tvbuff_t* raw_tvb, packet_info* pinfo, proto_tree* tree, void* data ) {
if (server_to_client == 0) {
} else {
switch (opcode) {
case CQL_OPCODE_RESULT:
switch (result_kind) {
case CQL_RESULT_KD_ROWS:
offset += 4;
... | static int dissect_cql_tcp_pdu(tvbuff_t* raw_tvb, packet_info* pinfo, proto_tree* tree, void* data ) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (server_to_client == 0) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
} else {
switch (opcode) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMEN... | static int dissect_cql_tcp_pdu(tvbuff_t* raw_tvb, packet_info* pinfo, proto_tree* tree, void* data ) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (server_to_client == 0) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
} else {
switch (opcode) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMEN... | static int dissect_cql_tcp_pdu(tvbuff_t* raw_tvb, packet_info* pinfo, proto_tree* tree, void* data ) {
if (server_to_client == 0) {
} else {
switch (opcode) {
case CQL_OPCODE_RESULT:
switch (result_kind) {
case CQL_RESULT_KD_ROWS:
offset += 4;
- ... |
CVE-2018-9258 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-tcp.c | desegment_tcp | static void desegment_tcp(tvbuff_t *tvb, packet_info *pinfo, int offset, guint32 seq, guint32 nxtseq, guint32 sport, guint32 dport, proto_tree *tree, proto_tree *tcp_tree, struct tcp_analysis *tcpd,
struct tcpinfo *tcpinfo) {
fragment_head *ipfd_head;
int last_fragment_len;
gboolea... | static void desegment_tcp(tvbuff_t *tvb, packet_info *pinfo, int offset, guint32 seq, guint32 nxtseq, guint32 sport, guint32 dport, proto_tree *tree, proto_tree *tcp_tree, struct tcp_analysis *tcpd,
struct tcpinfo *tcpinfo) {
fragment_head *ipfd_head;
int last_fragment_len;
gboolea... | static void desegment_tcp(tvbuff_t *tvb, packet_info *pinfo, int offset, guint32 seq, guint32 nxtseq, guint32 sport, guint32 dport, proto_tree *tree, proto_tree *tcp_tree, struct tcp_analysis *tcpd,
struct tcpinfo *tcpinfo) {
fragment_head *ipfd_head;
int last_fragment_len;
gboolea... | static void desegment_tcp(tvbuff_t *tvb, packet_info *pinfo, int offset, guint32 seq, guint32 nxtseq, guint32 sport, guint32 dport, proto_tree *tree, proto_tree *tcp_tree, struct tcp_analysis *tcpd,
struct tcpinfo *tcpinfo) {
fragment_head *ipfd_head;
int last_fragment_len;
gboolea... | static void desegment_tcp(tvbuff_t *tvb, packet_info *pinfo, int offset, guint32 seq, guint32 nxtseq, guint32 sport, guint32 dport, proto_tree *tree, proto_tree *tcp_tree, struct tcp_analysis *tcpd,
struct tcpinfo *tcpinfo) {
again:
ipfd_head = NULL;
last_fragment_len = 0;
msp = NU... | static void desegment_tcp(tvbuff_t *tvb, packet_info *pinfo, int offset, guint32 seq, guint32 nxtseq, guint32 sport, guint32 dport, proto_tree *tree, proto_tree *tcp_tree, struct tcp_analysis *tcpd,
struct tcpinfo *tcpinfo) {
again:
ipfd_head = NULL;
last_fragment_len = 0;
msp = NU... | static void desegment_tcp(tvbuff_t *tvb, packet_info *pinfo, int offset, guint32 seq, guint32 nxtseq, guint32 sport, guint32 dport, proto_tree *tree, proto_tree *tcp_tree, struct tcp_analysis *tcpd,
struct tcpinfo *tcpinfo) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
again:
ipfd_he... | static void desegment_tcp(tvbuff_t *tvb, packet_info *pinfo, int offset, guint32 seq, guint32 nxtseq, guint32 sport, guint32 dport, proto_tree *tree, proto_tree *tcp_tree, struct tcp_analysis *tcpd,
struct tcpinfo *tcpinfo) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
again:
ipfd_he... | static void desegment_tcp(tvbuff_t *tvb, packet_info *pinfo, int offset, guint32 seq, guint32 nxtseq, guint32 sport, guint32 dport, proto_tree *tree, proto_tree *tcp_tree, struct tcp_analysis *tcpd,
struct tcpinfo *tcpinfo) {
again:
ipfd_head = NULL;
last_fragment_len = 0;
ms... |
CVE-2018-9259 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/file-mp4.c | dissect_mp4 | static int dissect_mp4(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data ) {
gint offset = 0;
guint32 box_type;
proto_item *pi;
proto_tree *mp4_tree;
gint ret;
if (tvb_reported_length(tvb) < M_BOX_SIZE) {
return 0;
}
box_type = tvb_get_ntohl(tvb, 4);
if (try_val... | static int dissect_mp4(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data ) {
gint offset = 0;
guint32 box_type;
proto_item *pi;
proto_tree *mp4_tree;
gint ret;
if (tvb_reported_length(tvb) < M_BOX_SIZE) {
return 0;
}
box_type = tvb_get_ntohl(tvb, 4);
if (try_val... | static int dissect_mp4(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data ) {
gint offset = 0;
guint32 box_type;
proto_item *pi;
proto_tree *mp4_tree;
gint ret;
if (tvb_reported_length(tvb) < M_BOX_SIZE) {
return 0;
}
box_type = tvb_get_ntohl(tvb, 4);
if (try_val... | static int dissect_mp4(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data ) {
gint offset = 0;
guint32 box_type;
proto_item *pi;
proto_tree *mp4_tree;
gint ret;
if (tvb_reported_length(tvb) < M_BOX_SIZE) {
return 0;
}
box_type = tvb_get_ntohl(tvb, 4);
if (try_val... | static int dissect_mp4(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data ) {
gint offset = 0;
if (tvb_reported_length(tvb) < M_BOX_SIZE) {
return 0;
}
box_type = tvb_get_ntohl(tvb, 4);
pi = proto_tree_add_protocol_format(tree, proto_mp4, tvb, 0, (gint)tvb_reported_length(tvb), ... | static int dissect_mp4(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data ) {
gint offset = 0;
if (tvb_reported_length(tvb) < M_BOX_SIZE) {
return 0;
}
box_type = tvb_get_ntohl(tvb, 4);
pi = proto_tree_add_protocol_format(tree, proto_mp4, tvb, 0, (gint)tvb_reported_length(tvb), ... | static int dissect_mp4(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data ) {
gint offset = 0;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (tvb_reported_length(tvb) < M_BOX_SIZE) {
return 0;
}
box_type = tvb_get_ntohl(tvb, 4);
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT ... | static int dissect_mp4(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data ) {
gint offset = 0;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (tvb_reported_length(tvb) < M_BOX_SIZE) {
return 0;
}
box_type = tvb_get_ntohl(tvb, 4);
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT ... | static int dissect_mp4(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data ) {
gint offset = 0;
if (tvb_reported_length(tvb) < M_BOX_SIZE) {
return 0;
}
box_type = tvb_get_ntohl(tvb, 4);
pi = proto_tree_add_protocol_format(tree, proto_mp4, tvb, 0, (gint)tvb_reported_length... |
CVE-2018-9259 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/file-mp4.c | dissect_mp4_box | static gint dissect_mp4_box(guint32 parent_box_type, tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree) {
gint offset_start;
guint64 box_size;
guint32 box_type;
guint8 *box_type_str;
proto_item *type_pi, *size_pi, *ext_size_pi = NULL;
proto_tree *box_tree;
gint ret;
gint b... | static gint dissect_mp4_box(guint32 parent_box_type, guint depth, tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree) {
gint offset_start;
guint64 box_size;
guint32 box_type;
guint8 *box_type_str;
proto_item *type_pi, *size_pi, *ext_size_pi = NULL;
proto_tree *box_tree;
gint re... | static gint dissect_mp4_box(guint32 parent_box_type, tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree) {
gint offset_start;
guint64 box_size;
guint32 box_type;
guint8 *box_type_str;
proto_item *type_pi, *size_pi, *ext_size_pi = NULL;
proto_tree *box_tree;
gint ret;
gint b... | static gint dissect_mp4_box(guint32 parent_box_type, guint depth, tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree) {
gint offset_start;
guint64 box_size;
guint32 box_type;
guint8 *box_type_str;
proto_item *type_pi, *size_pi, *ext_size_pi = NULL;
proto_tree *box_tree;
gint re... | static gint dissect_mp4_box(guint32 parent_box_type, tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree) {
offset_start = offset;
box_size = (guint64)tvb_get_ntohl(tvb, offset);
if ((box_size != BOX_SIZE_EXTENDED) && (box_size < M_BOX_SIZE)) {
return -1;
}
box_type = tvb_get_nt... | static gint dissect_mp4_box(guint32 parent_box_type, guint depth, tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree) {
offset_start = offset;
box_size = (guint64)tvb_get_ntohl(tvb, offset);
if ((box_size != BOX_SIZE_EXTENDED) && (box_size < M_BOX_SIZE)) {
return -1;
}
box_type... | static gint dissect_mp4_box(guint32 parent_box_type, tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
offset_start = offset;
box_size = (guint64)tvb_get_ntohl(tvb, offset);
if ((box_size != BOX_SIZE_EXTENDED) && (box_size < M_BOX_SIZE)) {
... | static gint dissect_mp4_box(guint32 parent_box_type, guint depth, tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
offset_start = offset;
box_size = (guint64)tvb_get_ntohl(tvb, offset);
if ((box_size != BOX_SIZE_EXTENDED) && (box_size < M_... | -static gint dissect_mp4_box(guint32 parent_box_type, tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree) {
+static gint dissect_mp4_box(guint32 parent_box_type, guint depth, tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree) {
offset_start = offset;
box_size = (guint64)tvb_get_nt... |
CVE-2018-9259 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/file-mp4.c | dissect_mp4_dref_body | static gint dissect_mp4_dref_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree) {
gint offset_start;
guint32 entry_cnt, i;
gint ret;
offset_start = offset;
proto_tree_add_item(tree, hf_mp4_full_box_ver, tvb, offset, 1, ENC_BIG_ENDIAN);
offset += 1;
proto_tree_ad... | static gint dissect_mp4_dref_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, guint depth, proto_tree *tree) {
gint offset_start;
guint32 entry_cnt, i;
gint ret;
offset_start = offset;
proto_tree_add_item(tree, hf_mp4_full_box_ver, tvb, offset, 1, ENC_BIG_ENDIAN);
offset += 1;
... | static gint dissect_mp4_dref_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree) {
gint offset_start;
guint32 entry_cnt, i;
gint ret;
offset_start = offset;
proto_tree_add_item(tree, hf_mp4_full_box_ver, tvb, offset, 1, ENC_BIG_ENDIAN);
offset += 1;
proto_tree_ad... | static gint dissect_mp4_dref_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, guint depth, proto_tree *tree) {
gint offset_start;
guint32 entry_cnt, i;
gint ret;
offset_start = offset;
proto_tree_add_item(tree, hf_mp4_full_box_ver, tvb, offset, 1, ENC_BIG_ENDIAN);
offset += 1;
... | static gint dissect_mp4_dref_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree) {
proto_tree_add_item(tree, hf_mp4_full_box_ver, tvb, offset, 1, ENC_BIG_ENDIAN);
offset += 1;
proto_tree_add_item(tree, hf_mp4_full_box_flags, tvb, offset, 3, ENC_BIG_ENDIAN);
offset += 3;
... | static gint dissect_mp4_dref_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, guint depth, proto_tree *tree) {
proto_tree_add_item(tree, hf_mp4_full_box_ver, tvb, offset, 1, ENC_BIG_ENDIAN);
offset += 1;
proto_tree_add_item(tree, hf_mp4_full_box_flags, tvb, offset, 3, ENC_BIG_ENDIAN);
offs... | static gint dissect_mp4_dref_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
proto_tree_add_item(tree, hf_mp4_full_box_ver, tvb, offset, 1, ENC_BIG_ENDIAN);
offset += 1;
proto_tree_add_item(tree, hf_mp4_full_box_flags, tvb,... | static gint dissect_mp4_dref_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, guint depth, proto_tree *tree) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
proto_tree_add_item(tree, hf_mp4_full_box_ver, tvb, offset, 1, ENC_BIG_ENDIAN);
offset += 1;
proto_tree_add_item(tree, hf_mp4_full_bo... | -static gint dissect_mp4_dref_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree) {
+static gint dissect_mp4_dref_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, guint depth, proto_tree *tree) {
proto_tree_add_item(tree, hf_mp4_full_box_ver, tvb, offset, 1, ENC_BIG_ENDIA... |
CVE-2018-9259 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/file-mp4.c | dissect_mp4_ftyp_body | static gint dissect_mp4_ftyp_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree) {
gint offset_start;
offset_start = offset;
proto_tree_add_item(tree, hf_mp4_ftyp_brand, tvb, offset, 4, ENC_ASCII|ENC_NA);
offset += 4;
proto_tree_add_item(tree, hf_mp4_ftyp_ver, tvb, offse... | static gint dissect_mp4_ftyp_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, guint depth, proto_tree *tree) {
gint offset_start;
offset_start = offset;
proto_tree_add_item(tree, hf_mp4_ftyp_brand, tvb, offset, 4, ENC_ASCII|ENC_NA);
offset += 4;
proto_tree_add_item(tree, hf_mp4_ftyp_ve... | static gint dissect_mp4_ftyp_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree) {
gint offset_start;
offset_start = offset;
proto_tree_add_item(tree, hf_mp4_ftyp_brand, tvb, offset, 4, ENC_ASCII|ENC_NA);
offset += 4;
proto_tree_add_item(tree, hf_mp4_ftyp_ver, tvb, offse... | static gint dissect_mp4_ftyp_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, guint depth, proto_tree *tree) {
gint offset_start;
offset_start = offset;
proto_tree_add_item(tree, hf_mp4_ftyp_brand, tvb, offset, 4, ENC_ASCII|ENC_NA);
offset += 4;
proto_tree_add_item(tree, hf_mp4_ftyp_ve... | static gint dissect_mp4_ftyp_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree) {
}
| static gint dissect_mp4_ftyp_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, guint depth, proto_tree *tree) {
}
| static gint dissect_mp4_ftyp_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
}
| static gint dissect_mp4_ftyp_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, guint depth, proto_tree *tree) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
} | -static gint dissect_mp4_ftyp_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree) {
+static gint dissect_mp4_ftyp_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, guint depth, proto_tree *tree) {
} |
CVE-2018-9259 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/file-mp4.c | dissect_mp4_hdlr_body | static gint dissect_mp4_hdlr_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree) {
gint offset_start;
guint hdlr_name_len;
offset_start = offset;
proto_tree_add_item(tree, hf_mp4_full_box_ver, tvb, offset, 1, ENC_BIG_ENDIAN);
offset += 1;
proto_tree_add_item(tree, hf... | static gint dissect_mp4_hdlr_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, guint depth, proto_tree *tree) {
gint offset_start;
guint hdlr_name_len;
offset_start = offset;
proto_tree_add_item(tree, hf_mp4_full_box_ver, tvb, offset, 1, ENC_BIG_ENDIAN);
offset += 1;
proto_tree_add_... | static gint dissect_mp4_hdlr_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree) {
gint offset_start;
guint hdlr_name_len;
offset_start = offset;
proto_tree_add_item(tree, hf_mp4_full_box_ver, tvb, offset, 1, ENC_BIG_ENDIAN);
offset += 1;
proto_tree_add_item(tree, hf... | static gint dissect_mp4_hdlr_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, guint depth, proto_tree *tree) {
gint offset_start;
guint hdlr_name_len;
offset_start = offset;
proto_tree_add_item(tree, hf_mp4_full_box_ver, tvb, offset, 1, ENC_BIG_ENDIAN);
offset += 1;
proto_tree_add_... | static gint dissect_mp4_hdlr_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree) {
}
| static gint dissect_mp4_hdlr_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, guint depth, proto_tree *tree) {
}
| static gint dissect_mp4_hdlr_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
}
| static gint dissect_mp4_hdlr_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, guint depth, proto_tree *tree) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
} | -static gint dissect_mp4_hdlr_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree) {
+static gint dissect_mp4_hdlr_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, guint depth, proto_tree *tree) {
} |
CVE-2018-9259 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/file-mp4.c | dissect_mp4_mfhd_body | static gint dissect_mp4_mfhd_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree) {
gint offset_start;
offset_start = offset;
proto_tree_add_item(tree, hf_mp4_full_box_ver, tvb, offset, 1, ENC_BIG_ENDIAN);
offset += 1;
proto_tree_add_item(tree, hf_mp4_full_box_flags, tvb,... | static gint dissect_mp4_mfhd_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, guint depth, proto_tree *tree) {
gint offset_start;
offset_start = offset;
proto_tree_add_item(tree, hf_mp4_full_box_ver, tvb, offset, 1, ENC_BIG_ENDIAN);
offset += 1;
proto_tree_add_item(tree, hf_mp4_full_bo... | static gint dissect_mp4_mfhd_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree) {
gint offset_start;
offset_start = offset;
proto_tree_add_item(tree, hf_mp4_full_box_ver, tvb, offset, 1, ENC_BIG_ENDIAN);
offset += 1;
proto_tree_add_item(tree, hf_mp4_full_box_flags, tvb,... | static gint dissect_mp4_mfhd_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, guint depth, proto_tree *tree) {
gint offset_start;
offset_start = offset;
proto_tree_add_item(tree, hf_mp4_full_box_ver, tvb, offset, 1, ENC_BIG_ENDIAN);
offset += 1;
proto_tree_add_item(tree, hf_mp4_full_bo... | static gint dissect_mp4_mfhd_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree) {
}
| static gint dissect_mp4_mfhd_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, guint depth, proto_tree *tree) {
}
| static gint dissect_mp4_mfhd_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
}
| static gint dissect_mp4_mfhd_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, guint depth, proto_tree *tree) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
} | -static gint dissect_mp4_mfhd_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree) {
+static gint dissect_mp4_mfhd_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, guint depth, proto_tree *tree) {
} |
CVE-2018-9259 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/file-mp4.c | dissect_mp4_mvhd_body | static gint dissect_mp4_mvhd_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree) {
gint offset_start;
guint8 version;
guint8 time_len;
double rate, vol;
guint16 fract_dec;
guint32 next_tid;
proto_item *next_tid_it;
offset_start = offset;
version = tvb_get... | static gint dissect_mp4_mvhd_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, guint depth, proto_tree *tree) {
gint offset_start;
guint8 version;
guint8 time_len;
double rate, vol;
guint16 fract_dec;
guint32 next_tid;
proto_item *next_tid_it;
offset_start = offset;
vers... | static gint dissect_mp4_mvhd_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree) {
gint offset_start;
guint8 version;
guint8 time_len;
double rate, vol;
guint16 fract_dec;
guint32 next_tid;
proto_item *next_tid_it;
offset_start = offset;
version = tvb_get... | static gint dissect_mp4_mvhd_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, guint depth, proto_tree *tree) {
gint offset_start;
guint8 version;
guint8 time_len;
double rate, vol;
guint16 fract_dec;
guint32 next_tid;
proto_item *next_tid_it;
offset_start = offset;
vers... | static gint dissect_mp4_mvhd_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree) {
}
| static gint dissect_mp4_mvhd_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, guint depth, proto_tree *tree) {
}
| static gint dissect_mp4_mvhd_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
}
| static gint dissect_mp4_mvhd_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, guint depth, proto_tree *tree) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
} | -static gint dissect_mp4_mvhd_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree) {
+static gint dissect_mp4_mvhd_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, guint depth, proto_tree *tree) {
} |
CVE-2018-9259 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/file-mp4.c | dissect_mp4_stsd_body | static gint dissect_mp4_stsd_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree) {
guint32 entry_cnt, i;
gint ret;
proto_tree_add_item(tree, hf_mp4_full_box_ver, tvb, offset, 1, ENC_BIG_ENDIAN);
offset += 1;
proto_tree_add_item(tree, hf_mp4_full_box_flags, tvb, offset, 3... | static gint dissect_mp4_stsd_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, guint depth, proto_tree *tree) {
guint32 entry_cnt, i;
gint ret;
proto_tree_add_item(tree, hf_mp4_full_box_ver, tvb, offset, 1, ENC_BIG_ENDIAN);
offset += 1;
proto_tree_add_item(tree, hf_mp4_full_box_flags, t... | static gint dissect_mp4_stsd_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree) {
guint32 entry_cnt, i;
gint ret;
proto_tree_add_item(tree, hf_mp4_full_box_ver, tvb, offset, 1, ENC_BIG_ENDIAN);
offset += 1;
proto_tree_add_item(tree, hf_mp4_full_box_flags, tvb, offset, 3... | static gint dissect_mp4_stsd_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, guint depth, proto_tree *tree) {
guint32 entry_cnt, i;
gint ret;
proto_tree_add_item(tree, hf_mp4_full_box_ver, tvb, offset, 1, ENC_BIG_ENDIAN);
offset += 1;
proto_tree_add_item(tree, hf_mp4_full_box_flags, t... | static gint dissect_mp4_stsd_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree) {
proto_tree_add_item(tree, hf_mp4_full_box_ver, tvb, offset, 1, ENC_BIG_ENDIAN);
offset += 1;
proto_tree_add_item(tree, hf_mp4_full_box_flags, tvb, offset, 3, ENC_BIG_ENDIAN);
offset += 3;
... | static gint dissect_mp4_stsd_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, guint depth, proto_tree *tree) {
proto_tree_add_item(tree, hf_mp4_full_box_ver, tvb, offset, 1, ENC_BIG_ENDIAN);
offset += 1;
proto_tree_add_item(tree, hf_mp4_full_box_flags, tvb, offset, 3, ENC_BIG_ENDIAN);
offs... | static gint dissect_mp4_stsd_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
proto_tree_add_item(tree, hf_mp4_full_box_ver, tvb, offset, 1, ENC_BIG_ENDIAN);
offset += 1;
proto_tree_add_item(tree, hf_mp4_full_box_flags, tvb,... | static gint dissect_mp4_stsd_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, guint depth, proto_tree *tree) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
proto_tree_add_item(tree, hf_mp4_full_box_ver, tvb, offset, 1, ENC_BIG_ENDIAN);
offset += 1;
proto_tree_add_item(tree, hf_mp4_full_bo... | -static gint dissect_mp4_stsd_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree) {
+static gint dissect_mp4_stsd_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, guint depth, proto_tree *tree) {
proto_tree_add_item(tree, hf_mp4_full_box_ver, tvb, offset, 1, ENC_BIG_ENDIA... |
CVE-2018-9259 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/file-mp4.c | dissect_mp4_stsz_body | static gint dissect_mp4_stsz_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree) {
gint offset_start;
guint32 sample_size, sample_count, i;
offset_start = offset;
sample_size = tvb_get_ntohl(tvb, offset);
proto_tree_add_item(tree, hf_mp4_stsz_sample_size, tvb, offset, 4,... | static gint dissect_mp4_stsz_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, guint depth, proto_tree *tree) {
gint offset_start;
guint32 sample_size, sample_count, i;
offset_start = offset;
sample_size = tvb_get_ntohl(tvb, offset);
proto_tree_add_item(tree, hf_mp4_stsz_sample_size, tv... | static gint dissect_mp4_stsz_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree) {
gint offset_start;
guint32 sample_size, sample_count, i;
offset_start = offset;
sample_size = tvb_get_ntohl(tvb, offset);
proto_tree_add_item(tree, hf_mp4_stsz_sample_size, tvb, offset, 4,... | static gint dissect_mp4_stsz_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, guint depth, proto_tree *tree) {
gint offset_start;
guint32 sample_size, sample_count, i;
offset_start = offset;
sample_size = tvb_get_ntohl(tvb, offset);
proto_tree_add_item(tree, hf_mp4_stsz_sample_size, tv... | static gint dissect_mp4_stsz_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree) {
}
| static gint dissect_mp4_stsz_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, guint depth, proto_tree *tree) {
}
| static gint dissect_mp4_stsz_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
}
| static gint dissect_mp4_stsz_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, guint depth, proto_tree *tree) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
} | -static gint dissect_mp4_stsz_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree) {
+static gint dissect_mp4_stsz_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, guint depth, proto_tree *tree) {
} |
CVE-2018-9259 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/file-mp4.c | dissect_mp4_tkhd_body | static gint dissect_mp4_tkhd_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree) {
gint offset_start;
guint8 version;
guint8 time_len;
double width, height;
guint16 fract_dec;
offset_start = offset;
version = tvb_get_guint8(tvb, offset);
proto_tree_add_item(t... | static gint dissect_mp4_tkhd_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, guint depth, proto_tree *tree) {
gint offset_start;
guint8 version;
guint8 time_len;
double width, height;
guint16 fract_dec;
offset_start = offset;
version = tvb_get_guint8(tvb, offset);
proto_tr... | static gint dissect_mp4_tkhd_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree) {
gint offset_start;
guint8 version;
guint8 time_len;
double width, height;
guint16 fract_dec;
offset_start = offset;
version = tvb_get_guint8(tvb, offset);
proto_tree_add_item(t... | static gint dissect_mp4_tkhd_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, guint depth, proto_tree *tree) {
gint offset_start;
guint8 version;
guint8 time_len;
double width, height;
guint16 fract_dec;
offset_start = offset;
version = tvb_get_guint8(tvb, offset);
proto_tr... | static gint dissect_mp4_tkhd_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree) {
}
| static gint dissect_mp4_tkhd_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, guint depth, proto_tree *tree) {
}
| static gint dissect_mp4_tkhd_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
}
| static gint dissect_mp4_tkhd_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, guint depth, proto_tree *tree) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
} | -static gint dissect_mp4_tkhd_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree) {
+static gint dissect_mp4_tkhd_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, guint depth, proto_tree *tree) {
} |
CVE-2018-9259 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/file-mp4.c | dissect_mp4_url_body | static gint dissect_mp4_url_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree) {
guint32 flags;
proto_tree_add_item(tree, hf_mp4_full_box_ver, tvb, offset, 1, ENC_BIG_ENDIAN);
offset += 1;
flags = tvb_get_ntoh24(tvb, offset);
proto_tree_add_item(tree, hf_mp4_full_box_fl... | static gint dissect_mp4_url_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, guint depth, proto_tree *tree) {
guint32 flags;
proto_tree_add_item(tree, hf_mp4_full_box_ver, tvb, offset, 1, ENC_BIG_ENDIAN);
offset += 1;
flags = tvb_get_ntoh24(tvb, offset);
proto_tree_add_item(tree, hf_mp... | static gint dissect_mp4_url_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree) {
guint32 flags;
proto_tree_add_item(tree, hf_mp4_full_box_ver, tvb, offset, 1, ENC_BIG_ENDIAN);
offset += 1;
flags = tvb_get_ntoh24(tvb, offset);
proto_tree_add_item(tree, hf_mp4_full_box_fl... | static gint dissect_mp4_url_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, guint depth, proto_tree *tree) {
guint32 flags;
proto_tree_add_item(tree, hf_mp4_full_box_ver, tvb, offset, 1, ENC_BIG_ENDIAN);
offset += 1;
flags = tvb_get_ntoh24(tvb, offset);
proto_tree_add_item(tree, hf_mp... | static gint dissect_mp4_url_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree) {
}
| static gint dissect_mp4_url_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, guint depth, proto_tree *tree) {
}
| static gint dissect_mp4_url_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
}
| static gint dissect_mp4_url_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, guint depth, proto_tree *tree) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
} | -static gint dissect_mp4_url_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, proto_tree *tree) {
+static gint dissect_mp4_url_body(tvbuff_t *tvb, gint offset, gint len, packet_info *pinfo, guint depth, proto_tree *tree) {
} |
CVE-2018-9259 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/file-mp4.c | proto_register_mp4 | void proto_register_mp4(void) {
static hf_register_info hf[] = {
{
&hf_mp4_box_size, {
"Box size", "mp4.box.size", FT_UT32, BASE_DEC, NULL, 0, NULL, HFILL
}
}, {
&hf_mp4_box_type_str, {
"Box type", "mp4.box.type_str", FT_STRG, BASE_... | void proto_register_mp4(void) {
static hf_register_info hf[] = {
{
&hf_mp4_box_size, {
"Box size", "mp4.box.size", FT_UT32, BASE_DEC, NULL, 0, NULL, HFILL
}
}, {
&hf_mp4_box_type_str, {
"Box type", "mp4.box.type_str", FT_STRG, BASE_... | void proto_register_mp4(void) {
static hf_register_info hf[] = {
{
&hf_mp4_box_size, {
"Box size", "mp4.box.size", FT_UT32, BASE_DEC, NULL, 0, NULL, HFILL
}
}, {
&hf_mp4_box_type_str, {
"Box type", "mp4.box.type_str", FT_STRG, BASE_... | void proto_register_mp4(void) {
static hf_register_info hf[] = {
{
&hf_mp4_box_size, {
"Box size", "mp4.box.size", FT_UT32, BASE_DEC, NULL, 0, NULL, HFILL
}
}, {
&hf_mp4_box_type_str, {
"Box type", "mp4.box.type_str", FT_STRG, BASE_... | void proto_register_mp4(void) {
static ei_register_info ei[] = {
{
&ei_mp4_box_too_large, {
"mp4.box_too_large", PI_PROTOCOL, PI_WARN, "box size too large, dissection of this box is not supported", EXPFILL
}
}, {
&ei_mp4_mvhd_next_tid_unknown, {
... | void proto_register_mp4(void) {
static ei_register_info ei[] = {
{
&ei_mp4_box_too_large, {
"mp4.box_too_large", PI_PROTOCOL, PI_WARN, "box size too large, dissection of this box is not supported", EXPFILL
}
}, {
&ei_mp4_too_many_rec_lvls, {
... | void proto_register_mp4(void) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
static ei_register_info ei[] = {
{
&ei_mp4_box_too_large, {
"mp4.box_too_large", PI_PROTOCOL, PI_WARN, "box size too large, dissection of this box is not supported", EXPFILL
}
},... | void proto_register_mp4(void) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
static ei_register_info ei[] = {
{
&ei_mp4_box_too_large, {
"mp4.box_too_large", PI_PROTOCOL, PI_WARN, "box size too large, dissection of this box is not supported", EXPFILL
}
},... | void proto_register_mp4(void) {
static ei_register_info ei[] = {
{
&ei_mp4_box_too_large, {
"mp4.box_too_large", PI_PROTOCOL, PI_WARN, "box size too large, dissection of this box is not supported", EXPFILL
+ }
+ }, {
+ &ei_mp4_too_many_rec_lvls, ... |
CVE-2018-9261 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-nbap.c | dissect_nbap_FACH_ParametersItem_CTCH_SetupRqstFDD | static int dissect_nbap_FACH_ParametersItem_CTCH_SetupRqstFDD(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
address dst_addr, null_addr;
conversation_t *conversation;
fp_fach_channel_info_t* fp_fach_channel_info;
umts_fp_conversation_info_t *umts_fp_conversation_info;
... | static int dissect_nbap_FACH_ParametersItem_CTCH_SetupRqstFDD(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
address dst_addr, null_addr;
conversation_t *conversation;
fp_fach_channel_info_t* fp_fach_channel_info;
umts_fp_conversation_info_t *umts_fp_conversation_info;
... | static int dissect_nbap_FACH_ParametersItem_CTCH_SetupRqstFDD(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
address dst_addr, null_addr;
conversation_t *conversation;
umts_fp_conversation_info_t *umts_fp_conversation_info;
int i, j, num_tf;
transportLayerAddress_ipv... | static int dissect_nbap_FACH_ParametersItem_CTCH_SetupRqstFDD(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
address dst_addr, null_addr;
conversation_t *conversation;
umts_fp_conversation_info_t *umts_fp_conversation_info;
int i, j, num_tf;
transportLayerAddress_ipv... | static int dissect_nbap_FACH_ParametersItem_CTCH_SetupRqstFDD(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
if(actx->pinfo->link_dir==P2P_DIR_DL) {
umts_fp_conversation_info = wmem_new0(wmem_file_scope(), umts_fp_conversation_info_t);
umts_fp_conversation_info->dch_... | static int dissect_nbap_FACH_ParametersItem_CTCH_SetupRqstFDD(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
if(actx->pinfo->link_dir==P2P_DIR_DL) {
umts_fp_conversation_info = wmem_new0(wmem_file_scope(), umts_fp_conversation_info_t);
umts_fp_conversation_info->dch_... | static int dissect_nbap_FACH_ParametersItem_CTCH_SetupRqstFDD(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (conversation == NULL) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if(actx->pinfo->link_dir==P2P_DIR_DL) ... | static int dissect_nbap_FACH_ParametersItem_CTCH_SetupRqstFDD(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (conversation == NULL) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if(actx->pinfo->link_dir==P2P_DIR_DL) ... | static int dissect_nbap_FACH_ParametersItem_CTCH_SetupRqstFDD(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
if(actx->pinfo->link_dir==P2P_DIR_DL) {
umts_fp_conversation_info = wmem_new0(wmem_file_scope(), umts_fp_conversation_info_t);
umts_fp_conversation_info->... |
CVE-2018-9261 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-nbap.c | dissect_nbap_PCH_ParametersItem_CTCH_SetupRqstFDD | static int dissect_nbap_PCH_ParametersItem_CTCH_SetupRqstFDD(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
address dst_addr, null_addr;
conversation_t *conversation;
fp_pch_channel_info_t *fp_pch_channel_info;
umts_fp_conversation_info_t *umts_fp_conversation_info;
... | static int dissect_nbap_PCH_ParametersItem_CTCH_SetupRqstFDD(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
address dst_addr, null_addr;
conversation_t *conversation;
fp_pch_channel_info_t *fp_pch_channel_info;
umts_fp_conversation_info_t *umts_fp_conversation_info;
... | static int dissect_nbap_PCH_ParametersItem_CTCH_SetupRqstFDD(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
address dst_addr, null_addr;
conversation_t *conversation;
umts_fp_conversation_info_t *umts_fp_conversation_info;
int i, j, num_tf;
transportLayerAddress_ipv4... | static int dissect_nbap_PCH_ParametersItem_CTCH_SetupRqstFDD(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
address dst_addr, null_addr;
conversation_t *conversation;
umts_fp_conversation_info_t *umts_fp_conversation_info;
int i, j, num_tf;
transportLayerAddress_ipv4... | static int dissect_nbap_PCH_ParametersItem_CTCH_SetupRqstFDD(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
nbap_dch_chnl_info = private_data_get_nbap_dch_chnl_info(actx->pinfo);
private_data_set_transportLayerAddress_ipv4(actx->pinfo, 0);
private_data_set_binding_id_port(ac... | static int dissect_nbap_PCH_ParametersItem_CTCH_SetupRqstFDD(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
nbap_dch_chnl_info = private_data_get_nbap_dch_chnl_info(actx->pinfo);
private_data_set_transportLayerAddress_ipv4(actx->pinfo, 0);
private_data_set_binding_id_port(ac... | static int dissect_nbap_PCH_ParametersItem_CTCH_SetupRqstFDD(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
transportLayerAddress_ipv4 = 0;
BindingID_port = 0;
num_items = 1;
offset = dissect_per_sequence(tvb, offset, act... | static int dissect_nbap_PCH_ParametersItem_CTCH_SetupRqstFDD(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
transportLayerAddress_ipv4 = 0;
BindingID_port = 0;
num_items = 1;
offset = dissect_per_sequence(tvb, offset, act... | static int dissect_nbap_PCH_ParametersItem_CTCH_SetupRqstFDD(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
nbap_dch_chnl_info = private_data_get_nbap_dch_chnl_info(actx->pinfo);
private_data_set_transportLayerAddress_ipv4(actx->pinfo, 0);
private_data_set_binding_id_por... |
CVE-2018-9261 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-nbap.c | dissect_nbap_RL_Specific_DCH_Info_Item | static int dissect_nbap_RL_Specific_DCH_Info_Item(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
address dst_addr, null_addr;
conversation_t *conversation = NULL;
umts_fp_conversation_info_t *umts_fp_conversation_info;
int i, j, num_tf;
guint32 transportLayerAddress_... | static int dissect_nbap_RL_Specific_DCH_Info_Item(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
address dst_addr, null_addr;
conversation_t *conversation = NULL;
umts_fp_conversation_info_t *umts_fp_conversation_info;
int i, j, num_tf;
guint32 transportLayerAddress_... | static int dissect_nbap_RL_Specific_DCH_Info_Item(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
address dst_addr, null_addr;
conversation_t *conversation = NULL;
umts_fp_conversation_info_t *umts_fp_conversation_info;
int i, j, num_tf;
transportLayerAddress_ipv4 = 0... | static int dissect_nbap_RL_Specific_DCH_Info_Item(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
address dst_addr, null_addr;
conversation_t *conversation = NULL;
umts_fp_conversation_info_t *umts_fp_conversation_info;
int i, j, num_tf;
transportLayerAddress_ipv4 = 0... | static int dissect_nbap_RL_Specific_DCH_Info_Item(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
if (conversation == NULL) {
if(actx->pinfo->link_dir==P2P_DIR_DL) {
umts_fp_conversation_info = wmem_new0(wmem_file_scope(), umts_fp_conversation_info_t);
... | static int dissect_nbap_RL_Specific_DCH_Info_Item(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
if (conversation == NULL) {
if(actx->pinfo->link_dir==P2P_DIR_DL) {
umts_fp_conversation_info = wmem_new0(wmem_file_scope(), umts_fp_conversation_info_t);
... | static int dissect_nbap_RL_Specific_DCH_Info_Item(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (conversation == NULL) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if(actx->pinfo->link_dir==P2P_DIR_DL) {
... | static int dissect_nbap_RL_Specific_DCH_Info_Item(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (conversation == NULL) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if(actx->pinfo->link_dir==P2P_DIR_DL) {
... | static int dissect_nbap_RL_Specific_DCH_Info_Item(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
if (conversation == NULL) {
if(actx->pinfo->link_dir==P2P_DIR_DL) {
umts_fp_conversation_info = wmem_new0(wmem_file_scope(), umts_fp_conversation_info_t);
... |
CVE-2018-9261 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-nbap.c | dissect_nbap_T_dCH_ID | static int dissect_nbap_T_dCH_ID(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
guint32 dch_id;
gint num_dch_in_flow;
nbap_dch_channel_info_t* nbap_dch_chnl_info;
nbap_dch_chnl_info = private_data_get_nbap_dch_chnl_info(actx->pinfo);
offset = dissect_per_constrained_... | static int dissect_nbap_T_dCH_ID(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
guint32 dch_id;
gint num_dch_in_flow;
nbap_dch_channel_info_t* nbap_dch_chnl_info;
nbap_dch_chnl_info = private_data_get_nbap_dch_chnl_info(actx->pinfo);
offset = dissect_per_constrained_... | static int dissect_nbap_T_dCH_ID(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 255U, &dch_id, FALSE);
if(g_num_dch_in_flow>0) {
g_dchs_in_flow_list[g_num_dch_in_flow-1]=dch_id;
nbap_... | static int dissect_nbap_T_dCH_ID(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 255U, &dch_id, FALSE);
if(g_num_dch_in_flow>0) {
g_dchs_in_flow_list[g_num_dch_in_flow-1]=dch_id;
nbap_... | static int dissect_nbap_T_dCH_ID(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
nbap_dch_chnl_info = private_data_get_nbap_dch_chnl_info(actx->pinfo);
offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 255U, &dch_id, FALSE);
num_dch_in_flow = pri... | static int dissect_nbap_T_dCH_ID(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
nbap_dch_chnl_info = private_data_get_nbap_dch_chnl_info(actx->pinfo);
offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 255U, &dch_id, FALSE);
num_dch_in_flow = pri... | static int dissect_nbap_T_dCH_ID(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 255U, &dch_id, FALSE);
if(g_num_dch_in_flow>0) {
g_dchs_in_flow_list[g_num_dch_in_flow-1]=dch_id;
nbap_... | static int dissect_nbap_T_dCH_ID(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 255U, &dch_id, FALSE);
if(g_num_dch_in_flow>0) {
g_dchs_in_flow_list[g_num_dch_in_flow-1]=dch_id;
nbap_... | static int dissect_nbap_T_dCH_ID(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
nbap_dch_chnl_info = private_data_get_nbap_dch_chnl_info(actx->pinfo);
offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 255U, &dch_id, FALSE);
num_dch_in_flow =... |
CVE-2018-9262 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-vlan.c | dissect_vlan | static int dissect_vlan(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data ) {
proto_item *ti;
guint16 tci, vlan_id;
guint16 encap_proto;
gboolean is_802_2;
proto_tree *vlan_tree;
proto_item *item;
col_set_str(pinfo->cinfo, COL_PROTOCOL, "VLAN");
col_clear(pinfo->cinfo, COL_... | static int dissect_vlan(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data ) {
proto_item *ti;
guint16 tci, vlan_id;
guint16 encap_proto;
gboolean is_802_2;
proto_tree *vlan_tree;
proto_item *item;
guint vlan_nested_count;
col_set_str(pinfo->cinfo, COL_PROTOCOL, "VLAN");
... | static int dissect_vlan(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data ) {
proto_item *ti;
guint16 tci, vlan_id;
guint16 encap_proto;
gboolean is_802_2;
proto_tree *vlan_tree;
proto_item *item;
col_set_str(pinfo->cinfo, COL_PROTOCOL, "VLAN");
col_clear(pinfo->cinfo, COL_... | static int dissect_vlan(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data ) {
proto_item *ti;
guint16 tci, vlan_id;
guint16 encap_proto;
gboolean is_802_2;
proto_tree *vlan_tree;
proto_item *item;
guint vlan_nested_count;
col_set_str(pinfo->cinfo, COL_PROTOCOL, "VLAN");
... | static int dissect_vlan(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data ) {
proto_item *item;
col_set_str(pinfo->cinfo, COL_PROTOCOL, "VLAN");
tci = tvb_get_ntohs( tvb, 0 );
vlan_tree = NULL;
if (tree) {
ti = proto_tree_add_item(tree, hfi_vlan, tvb, 0, 4, ENC_NA);
if ... | static int dissect_vlan(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data ) {
proto_item *item;
guint vlan_nested_count;
col_set_str(pinfo->cinfo, COL_PROTOCOL, "VLAN");
tci = tvb_get_ntohs( tvb, 0 );
vlan_tree = NULL;
ti = proto_tree_add_item(tree, hfi_vlan, tvb, 0, 4, ENC_NA);
... | static int dissect_vlan(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data ) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
proto_item *item;
col_set_str(pinfo->cinfo, COL_PROTOCOL, "VLAN");
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
tci = tvb_get_ntohs( tvb, 0 );
/* PLACEHOLDER... | static int dissect_vlan(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data ) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
proto_item *item;
guint vlan_nested_count;
col_set_str(pinfo->cinfo, COL_PROTOCOL, "VLAN");
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
tci = tvb_get_ntohs(... | static int dissect_vlan(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data ) {
proto_item *item;
+ guint vlan_nested_count;
col_set_str(pinfo->cinfo, COL_PROTOCOL, "VLAN");
tci = tvb_get_ntohs( tvb, 0 );
vlan_tree = NULL;
+ ti = proto_tree_add_item(tree, hfi_vlan, tvb, 0, 4, ENC_... |
CVE-2018-9262 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-vlan.c | proto_register_vlan | void proto_register_vlan(void) {
static header_field_info *hfi[] = {
&hfi_vlan_priority_old, &hfi_vlan_priority, &hfi_vlan_priority_7, &hfi_vlan_priority_6, &hfi_vlan_priority_5, &hfi_vlan_cfi, &hfi_vlan_dei, &hfi_vlan_id, &hfi_vlan_id_name, &hfi_vlan_etype, &hfi_vlan_len, &hfi_vlan_trailer,
};
stat... | void proto_register_vlan(void) {
static header_field_info *hfi[] = {
&hfi_vlan_priority_old, &hfi_vlan_priority, &hfi_vlan_priority_7, &hfi_vlan_priority_6, &hfi_vlan_priority_5, &hfi_vlan_cfi, &hfi_vlan_dei, &hfi_vlan_id, &hfi_vlan_id_name, &hfi_vlan_etype, &hfi_vlan_len, &hfi_vlan_trailer,
};
stat... | void proto_register_vlan(void) {
static header_field_info *hfi[] = {
&hfi_vlan_priority, &hfi_vlan_cfi, &hfi_vlan_id, &hfi_vlan_id_name, &hfi_vlan_etype, &hfi_vlan_len, &hfi_vlan_trailer,
};
static gint *ett[] = {
&ett_vlan
};
static ei_register_info ei[] = {
{ &ei_vlan_len, ... | void proto_register_vlan(void) {
static header_field_info *hfi[] = {
&hfi_vlan_priority, &hfi_vlan_cfi, &hfi_vlan_id, &hfi_vlan_id_name, &hfi_vlan_etype, &hfi_vlan_len, &hfi_vlan_trailer,
};
static gint *ett[] = {
&ett_vlan
};
static ei_register_info ei[] = {
{ &ei_vlan_len, ... | void proto_register_vlan(void) {
static gint *ett[] = {
&ett_vlan
};
static ei_register_info ei[] = {
{ &ei_vlan_len, { "vlan.len.past_end", PI_MALFORMED, PI_ERROR, "Length field value goes past the end of the payload", EXPFILL }},
};
expert_module_t* expert_vlan;
int proto_vlan;... | void proto_register_vlan(void) {
static gint *ett[] = {
&ett_vlan
};
static ei_register_info ei[] = {
{ &ei_vlan_len, { "vlan.len.past_end", PI_MALFORMED, PI_ERROR, "Length field value goes past the end of the payload", EXPFILL }}, { &ei_vlan_too_many_tags, { "vlan.too_many_tags", PI_UNDECOD... | void proto_register_vlan(void) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
static gint *ett[] = {
&ett_vlan
};
static ei_register_info ei[] = {
{ &ei_vlan_len, { "vlan.len.past_end", PI_MALFORMED, PI_ERROR, "Length field value goes past the end of the payload", EXPFILL }},
};
... | void proto_register_vlan(void) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
static gint *ett[] = {
&ett_vlan
};
static ei_register_info ei[] = {
{ &ei_vlan_len, { "vlan.len.past_end", PI_MALFORMED, PI_ERROR, "Length field value goes past the end of the payload", EXPFILL }}, { &ei_vlan... | void proto_register_vlan(void) {
static gint *ett[] = {
&ett_vlan
};
static ei_register_info ei[] = {
- { &ei_vlan_len, { "vlan.len.past_end", PI_MALFORMED, PI_ERROR, "Length field value goes past the end of the payload", EXPFILL }},
+ { &ei_vlan_len, { "vlan.len.past_end", PI_MAL... |
CVE-2018-9263 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-kerberos.c | dissect_kerberos_EncryptionKey | static int dissect_kerberos_EncryptionKey(gboolean implicit_tag, tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
kerberos_private_data_t *private_data = kerberos_get_private_data(actx);
offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, EncryptionKey_sequence, h... | static int dissect_kerberos_EncryptionKey(gboolean implicit_tag, tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
kerberos_private_data_t *private_data = kerberos_get_private_data(actx);
offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, EncryptionKey_sequence, h... | static int dissect_kerberos_EncryptionKey(gboolean implicit_tag, tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
kerberos_private_data_t *private_data = kerberos_get_private_data(actx);
offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, EncryptionKey_sequence, h... | static int dissect_kerberos_EncryptionKey(gboolean implicit_tag, tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
kerberos_private_data_t *private_data = kerberos_get_private_data(actx);
offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, EncryptionKey_sequence, h... | static int dissect_kerberos_EncryptionKey(gboolean implicit_tag, tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
kerberos_private_data_t *private_data = kerberos_get_private_data(actx);
offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, EncryptionKey_sequence, h... | static int dissect_kerberos_EncryptionKey(gboolean implicit_tag, tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
kerberos_private_data_t *private_data = kerberos_get_private_data(actx);
offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, EncryptionKey_sequence, h... | static int dissect_kerberos_EncryptionKey(gboolean implicit_tag, tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
kerberos_private_data_t *private_data = kerberos_get_private_data(actx);
offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, EncryptionKey_sequence, h... | static int dissect_kerberos_EncryptionKey(gboolean implicit_tag, tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
kerberos_private_data_t *private_data = kerberos_get_private_data(actx);
offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, EncryptionKey_sequence, h... | static int dissect_kerberos_EncryptionKey(gboolean implicit_tag, tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) {
kerberos_private_data_t *private_data = kerberos_get_private_data(actx);
offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, EncryptionKey_sequence... |
CVE-2018-9264 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-adb.c | dissect_adb | static gint dissect_adb(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) {
proto_item *main_item;
proto_tree *main_tree;
proto_item *arg0_item;
proto_tree *arg0_tree;
proto_item *arg1_item;
proto_tree *arg1_tree;
proto_item *magic_item;
proto_item *crc_item;
proto_tre... | static gint dissect_adb(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) {
proto_item *main_item;
proto_tree *main_tree;
proto_item *arg0_item;
proto_tree *arg0_tree;
proto_item *arg1_item;
proto_tree *arg1_tree;
proto_item *magic_item;
proto_item *crc_item;
proto_tre... | static gint dissect_adb(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) {
proto_item *main_item;
proto_tree *main_tree;
proto_item *arg0_item;
proto_tree *arg0_tree;
proto_item *arg1_item;
proto_tree *arg1_tree;
proto_item *magic_item;
proto_item *crc_item;
proto_tre... | static gint dissect_adb(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) {
proto_item *main_item;
proto_tree *main_tree;
proto_item *arg0_item;
proto_tree *arg0_tree;
proto_item *arg1_item;
proto_tree *arg1_tree;
proto_item *magic_item;
proto_item *crc_item;
proto_tre... | static gint dissect_adb(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) {
gint offset = 0;
guint32 data_length = 0;
gboolean is_command = TRUE;
gboolean is_next_fragment = FALSE;
command_data_t *command_data = NULL;
service_data_t *service_data = NULL;
col_set_str(pinfo->cin... | static gint dissect_adb(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) {
gint offset = 0;
guint32 data_length = 0;
gboolean is_command = TRUE;
gboolean is_next_fragment = FALSE;
command_data_t *command_data = NULL;
service_data_t *service_data = NULL;
col_set_str(pinfo->cin... | static gint dissect_adb(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
gint offset = 0;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
guint32 data_length = 0;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
gboolean is_command = TRU... | static gint dissect_adb(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
gint offset = 0;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
guint32 data_length = 0;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
gboolean is_command = TRU... | static gint dissect_adb(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) {
gint offset = 0;
guint32 data_length = 0;
gboolean is_command = TRUE;
gboolean is_next_fragment = FALSE;
command_data_t *command_data = NULL;
service_data_t *service_data = NULL;
col_set_str(pi... |
CVE-2018-9264 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-adb.c | proto_register_adb | void proto_register_adb(void) {
module_t *module;
expert_module_t *expert_module;
static hf_register_info hf[] = {
{
&hf_command, {
"Command", "adb.command", FT_UT32, BASE_HEX, VALS(command_vals), 0x00, NULL, HFILL
}
}, {
&hf_argument_0, {
... | void proto_register_adb(void) {
module_t *module;
expert_module_t *expert_module;
static hf_register_info hf[] = {
{
&hf_command, {
"Command", "adb.command", FT_UT32, BASE_HEX, VALS(command_vals), 0x00, NULL, HFILL
}
}, {
&hf_argument_0, {
... | void proto_register_adb(void) {
module_t *module;
expert_module_t *expert_module;
static hf_register_info hf[] = {
{
&hf_command, {
"Command", "adb.command", FT_UT32, BASE_HEX, VALS(command_vals), 0x00, NULL, HFILL
}
}, {
&hf_argument_0, {
... | void proto_register_adb(void) {
module_t *module;
expert_module_t *expert_module;
static hf_register_info hf[] = {
{
&hf_command, {
"Command", "adb.command", FT_UT32, BASE_HEX, VALS(command_vals), 0x00, NULL, HFILL
}
}, {
&hf_argument_0, {
... | void proto_register_adb(void) {
static gint *ett[] = {
&ett_adb, &ett_adb_arg0, &ett_adb_arg1, &ett_adb_crc, &ett_adb_magic
};
static ei_register_info ei[] = {
{ &ei_invalid_magic, { "adb.expert.invalid_magic", PI_PROTOCOL, PI_WARN, "Invalid Magic", EXPFILL }}, { &ei_invalid_crc, { "adb.expe... | void proto_register_adb(void) {
static gint *ett[] = {
&ett_adb, &ett_adb_arg0, &ett_adb_arg1, &ett_adb_crc, &ett_adb_magic
};
static ei_register_info ei[] = {
{ &ei_invalid_magic, { "adb.expert.invalid_magic", PI_PROTOCOL, PI_WARN, "Invalid Magic", EXPFILL }}, { &ei_invalid_crc, { "adb.expe... | void proto_register_adb(void) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
static gint *ett[] = {
&ett_adb, &ett_adb_arg0, &ett_adb_arg1, &ett_adb_crc, &ett_adb_magic
};
static ei_register_info ei[] = {
{ &ei_invalid_magic, { "adb.expert.invalid_magic", PI_PROTOCOL, PI_WARN, "Invalid ... | void proto_register_adb(void) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
static gint *ett[] = {
&ett_adb, &ett_adb_arg0, &ett_adb_arg1, &ett_adb_crc, &ett_adb_magic
};
static ei_register_info ei[] = {
{ &ei_invalid_magic, { "adb.expert.invalid_magic", PI_PROTOCOL, PI_WARN, "Invalid ... | void proto_register_adb(void) {
static gint *ett[] = {
&ett_adb, &ett_adb_arg0, &ett_adb_arg1, &ett_adb_crc, &ett_adb_magic
};
static ei_register_info ei[] = {
- { &ei_invalid_magic, { "adb.expert.invalid_magic", PI_PROTOCOL, PI_WARN, "Invalid Magic", EXPFILL }}, { &ei_invalid_crc, { "ad... |
CVE-2018-9264 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-adb.c | save_command | static void save_command(guint32 cmd, guint32 arg0, guint32 arg1, guint32 data_length, guint32 crc32, service_data_t *service_data, gint proto, void *data, packet_info *pinfo,
service_data_t **returned_service_data, command_data_t **returned_command_data) {
wmem_tree_key_t key[6];
guint... | static void save_command(guint32 cmd, guint32 arg0, guint32 arg1, guint32 data_length, guint32 crc32, service_data_t *service_data, gint proto, void *data, packet_info *pinfo,
service_data_t **returned_service_data, command_data_t **returned_command_data) {
wmem_tree_key_t key[6];
guint... | static void save_command(guint32 cmd, guint32 arg0, guint32 arg1, guint32 data_length, guint32 crc32, service_data_t *service_data, gint proto, void *data, packet_info *pinfo,
service_data_t **returned_service_data, command_data_t **returned_command_data) {
wmem_tree_key_t key[6];
guint... | static void save_command(guint32 cmd, guint32 arg0, guint32 arg1, guint32 data_length, guint32 crc32, service_data_t *service_data, gint proto, void *data, packet_info *pinfo,
service_data_t **returned_service_data, command_data_t **returned_command_data) {
wmem_tree_key_t key[6];
guint... | static void save_command(guint32 cmd, guint32 arg0, guint32 arg1, guint32 data_length, guint32 crc32, service_data_t *service_data, gint proto, void *data, packet_info *pinfo,
service_data_t **returned_service_data, command_data_t **returned_command_data) {
command_data->reassemble_data = (... | static void save_command(guint32 cmd, guint32 arg0, guint32 arg1, guint32 data_length, guint32 crc32, service_data_t *service_data, gint proto, void *data, packet_info *pinfo,
service_data_t **returned_service_data, command_data_t **returned_command_data) {
command_data->reassemble_data = (... | static void save_command(guint32 cmd, guint32 arg0, guint32 arg1, guint32 data_length, guint32 crc32, service_data_t *service_data, gint proto, void *data, packet_info *pinfo,
service_data_t **returned_service_data, command_data_t **returned_command_data) {
/* PLACEHOLDER: DO NOT DELETE THI... | static void save_command(guint32 cmd, guint32 arg0, guint32 arg1, guint32 data_length, guint32 crc32, service_data_t *service_data, gint proto, void *data, packet_info *pinfo,
service_data_t **returned_service_data, command_data_t **returned_command_data) {
/* PLACEHOLDER: DO NOT DELETE THI... | static void save_command(guint32 cmd, guint32 arg0, guint32 arg1, guint32 data_length, guint32 crc32, service_data_t *service_data, gint proto, void *data, packet_info *pinfo,
service_data_t **returned_service_data, command_data_t **returned_command_data) {
command_data->reassemble_data ... |
CVE-2018-9265 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-tn3270.c | add_tn3270_conversation | void add_tn3270_conversation(packet_info *pinfo, int tn3270e, gint model) {
conversation_t *conversation;
tn3270_conv_info_t *tn3270_info;
conversation = find_or_create_conversation(pinfo);
tn3270_info = (tn3270_conv_info_t *)conversation_get_proto_data(conversation, proto_tn3270);
if (tn3270_info =... | void add_tn3270_conversation(packet_info *pinfo, int tn3270e, gint model) {
conversation_t *conversation;
tn3270_conv_info_t *tn3270_info;
conversation = find_or_create_conversation(pinfo);
tn3270_info = (tn3270_conv_info_t *)conversation_get_proto_data(conversation, proto_tn3270);
if (tn3270_info =... | void add_tn3270_conversation(packet_info *pinfo, int tn3270e, gint model) {
conversation_t *conversation;
tn3270_conv_info_t *tn3270_info;
conversation = find_or_create_conversation(pinfo);
tn3270_info = (tn3270_conv_info_t *)conversation_get_proto_data(conversation, proto_tn3270);
if (tn3270_info =... | void add_tn3270_conversation(packet_info *pinfo, int tn3270e, gint model) {
conversation_t *conversation;
tn3270_conv_info_t *tn3270_info;
conversation = find_or_create_conversation(pinfo);
tn3270_info = (tn3270_conv_info_t *)conversation_get_proto_data(conversation, proto_tn3270);
if (tn3270_info =... | void add_tn3270_conversation(packet_info *pinfo, int tn3270e, gint model) {
conversation = find_or_create_conversation(pinfo);
if (tn3270_info == NULL) {
tn3270_info = wmem_new(wmem_file_scope(), tn3270_conv_info_t);
copy_address(&(tn3270_info->outbound_addr), &(pinfo->dst));
tn3270_info... | void add_tn3270_conversation(packet_info *pinfo, int tn3270e, gint model) {
conversation = find_or_create_conversation(pinfo);
if (tn3270_info == NULL) {
tn3270_info = wmem_new(wmem_file_scope(), tn3270_conv_info_t);
copy_address_wmem(wmem_file_scope(), &(tn3270_info->outbound_addr), &(pinfo->ds... | void add_tn3270_conversation(packet_info *pinfo, int tn3270e, gint model) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
conversation = find_or_create_conversation(pinfo);
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (tn3270_info == NULL) {
tn3270_info = wmem_new(wmem_file_scope(), tn3270_c... | void add_tn3270_conversation(packet_info *pinfo, int tn3270e, gint model) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
conversation = find_or_create_conversation(pinfo);
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (tn3270_info == NULL) {
tn3270_info = wmem_new(wmem_file_scope(), tn3270_c... | void add_tn3270_conversation(packet_info *pinfo, int tn3270e, gint model) {
conversation = find_or_create_conversation(pinfo);
if (tn3270_info == NULL) {
tn3270_info = wmem_new(wmem_file_scope(), tn3270_conv_info_t);
- copy_address(&(tn3270_info->outbound_addr), &(pinfo->dst));
+ copy_... |
CVE-2018-9266 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-isup.c | dissect_application_isup | static int dissect_application_isup(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) {
proto_item *ti;
proto_tree *isup_tree = NULL;
tvbuff_t *message_tvb;
guint8 message_type;
char *version, *base;
guint8 itu_isup_variant = ISUP_ITU_STANDARD_VARIANT;
if (data) {
http... | static int dissect_application_isup(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) {
proto_item *ti;
proto_tree *isup_tree = NULL;
tvbuff_t *message_tvb;
guint8 message_type;
char *version, *base;
guint8 itu_isup_variant = ISUP_ITU_STANDARD_VARIANT;
if (data) {
http... | static int dissect_application_isup(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) {
proto_item *ti;
proto_tree *isup_tree = NULL;
tvbuff_t *message_tvb;
guint8 message_type;
char *version, *base;
guint8 itu_isup_variant = ISUP_ITU_STANDARD_VARIANT;
if (data) {
http... | static int dissect_application_isup(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) {
proto_item *ti;
proto_tree *isup_tree = NULL;
tvbuff_t *message_tvb;
guint8 message_type;
char *version, *base;
guint8 itu_isup_variant = ISUP_ITU_STANDARD_VARIANT;
if (data) {
http... | static int dissect_application_isup(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) {
if (data) {
http_message_info_t *message_info = (http_message_info_t *)data;
if (message_info->media_str) {
version = ws_find_media_type_parameter(message_info->media_str, "version");
... | static int dissect_application_isup(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) {
if (data) {
http_message_info_t *message_info = (http_message_info_t *)data;
if (message_info->media_str) {
version = ws_find_media_type_parameter(message_info->media_str, "version");
... | static int dissect_application_isup(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (data) {
http_message_info_t *message_info = (http_message_info_t *)data;
if (message_info->media_str) {
version = ws_find_media_typ... | static int dissect_application_isup(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (data) {
http_message_info_t *message_info = (http_message_info_t *)data;
if (message_info->media_str) {
version = ws_find_media_typ... | static int dissect_application_isup(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) {
if (data) {
http_message_info_t *message_info = (http_message_info_t *)data;
if (message_info->media_str) {
version = ws_find_media_type_parameter(message_info->media_str, "version... |
CVE-2018-9267 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-lapd.c | dissect_lapd_bitstream | static int dissect_lapd_bitstream(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* dissector_data ) {
guint8 byte, full_byte = 0x00, bit_offset = 0;
gboolean bit;
guint8 i, ones = 0, data[MAX_LAPD_PACKET_LEN];
int data_len = 0;
gint offset = 0, available;
guint8 *buff;
tvbuff_t *ne... | static int dissect_lapd_bitstream(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* dissector_data ) {
guint8 byte, full_byte = 0x00, bit_offset = 0;
gboolean bit;
guint8 i, ones = 0, data[MAX_LAPD_PACKET_LEN];
int data_len = 0;
gint offset = 0, available;
guint8 *buff;
tvbuff_t *ne... | static int dissect_lapd_bitstream(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* dissector_data ) {
guint8 byte, full_byte = 0x00, bit_offset = 0;
gboolean bit;
guint8 i, ones = 0, data[MAX_LAPD_PACKET_LEN];
int data_len = 0;
gint offset = 0, available;
guint8 *buff;
tvbuff_t *ne... | static int dissect_lapd_bitstream(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* dissector_data ) {
guint8 byte, full_byte = 0x00, bit_offset = 0;
gboolean bit;
guint8 i, ones = 0, data[MAX_LAPD_PACKET_LEN];
int data_len = 0;
gint offset = 0, available;
guint8 *buff;
tvbuff_t *ne... | static int dissect_lapd_bitstream(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* dissector_data ) {
int data_len = 0;
gint offset = 0, available;
lapd_byte_state_t *lapd_byte_state, *prev_byte_state = NULL;
conversation = find_or_create_conversation(pinfo);
lapd_ppi = (lapd_ppi_t*)p_get_... | static int dissect_lapd_bitstream(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* dissector_data ) {
int data_len = 0;
gint offset = 0, available;
lapd_byte_state_t *lapd_byte_state, *prev_byte_state = NULL;
conversation = find_or_create_conversation(pinfo);
lapd_ppi = (lapd_ppi_t*)p_get_... | static int dissect_lapd_bitstream(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* dissector_data ) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
int data_len = 0;
gint offset = 0, available;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
lapd_byte_state_t *lapd_byte_state, *prev_byte_sta... | static int dissect_lapd_bitstream(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* dissector_data ) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
int data_len = 0;
gint offset = 0, available;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
lapd_byte_state_t *lapd_byte_state, *prev_byte_sta... | static int dissect_lapd_bitstream(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* dissector_data ) {
int data_len = 0;
gint offset = 0, available;
lapd_byte_state_t *lapd_byte_state, *prev_byte_state = NULL;
conversation = find_or_create_conversation(pinfo);
lapd_ppi = (lapd_ppi_t*)... |
CVE-2018-9268 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-smb2.c | dissect_smb2_create_request | static int dissect_smb2_create_request(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, smb2_info_t *si) {
offset_length_buffer_t f_olb, e_olb;
const char *fname;
offset = dissect_smb2_buffercode(tree, tvb, offset, NULL);
offset++;
offset = dissect_smb2_oplock(tree, tvb, offset);
... | static int dissect_smb2_create_request(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, smb2_info_t *si) {
offset_length_buffer_t f_olb, e_olb;
const char *fname;
offset = dissect_smb2_buffercode(tree, tvb, offset, NULL);
offset++;
offset = dissect_smb2_oplock(tree, tvb, offset);
... | static int dissect_smb2_create_request(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, smb2_info_t *si) {
offset_length_buffer_t f_olb, e_olb;
const char *fname;
offset = dissect_smb2_buffercode(tree, tvb, offset, NULL);
offset++;
offset = dissect_smb2_oplock(tree, tvb, offset);
... | static int dissect_smb2_create_request(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, smb2_info_t *si) {
offset_length_buffer_t f_olb, e_olb;
const char *fname;
offset = dissect_smb2_buffercode(tree, tvb, offset, NULL);
offset++;
offset = dissect_smb2_oplock(tree, tvb, offset);
... | static int dissect_smb2_create_request(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, smb2_info_t *si) {
if (!pinfo->fd->flags.visited) {
if (si->saved && si->saved->extra_info_type == SMB2_EI_FILENAME) {
g_free(si->saved->extra_info);
si->saved->extra_info = NULL;
... | static int dissect_smb2_create_request(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, smb2_info_t *si) {
if (!pinfo->fd->flags.visited) {
if (si->saved && si->saved->extra_info_type == SMB2_EI_FILENAME) {
wmem_free(wmem_file_scope(), si->saved->extra_info);
si->save... | static int dissect_smb2_create_request(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, smb2_info_t *si) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (!pinfo->fd->flags.visited) {
if (si->saved && si->saved->extra_info_type == SMB2_EI_FILENAME) {
g_free(si->saved->extra... | static int dissect_smb2_create_request(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, smb2_info_t *si) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (!pinfo->fd->flags.visited) {
if (si->saved && si->saved->extra_info_type == SMB2_EI_FILENAME) {
wmem_free(wmem_file_sco... | static int dissect_smb2_create_request(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, smb2_info_t *si) {
if (!pinfo->fd->flags.visited) {
if (si->saved && si->saved->extra_info_type == SMB2_EI_FILENAME) {
- g_free(si->saved->extra_info);
+ wmem_free(wmem_file_scope... |
CVE-2018-9268 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-smb2.c | dissect_smb2_create_response | static int dissect_smb2_create_response(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, smb2_info_t *si) {
guint64 end_of_file;
guint32 attr_mask;
offset_length_buffer_t e_olb;
static const int *create_rep_flags_fields[] = {
&hf_smb2_create_rep_flags_reparse_point, NULL
};
... | static int dissect_smb2_create_response(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, smb2_info_t *si) {
guint64 end_of_file;
guint32 attr_mask;
offset_length_buffer_t e_olb;
static const int *create_rep_flags_fields[] = {
&hf_smb2_create_rep_flags_reparse_point, NULL
};
... | static int dissect_smb2_create_response(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, smb2_info_t *si) {
guint64 end_of_file;
guint32 attr_mask;
offset_length_buffer_t e_olb;
static const int *create_rep_flags_fields[] = {
&hf_smb2_create_rep_flags_reparse_point, NULL
};
... | static int dissect_smb2_create_response(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, smb2_info_t *si) {
guint64 end_of_file;
guint32 attr_mask;
offset_length_buffer_t e_olb;
static const int *create_rep_flags_fields[] = {
&hf_smb2_create_rep_flags_reparse_point, NULL
};
... | static int dissect_smb2_create_response(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, smb2_info_t *si) {
if (si->saved && si->saved->extra_info_type == SMB2_EI_FILENAME) {
g_free(si->saved->extra_info);
si->saved->extra_info = NULL;
}
}
| static int dissect_smb2_create_response(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, smb2_info_t *si) {
if (si->saved && si->saved->extra_info_type == SMB2_EI_FILENAME) {
wmem_free(wmem_file_scope(), si->saved->extra_info);
si->saved->extra_info = NULL;
}
}
| static int dissect_smb2_create_response(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, smb2_info_t *si) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (si->saved && si->saved->extra_info_type == SMB2_EI_FILENAME) {
g_free(si->saved->extra_info);
si->saved->extra_info = NULL... | static int dissect_smb2_create_response(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, smb2_info_t *si) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (si->saved && si->saved->extra_info_type == SMB2_EI_FILENAME) {
wmem_free(wmem_file_scope(), si->saved->extra_info);
si->sa... | static int dissect_smb2_create_response(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, smb2_info_t *si) {
if (si->saved && si->saved->extra_info_type == SMB2_EI_FILENAME) {
- g_free(si->saved->extra_info);
+ wmem_free(wmem_file_scope(), si->saved->extra_info);
si->saved->e... |
CVE-2018-9268 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-smb2.c | dissect_smb2_find_request | static int dissect_smb2_find_request(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, smb2_info_t *si) {
offset_length_buffer_t olb;
const char *buf;
guint8 il;
static const int *f_fields[] = {
&hf_smb2_find_flags_restart_scans, &hf_smb2_find_flags_single_entry, &hf_smb2_find_fla... | static int dissect_smb2_find_request(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, smb2_info_t *si) {
offset_length_buffer_t olb;
const char *buf;
guint8 il;
static const int *f_fields[] = {
&hf_smb2_find_flags_restart_scans, &hf_smb2_find_flags_single_entry, &hf_smb2_find_fla... | static int dissect_smb2_find_request(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, smb2_info_t *si) {
offset_length_buffer_t olb;
const char *buf;
guint8 il;
static const int *f_fields[] = {
&hf_smb2_find_flags_restart_scans, &hf_smb2_find_flags_single_entry, &hf_smb2_find_fla... | static int dissect_smb2_find_request(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, smb2_info_t *si) {
offset_length_buffer_t olb;
const char *buf;
guint8 il;
static const int *f_fields[] = {
&hf_smb2_find_flags_restart_scans, &hf_smb2_find_flags_single_entry, &hf_smb2_find_fla... | static int dissect_smb2_find_request(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, smb2_info_t *si) {
static const int *f_fields[] = {
&hf_smb2_find_flags_restart_scans, &hf_smb2_find_flags_single_entry, &hf_smb2_find_flags_index_specified, &hf_smb2_find_flags_reopen, NULL
};
offs... | static int dissect_smb2_find_request(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, smb2_info_t *si) {
static const int *f_fields[] = {
&hf_smb2_find_flags_restart_scans, &hf_smb2_find_flags_single_entry, &hf_smb2_find_flags_index_specified, &hf_smb2_find_flags_reopen, NULL
};
offs... | static int dissect_smb2_find_request(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, smb2_info_t *si) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
static const int *f_fields[] = {
&hf_smb2_find_flags_restart_scans, &hf_smb2_find_flags_single_entry, &hf_smb2_find_flags_index_specified... | static int dissect_smb2_find_request(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, smb2_info_t *si) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
static const int *f_fields[] = {
&hf_smb2_find_flags_restart_scans, &hf_smb2_find_flags_single_entry, &hf_smb2_find_flags_index_specified... | static int dissect_smb2_find_request(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, smb2_info_t *si) {
static const int *f_fields[] = {
&hf_smb2_find_flags_restart_scans, &hf_smb2_find_flags_single_entry, &hf_smb2_find_flags_index_specified, &hf_smb2_find_flags_reopen, NULL
};
... |
CVE-2018-9268 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-smb2.c | dissect_smb2_find_response | static int dissect_smb2_find_response(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, smb2_info_t *si ) {
offset_length_buffer_t olb;
proto_item *item = NULL;
gboolean continue_dissection;
if (si->saved) {
item = proto_tree_add_uint(tree, hf_smb2_find_info_level, tvb, offset, 0,... | static int dissect_smb2_find_response(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, smb2_info_t *si ) {
offset_length_buffer_t olb;
proto_item *item = NULL;
gboolean continue_dissection;
if (si->saved) {
item = proto_tree_add_uint(tree, hf_smb2_find_info_level, tvb, offset, 0,... | static int dissect_smb2_find_response(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, smb2_info_t *si ) {
offset_length_buffer_t olb;
proto_item *item = NULL;
gboolean continue_dissection;
if (si->saved) {
item = proto_tree_add_uint(tree, hf_smb2_find_info_level, tvb, offset, 0,... | static int dissect_smb2_find_response(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, smb2_info_t *si ) {
offset_length_buffer_t olb;
proto_item *item = NULL;
gboolean continue_dissection;
if (si->saved) {
item = proto_tree_add_uint(tree, hf_smb2_find_info_level, tvb, offset, 0,... | static int dissect_smb2_find_response(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, smb2_info_t *si ) {
if (!pinfo->fd->flags.visited && si->saved && si->saved->extra_info_type == SMB2_EI_FDPATTERN) {
col_append_fstr(pinfo->cinfo, COL_FO, " %s Pattern: %s", val_to_str(si->saved->infolevel... | static int dissect_smb2_find_response(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, smb2_info_t *si ) {
if (!pinfo->fd->flags.visited && si->saved && si->saved->extra_info_type == SMB2_EI_FDPATTERN) {
col_append_fstr(pinfo->cinfo, COL_FO, " %s Pattern: %s", val_to_str(si->saved->infolevel... | static int dissect_smb2_find_response(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, smb2_info_t *si ) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (!pinfo->fd->flags.visited && si->saved && si->saved->extra_info_type == SMB2_EI_FDPATTERN) {
col_append_fstr(pinfo->cinfo, COL_FO, ... | static int dissect_smb2_find_response(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, smb2_info_t *si ) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (!pinfo->fd->flags.visited && si->saved && si->saved->extra_info_type == SMB2_EI_FDPATTERN) {
col_append_fstr(pinfo->cinfo, COL_FO, ... | static int dissect_smb2_find_response(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, smb2_info_t *si ) {
if (!pinfo->fd->flags.visited && si->saved && si->saved->extra_info_type == SMB2_EI_FDPATTERN) {
col_append_fstr(pinfo->cinfo, COL_FO, " %s Pattern: %s", val_to_str(si->saved->infole... |
CVE-2018-9269 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-giop.c | get_modname_from_repoid | static gchar * get_modname_from_repoid(gchar *repoid) {
gchar *modname;
gchar c = 'a';
guint8 stop_mod = 0;
const guint8 start_mod = 4;
int i;
if (g_ascii_strncasecmp("IDL:", repoid, 4)) {
return NULL;
}
for (i=4; c != '\0'; i++) {
c = repoid[i];
stop_mod = i;
... | static gchar * get_modname_from_repoid(gchar *repoid) {
gchar *modname;
gchar c = 'a';
guint8 stop_mod = 0;
const guint8 start_mod = 4;
int i;
if (g_ascii_strncasecmp("IDL:", repoid, 4)) {
return NULL;
}
for (i=4; c != '\0'; i++) {
c = repoid[i];
stop_mod = i;
... | static gchar * get_modname_from_repoid(gchar *repoid) {
gchar *modname;
gchar c = 'a';
guint8 stop_mod = 0;
const guint8 start_mod = 4;
int i;
if (g_ascii_strncasecmp("IDL:", repoid, 4)) {
return NULL;
}
for (i=4; c != '\0'; i++) {
c = repoid[i];
stop_mod = i;
... | static gchar * get_modname_from_repoid(gchar *repoid) {
gchar *modname;
gchar c = 'a';
guint8 stop_mod = 0;
const guint8 start_mod = 4;
int i;
if (g_ascii_strncasecmp("IDL:", repoid, 4)) {
return NULL;
}
for (i=4; c != '\0'; i++) {
c = repoid[i];
stop_mod = i;
... | static gchar * get_modname_from_repoid(gchar *repoid) {
gchar c = 'a';
guint8 stop_mod = 0;
const guint8 start_mod = 4;
if (g_ascii_strncasecmp("IDL:", repoid, 4)) {
return NULL;
}
for (i=4; c != '\0'; i++) {
stop_mod = i;
}
modname = g_strndup(repoid+4, stop_mod - start_... | static gchar * get_modname_from_repoid(gchar *repoid) {
gchar c = 'a';
guint8 stop_mod = 0;
const guint8 start_mod = 4;
if (g_ascii_strncasecmp("IDL:", repoid, 4)) {
return NULL;
}
for (i=4; c != '\0'; i++) {
stop_mod = i;
}
modname = wmem_strndup(wmem_packet_scope(), rep... | static gchar * get_modname_from_repoid(gchar *repoid) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
gchar c = 'a';
guint8 stop_mod = 0;
const guint8 start_mod = 4;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (g_ascii_strncasecmp("IDL:", repoid, 4)) {
return NULL;
}
for (i=... | static gchar * get_modname_from_repoid(gchar *repoid) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
gchar c = 'a';
guint8 stop_mod = 0;
const guint8 start_mod = 4;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (g_ascii_strncasecmp("IDL:", repoid, 4)) {
return NULL;
}
for (i=... | static gchar * get_modname_from_repoid(gchar *repoid) {
gchar c = 'a';
guint8 stop_mod = 0;
const guint8 start_mod = 4;
if (g_ascii_strncasecmp("IDL:", repoid, 4)) {
return NULL;
}
for (i=4; c != '\0'; i++) {
stop_mod = i;
}
- modname = g_strndup(repoid+4, stop_m... |
CVE-2018-9270 | Wireshark | https://github.com/wireshark/wireshark | epan/oids.c | oid_string2subid | guint oid_string2subid(wmem_allocator_t *scope, const char* str, guint32** subids_p) {
const char* r = str;
guint32* subids;
guint32* subids_overflow;
guint n = check_num_oid(str);
guint64 subid = 0;
D(6,("oid_string2subid: str='%s'",str));
if (!n) {
*subids_p = NULL;
return ... | guint oid_string2subid(wmem_allocator_t *scope, const char* str, guint32** subids_p) {
const char* r = str;
guint32* subids;
guint32* subids_overflow;
guint n = check_num_oid(str);
guint64 subid = 0;
D(6,("oid_string2subid: str='%s'",str));
if (!n) {
*subids_p = NULL;
return ... | guint oid_string2subid(wmem_allocator_t *scope, const char* str, guint32** subids_p) {
const char* r = str;
guint32* subids;
guint32* subids_overflow;
guint n = check_num_oid(str);
guint64 subid = 0;
D(6,("oid_string2subid: str='%s'",str));
if (!n) {
*subids_p = NULL;
return ... | guint oid_string2subid(wmem_allocator_t *scope, const char* str, guint32** subids_p) {
const char* r = str;
guint32* subids;
guint32* subids_overflow;
guint n = check_num_oid(str);
guint64 subid = 0;
D(6,("oid_string2subid: str='%s'",str));
if (!n) {
*subids_p = NULL;
return ... | guint oid_string2subid(wmem_allocator_t *scope, const char* str, guint32** subids_p) {
guint n = check_num_oid(str);
if (!n) {
return 0;
}
*subids_p = subids = wmem_alloc0_array(scope, guint32, n);
do switch(*r) {
case '.':
subid = 0;
subids++;
con... | guint oid_string2subid(wmem_allocator_t *scope, const char* str, guint32** subids_p) {
guint n = check_num_oid(str);
if (!n) {
return 0;
}
*subids_p = subids = wmem_alloc0_array(scope, guint32, n);
do switch(*r) {
case '.':
subid = 0;
subids++;
con... | guint oid_string2subid(wmem_allocator_t *scope, const char* str, guint32** subids_p) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
guint n = check_num_oid(str);
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (!n) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
return 0;
}
*subids... | guint oid_string2subid(wmem_allocator_t *scope, const char* str, guint32** subids_p) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
guint n = check_num_oid(str);
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (!n) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
return 0;
}
*subids... | guint oid_string2subid(wmem_allocator_t *scope, const char* str, guint32** subids_p) {
guint n = check_num_oid(str);
if (!n) {
return 0;
}
*subids_p = subids = wmem_alloc0_array(scope, guint32, n);
do switch(*r) {
case '.':
subid = 0;
subids++;
... |
CVE-2018-9271 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-multipart.c | process_body_part | static gint process_body_part(proto_tree *tree, tvbuff_t *tvb, http_message_info_t *input_message_info, multipart_info_t *m_info, packet_info *pinfo, gint start, gint idx, gboolean *last_boundary) {
proto_tree *subtree;
proto_item *ti;
gint offset = start, next_offset = 0;
http_message_info_t message_in... | static gint process_body_part(proto_tree *tree, tvbuff_t *tvb, http_message_info_t *input_message_info, multipart_info_t *m_info, packet_info *pinfo, gint start, gint idx, gboolean *last_boundary) {
proto_tree *subtree;
proto_item *ti;
gint offset = start, next_offset = 0;
http_message_info_t message_in... | static gint process_body_part(proto_tree *tree, tvbuff_t *tvb, http_message_info_t *input_message_info, multipart_info_t *m_info, packet_info *pinfo, gint start, gint idx, gboolean *last_boundary) {
proto_tree *subtree;
proto_item *ti;
gint offset = start, next_offset = 0;
http_message_info_t message_in... | static gint process_body_part(proto_tree *tree, tvbuff_t *tvb, http_message_info_t *input_message_info, multipart_info_t *m_info, packet_info *pinfo, gint start, gint idx, gboolean *last_boundary) {
proto_tree *subtree;
proto_item *ti;
gint offset = start, next_offset = 0;
http_message_info_t message_in... | static gint process_body_part(proto_tree *tree, tvbuff_t *tvb, http_message_info_t *input_message_info, multipart_info_t *m_info, packet_info *pinfo, gint start, gint idx, gboolean *last_boundary) {
gint offset = start, next_offset = 0;
http_message_info_t message_info = { input_message_info->type, NULL };
... | static gint process_body_part(proto_tree *tree, tvbuff_t *tvb, http_message_info_t *input_message_info, multipart_info_t *m_info, packet_info *pinfo, gint start, gint idx, gboolean *last_boundary) {
gint offset = start, next_offset = 0;
http_message_info_t message_info = { input_message_info->type, NULL };
... | static gint process_body_part(proto_tree *tree, tvbuff_t *tvb, http_message_info_t *input_message_info, multipart_info_t *m_info, packet_info *pinfo, gint start, gint idx, gboolean *last_boundary) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
gint offset = start, next_offset = 0;
http_message_info_t messa... | static gint process_body_part(proto_tree *tree, tvbuff_t *tvb, http_message_info_t *input_message_info, multipart_info_t *m_info, packet_info *pinfo, gint start, gint idx, gboolean *last_boundary) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
gint offset = start, next_offset = 0;
http_message_info_t messa... | static gint process_body_part(proto_tree *tree, tvbuff_t *tvb, http_message_info_t *input_message_info, multipart_info_t *m_info, packet_info *pinfo, gint start, gint idx, gboolean *last_boundary) {
gint offset = start, next_offset = 0;
http_message_info_t message_info = { input_message_info->type, NULL };
... |
CVE-2018-9272 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-h223.c | find_or_create_call_info_conv | static h223_call_info * find_or_create_call_info_conv(packet_info * pinfo) {
h223_call_info *datax;
conversation_t *conv;
conv = find_conversation_pinfo(pinfo, 0 );
DISSECTOR_ASSERT(conv);
datax = (h223_call_info *)conversation_get_proto_data(conv, proto_h223);
if(datax == NULL && pinfo->ptype =... | static h223_call_info * find_or_create_call_info_conv(packet_info * pinfo) {
h223_call_info *datax;
conversation_t *conv;
conv = find_conversation_pinfo(pinfo, 0 );
DISSECTOR_ASSERT(conv);
datax = (h223_call_info *)conversation_get_proto_data(conv, proto_h223);
if(datax == NULL && pinfo->ptype =... | static h223_call_info * find_or_create_call_info_conv(packet_info * pinfo) {
h223_call_info *datax;
conversation_t *conv;
conv = find_conversation( pinfo->num, &pinfo->src,&pinfo->dst, pinfo->ptype, pinfo->srcport,pinfo->destport, 0 );
DISSECTOR_ASSERT(conv);
datax = (h223_call_info *)conversation_g... | static h223_call_info * find_or_create_call_info_conv(packet_info * pinfo) {
h223_call_info *datax;
conversation_t *conv;
conv = find_conversation( pinfo->num, &pinfo->src,&pinfo->dst, pinfo->ptype, pinfo->srcport,pinfo->destport, 0 );
DISSECTOR_ASSERT(conv);
datax = (h223_call_info *)conversation_g... | static h223_call_info * find_or_create_call_info_conv(packet_info * pinfo) {
conv = find_conversation_pinfo(pinfo, 0 );
DISSECTOR_ASSERT(conv);
datax = (h223_call_info *)conversation_get_proto_data(conv, proto_h223);
if(datax == NULL && pinfo->ptype == PT_UDP ) {
conv2 = find_conversation( pinfo... | static h223_call_info * find_or_create_call_info_conv(packet_info * pinfo) {
conv = find_conversation_pinfo(pinfo, 0 );
DISSECTOR_ASSERT(conv);
datax = (h223_call_info *)conversation_get_proto_data(conv, proto_h223);
if(datax == NULL && pinfo->ptype == PT_UDP ) {
conv2 = find_conversation( pinfo... | static h223_call_info * find_or_create_call_info_conv(packet_info * pinfo) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
conv = find_conversation( pinfo->num, &pinfo->src,&pinfo->dst, pinfo->ptype, pinfo->srcport,pinfo->destport, 0 );
DISSECTOR_ASSERT(conv);
datax = (h223_call_info *)conversation_get_... | static h223_call_info * find_or_create_call_info_conv(packet_info * pinfo) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
conv = find_conversation( pinfo->num, &pinfo->src,&pinfo->dst, pinfo->ptype, pinfo->srcport,pinfo->destport, 0 );
DISSECTOR_ASSERT(conv);
datax = (h223_call_info *)conversation_get_... | static h223_call_info * find_or_create_call_info_conv(packet_info * pinfo) {
conv = find_conversation_pinfo(pinfo, 0 );
DISSECTOR_ASSERT(conv);
datax = (h223_call_info *)conversation_get_proto_data(conv, proto_h223);
if(datax == NULL && pinfo->ptype == PT_UDP ) {
conv2 = find_conversation(... |
CVE-2018-9273 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-pcp.c | dissect_pcp_message | static int dissect_pcp_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data ) {
proto_item *root_pcp_item;
proto_tree *pcp_tree;
conversation_t *conversation;
pcp_conv_info_t *pcp_conv_info;
guint32 packet_type;
gint32 err_bytes;
int offset = 0;
col_set_str(pinfo->cinf... | static int dissect_pcp_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data ) {
proto_item *root_pcp_item;
proto_tree *pcp_tree;
conversation_t *conversation;
pcp_conv_info_t *pcp_conv_info;
guint32 packet_type;
gint32 err_bytes;
int offset = 0;
col_set_str(pinfo->cinf... | static int dissect_pcp_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data ) {
proto_item *root_pcp_item;
proto_tree *pcp_tree;
conversation_t *conversation;
pcp_conv_info_t *pcp_conv_info;
guint32 packet_type;
gint32 err_bytes;
int offset = 0;
col_set_str(pinfo->cinf... | static int dissect_pcp_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data ) {
proto_item *root_pcp_item;
proto_tree *pcp_tree;
conversation_t *conversation;
pcp_conv_info_t *pcp_conv_info;
guint32 packet_type;
gint32 err_bytes;
int offset = 0;
col_set_str(pinfo->cinf... | static int dissect_pcp_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data ) {
if(pcp_conv_info == NULL) {
pcp_conv_info = (pcp_conv_info_t*)g_malloc(sizeof(pcp_conv_info_t));
conversation_add_proto_data(conversation, proto_pcp, pcp_conv_info);
}
root_pcp_item = proto_tre... | static int dissect_pcp_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data ) {
if(pcp_conv_info == NULL) {
pcp_conv_info = (pcp_conv_info_t*)wmem_alloc(wmem_file_scope(), sizeof(pcp_conv_info_t));
conversation_add_proto_data(conversation, proto_pcp, pcp_conv_info);
}
root... | static int dissect_pcp_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data ) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if(pcp_conv_info == NULL) {
pcp_conv_info = (pcp_conv_info_t*)g_malloc(sizeof(pcp_conv_info_t));
conversation_add_proto_data(conversation, proto_pcp, p... | static int dissect_pcp_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data ) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if(pcp_conv_info == NULL) {
pcp_conv_info = (pcp_conv_info_t*)wmem_alloc(wmem_file_scope(), sizeof(pcp_conv_info_t));
conversation_add_proto_data(conve... | static int dissect_pcp_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data ) {
if(pcp_conv_info == NULL) {
- pcp_conv_info = (pcp_conv_info_t*)g_malloc(sizeof(pcp_conv_info_t));
+ pcp_conv_info = (pcp_conv_info_t*)wmem_alloc(wmem_file_scope(), sizeof(pcp_conv_info_t));
c... |
CVE-2018-9274 | Wireshark | https://github.com/wireshark/wireshark | ui/failure_message.c | cfile_dump_open_failure_message | void cfile_dump_open_failure_message(const char *progname, const char *filename, int err, int file_type_subtype) {
char *file_description;
file_description = output_file_description(filename);
if (err < 0) {
switch (err) {
case WTAP_ERR_NOT_REGULAR_FILE:
cmdarg_err("The %s is a \... | void cfile_dump_open_failure_message(const char *progname, const char *filename, int err, int file_type_subtype) {
if (err < 0) {
char *file_description = input_file_description(filename);
switch (err) {
case WTAP_ERR_NOT_REGULAR_FILE:
cmdarg_err("The %s is a \"special file\" or ... | void cfile_dump_open_failure_message(const char *progname, const char *filename, int err, int file_type_subtype) {
char *file_description;
file_description = output_file_description(filename);
if (err < 0) {
switch (err) {
case WTAP_ERR_NOT_REGULAR_FILE:
cmdarg_err("The %s is a \... | void cfile_dump_open_failure_message(const char *progname, const char *filename, int err, int file_type_subtype) {
if (err < 0) {
char *file_description = input_file_description(filename);
switch (err) {
case WTAP_ERR_NOT_REGULAR_FILE:
cmdarg_err("The %s is a \"special file\" or ... | void cfile_dump_open_failure_message(const char *progname, const char *filename, int err, int file_type_subtype) {
char *file_description;
file_description = output_file_description(filename);
if (err < 0) {
switch (err) {
case WTAP_ERR_NOT_REGULAR_FILE:
cmdarg_err("The %s is a \... | void cfile_dump_open_failure_message(const char *progname, const char *filename, int err, int file_type_subtype) {
if (err < 0) {
char *file_description = input_file_description(filename);
switch (err) {
case WTAP_ERR_NOT_REGULAR_FILE:
cmdarg_err("The %s is a \"special file\" or ... | void cfile_dump_open_failure_message(const char *progname, const char *filename, int err, int file_type_subtype) {
char *file_description;
file_description = output_file_description(filename);
if (err < 0) {
switch (err) {
case WTAP_ERR_NOT_REGULAR_FILE:
cmdarg_err("The %s is a \... | void cfile_dump_open_failure_message(const char *progname, const char *filename, int err, int file_type_subtype) {
if (err < 0) {
char *file_description = input_file_description(filename);
switch (err) {
case WTAP_ERR_NOT_REGULAR_FILE:
cmdarg_err("The %s is a \"special file\" or ... | void cfile_dump_open_failure_message(const char *progname, const char *filename, int err, int file_type_subtype) {
- char *file_description;
- file_description = output_file_description(filename);
if (err < 0) {
+ char *file_description = input_file_description(filename);
switch (err) {
... |
CVE-2018-9841 | FFmpeg | https://github.com/FFmpeg/FFmpeg | libavfilter/vf_signature.c | export | static int export(AVFilterContext *ctx, StreamContext *sc, int input) {
SignatureContext* sic = ctx->priv;
char filename[1024];
if (sic->nb_inputs > 1) {
av_assert0(av_get_frame_filename(filename, sizeof(filename), sic->filename, input) == 0);
} else {
strcpy(filename, sic->filename);
... | static int export(AVFilterContext *ctx, StreamContext *sc, int input) {
SignatureContext* sic = ctx->priv;
char filename[1024];
if (sic->nb_inputs > 1) {
av_assert0(av_get_frame_filename(filename, sizeof(filename), sic->filename, input) == 0);
} else {
if (av_strlcpy(filename, sic->filen... | static int export(AVFilterContext *ctx, StreamContext *sc, int input) {
SignatureContext* sic = ctx->priv;
char filename[1024];
if (sic->nb_inputs > 1) {
av_assert0(av_get_frame_filename(filename, sizeof(filename), sic->filename, input) == 0);
} else {
strcpy(filename, sic->filename);
... | static int export(AVFilterContext *ctx, StreamContext *sc, int input) {
SignatureContext* sic = ctx->priv;
char filename[1024];
if (sic->nb_inputs > 1) {
av_assert0(av_get_frame_filename(filename, sizeof(filename), sic->filename, input) == 0);
} else {
if (av_strlcpy(filename, sic->filen... | static int export(AVFilterContext *ctx, StreamContext *sc, int input) {
SignatureContext* sic = ctx->priv;
if (sic->nb_inputs > 1) {
} else {
strcpy(filename, sic->filename);
}
if (sic->format == FORMAT_XML) {
return xml_export(ctx, sc, filename);
} else {
return binary_e... | static int export(AVFilterContext *ctx, StreamContext *sc, int input) {
SignatureContext* sic = ctx->priv;
if (sic->nb_inputs > 1) {
} else {
if (av_strlcpy(filename, sic->filename, sizeof(filename)) >= sizeof(filename)) {
return AVERROR(EVAL);
}
}
if (sic->format == FORM... | static int export(AVFilterContext *ctx, StreamContext *sc, int input) {
SignatureContext* sic = ctx->priv;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (sic->nb_inputs > 1) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
} else {
strcpy(filename, sic->filename);
}
if (sic->format... | static int export(AVFilterContext *ctx, StreamContext *sc, int input) {
SignatureContext* sic = ctx->priv;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (sic->nb_inputs > 1) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
} else {
if (av_strlcpy(filename, sic->filename, sizeof(filename)) ... | static int export(AVFilterContext *ctx, StreamContext *sc, int input) {
SignatureContext* sic = ctx->priv;
if (sic->nb_inputs > 1) {
} else {
- strcpy(filename, sic->filename);
+ if (av_strlcpy(filename, sic->filename, sizeof(filename)) >= sizeof(filename)) {
+ return AVERROR(EV... |
CVE-2019-1000016 | FFmpeg | https://github.com/FFmpeg/FFmpeg | libavcodec/cbs_av1.c | cbs_av1_read_uvlc | static int cbs_av1_read_uvlc(CodedBitstreamContext *ctx, GetBitContext *gbc, const char *name, uint32_t *write_to, uint32_t range_min, uint32_t range_max) {
uint32_t value;
int position, zeroes, i, j;
char bits[65];
if (ctx->trace_enable) {
position = get_bits_count(gbc);
}
zeroes = i = ... | static int cbs_av1_read_uvlc(CodedBitstreamContext *ctx, GetBitContext *gbc, const char *name, uint32_t *write_to, uint32_t range_min, uint32_t range_max) {
uint32_t zeroes, bits_value, value;
int position;
if (ctx->trace_enable) {
position = get_bits_count(gbc);
}
zeroes = 0;
while (1) ... | static int cbs_av1_read_uvlc(CodedBitstreamContext *ctx, GetBitContext *gbc, const char *name, uint32_t *write_to, uint32_t range_min, uint32_t range_max) {
uint32_t value;
int position, zeroes, i, j;
char bits[65];
if (ctx->trace_enable) {
position = get_bits_count(gbc);
}
zeroes = i = ... | static int cbs_av1_read_uvlc(CodedBitstreamContext *ctx, GetBitContext *gbc, const char *name, uint32_t *write_to, uint32_t range_min, uint32_t range_max) {
uint32_t zeroes, bits_value, value;
int position;
if (ctx->trace_enable) {
position = get_bits_count(gbc);
}
zeroes = 0;
while (1) ... | static int cbs_av1_read_uvlc(CodedBitstreamContext *ctx, GetBitContext *gbc, const char *name, uint32_t *write_to, uint32_t range_min, uint32_t range_max) {
uint32_t value;
int position, zeroes, i, j;
char bits[65];
if (ctx->trace_enable) {
position = get_bits_count(gbc);
}
zeroes = i = ... | static int cbs_av1_read_uvlc(CodedBitstreamContext *ctx, GetBitContext *gbc, const char *name, uint32_t *write_to, uint32_t range_min, uint32_t range_max) {
uint32_t zeroes, bits_value, value;
int position;
if (ctx->trace_enable) {
position = get_bits_count(gbc);
}
zeroes = 0;
while (1) ... | static int cbs_av1_read_uvlc(CodedBitstreamContext *ctx, GetBitContext *gbc, const char *name, uint32_t *write_to, uint32_t range_min, uint32_t range_max) {
uint32_t value;
int position, zeroes, i, j;
char bits[65];
if (ctx->trace_enable) {
position = get_bits_count(gbc);
}
zeroes = i = ... | static int cbs_av1_read_uvlc(CodedBitstreamContext *ctx, GetBitContext *gbc, const char *name, uint32_t *write_to, uint32_t range_min, uint32_t range_max) {
uint32_t zeroes, bits_value, value;
int position;
if (ctx->trace_enable) {
position = get_bits_count(gbc);
}
zeroes = 0;
while (1) ... | static int cbs_av1_read_uvlc(CodedBitstreamContext *ctx, GetBitContext *gbc, const char *name, uint32_t *write_to, uint32_t range_min, uint32_t range_max) {
- uint32_t value;
- int position, zeroes, i, j;
- char bits[65];
+ uint32_t zeroes, bits_value, value;
+ int position;
if (ctx->trace_enable) ... |
CVE-2019-10895 | Wireshark | https://github.com/wireshark/wireshark | wiretap/netscaler.c | nstrace_read_v20 | static gboolean nstrace_read_v20(wtap *wth, int *err, gchar **err_info, gint64 *data_offset) {
wtap_rec *rec = &wth->rec;
nstrace_t *nstrace = (nstrace_t *)wth->priv;
guint64 nsg_creltime = nstrace->nsg_creltime;
gchar *nstrace_buf = nstrace->pnstrace_buf;
guint32 nstrace_buf_offset = nstrace->nstra... | static gboolean nstrace_read_v20(wtap *wth, int *err, gchar **err_info, gint64 *data_offset) {
wtap_rec *rec = &wth->rec;
nstrace_t *nstrace = (nstrace_t *)wth->priv;
guint64 nsg_creltime = nstrace->nsg_creltime;
gchar *nstrace_buf = nstrace->pnstrace_buf;
guint32 nstrace_buf_offset = nstrace->nstra... | static gboolean nstrace_read_v20(wtap *wth, int *err, gchar **err_info, gint64 *data_offset) {
nstrace_t *nstrace = (nstrace_t *)wth->priv;
guint64 nsg_creltime = nstrace->nsg_creltime;
gchar *nstrace_buf = nstrace->pnstrace_buf;
guint32 nstrace_buf_offset = nstrace->nstrace_buf_offset;
guint32 nstr... | static gboolean nstrace_read_v20(wtap *wth, int *err, gchar **err_info, gint64 *data_offset) {
nstrace_t *nstrace = (nstrace_t *)wth->priv;
guint64 nsg_creltime = nstrace->nsg_creltime;
gchar *nstrace_buf = nstrace->pnstrace_buf;
guint32 nstrace_buf_offset = nstrace->nstrace_buf_offset;
guint32 nstr... | static gboolean nstrace_read_v20(wtap *wth, int *err, gchar **err_info, gint64 *data_offset) {
nstrace_t *nstrace = (nstrace_t *)wth->priv;
gchar *nstrace_buf = nstrace->pnstrace_buf;
guint32 nstrace_buf_offset = nstrace->nstrace_buf_offset;
guint32 nstrace_buflen = nstrace->nstrace_buflen;
do {
... | static gboolean nstrace_read_v20(wtap *wth, int *err, gchar **err_info, gint64 *data_offset) {
nstrace_t *nstrace = (nstrace_t *)wth->priv;
gchar *nstrace_buf = nstrace->pnstrace_buf;
guint32 nstrace_buf_offset = nstrace->nstrace_buf_offset;
guint32 nstrace_buflen = nstrace->nstrace_buflen;
do {
... | static gboolean nstrace_read_v20(wtap *wth, int *err, gchar **err_info, gint64 *data_offset) {
nstrace_t *nstrace = (nstrace_t *)wth->priv;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
gchar *nstrace_buf = nstrace->pnstrace_buf;
guint32 nstrace_buf_offset = nstrace->nstrace_buf_offset;
guint32 nstr... | static gboolean nstrace_read_v20(wtap *wth, int *err, gchar **err_info, gint64 *data_offset) {
nstrace_t *nstrace = (nstrace_t *)wth->priv;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
gchar *nstrace_buf = nstrace->pnstrace_buf;
guint32 nstrace_buf_offset = nstrace->nstrace_buf_offset;
guint32 nstr... | static gboolean nstrace_read_v20(wtap *wth, int *err, gchar **err_info, gint64 *data_offset) {
nstrace_t *nstrace = (nstrace_t *)wth->priv;
gchar *nstrace_buf = nstrace->pnstrace_buf;
guint32 nstrace_buf_offset = nstrace->nstrace_buf_offset;
guint32 nstrace_buflen = nstrace->nstrace_buflen;
do... |
CVE-2019-10896 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-dof.c | oap_1_tree_add_alias | static int oap_1_tree_add_alias(dof_api_data *api_data, oap_1_packet_data *oap_packet, dof_packet_data *packet, proto_tree *tree, tvbuff_t *tvb, gint offset, guint8 alias_length, guint8 resolve) {
dof_session_data *session = api_data->session;
proto_item *ti;
proto_tree *options_tree;
if (alias_length =... | static int oap_1_tree_add_alias(dof_api_data *api_data, oap_1_packet_data *oap_packet, dof_packet_data *packet, proto_tree *tree, tvbuff_t *tvb, gint offset, guint8 alias_length, guint8 resolve) {
dof_session_data *session = api_data->session;
proto_item *ti;
proto_tree *options_tree;
if (alias_length =... | static int oap_1_tree_add_alias(dof_api_data *api_data, oap_1_packet_data *oap_packet, dof_packet_data *packet, proto_tree *tree, tvbuff_t *tvb, gint offset, guint8 alias_length, guint8 resolve) {
dof_session_data *session = api_data->session;
proto_item *ti;
proto_tree *options_tree;
if (alias_length =... | static int oap_1_tree_add_alias(dof_api_data *api_data, oap_1_packet_data *oap_packet, dof_packet_data *packet, proto_tree *tree, tvbuff_t *tvb, gint offset, guint8 alias_length, guint8 resolve) {
dof_session_data *session = api_data->session;
proto_item *ti;
proto_tree *options_tree;
if (alias_length =... | static int oap_1_tree_add_alias(dof_api_data *api_data, oap_1_packet_data *oap_packet, dof_packet_data *packet, proto_tree *tree, tvbuff_t *tvb, gint offset, guint8 alias_length, guint8 resolve) {
if (alias_length == 0) {
return offset;
}
ti = proto_tree_add_item(tree, hf_oap_1_alias, tvb, offset, a... | static int oap_1_tree_add_alias(dof_api_data *api_data, oap_1_packet_data *oap_packet, dof_packet_data *packet, proto_tree *tree, tvbuff_t *tvb, gint offset, guint8 alias_length, guint8 resolve) {
if (alias_length == 0) {
return offset;
}
ti = proto_tree_add_item(tree, hf_oap_1_alias, tvb, offset, a... | static int oap_1_tree_add_alias(dof_api_data *api_data, oap_1_packet_data *oap_packet, dof_packet_data *packet, proto_tree *tree, tvbuff_t *tvb, gint offset, guint8 alias_length, guint8 resolve) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (alias_length == 0) {
return offset;
}
/* PLACEHOL... | static int oap_1_tree_add_alias(dof_api_data *api_data, oap_1_packet_data *oap_packet, dof_packet_data *packet, proto_tree *tree, tvbuff_t *tvb, gint offset, guint8 alias_length, guint8 resolve) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (alias_length == 0) {
return offset;
}
/* PLACEHOL... | static int oap_1_tree_add_alias(dof_api_data *api_data, oap_1_packet_data *oap_packet, dof_packet_data *packet, proto_tree *tree, tvbuff_t *tvb, gint offset, guint8 alias_length, guint8 resolve) {
if (alias_length == 0) {
return offset;
}
ti = proto_tree_add_item(tree, hf_oap_1_alias, tvb, offs... |
CVE-2019-10897 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-ieee80211.c | dissect_compressed_beamforming_and_cqi | static guint dissect_compressed_beamforming_and_cqi(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int offset) {
int byte_count = 0;
guint64 mimo_cntl = tvb_get_letoh40(tvb, offset);
int nc = 0, nr = 0, i;
int bw, grouping, codebook, feedback, bit_offset, scidx;
int phi_bits = 0, psi_bits = 0;... | static guint dissect_compressed_beamforming_and_cqi(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int offset) {
int byte_count = 0;
guint64 mimo_cntl = tvb_get_letoh40(tvb, offset);
int nc = 0, nr = 0, i;
int bw, grouping, codebook, feedback, bit_offset, scidx;
int phi_bits = 0, psi_bits = 0;... | static guint dissect_compressed_beamforming_and_cqi(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int offset) {
int byte_count = 0;
guint64 mimo_cntl = tvb_get_letoh40(tvb, offset);
int nc = 0, nr = 0, i;
int bw, grouping, codebook, feedback, bit_offset, scidx;
int phi_bits = 0, psi_bits = 0;... | static guint dissect_compressed_beamforming_and_cqi(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int offset) {
int byte_count = 0;
guint64 mimo_cntl = tvb_get_letoh40(tvb, offset);
int nc = 0, nr = 0, i;
int bw, grouping, codebook, feedback, bit_offset, scidx;
int phi_bits = 0, psi_bits = 0;... | static guint dissect_compressed_beamforming_and_cqi(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int offset) {
guint64 mimo_cntl = tvb_get_letoh40(tvb, offset);
int phi_bits = 0, psi_bits = 0;
nc = (int)((mimo_cntl & 0x07) + 1);
nr = (int)(((mimo_cntl >> 3) & 0x07) + 1);
bw = (int)((mimo_cnt... | static guint dissect_compressed_beamforming_and_cqi(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int offset) {
guint64 mimo_cntl = tvb_get_letoh40(tvb, offset);
int phi_bits = 0, psi_bits = 0;
nc = (int)((mimo_cntl & 0x07) + 1);
nr = (int)(((mimo_cntl >> 3) & 0x07) + 1);
bw = (int)((mimo_cnt... | static guint dissect_compressed_beamforming_and_cqi(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int offset) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
guint64 mimo_cntl = tvb_get_letoh40(tvb, offset);
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
int phi_bits = 0, psi_bits = 0;
/* PLAC... | static guint dissect_compressed_beamforming_and_cqi(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int offset) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
guint64 mimo_cntl = tvb_get_letoh40(tvb, offset);
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
int phi_bits = 0, psi_bits = 0;
/* PLAC... | static guint dissect_compressed_beamforming_and_cqi(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int offset) {
guint64 mimo_cntl = tvb_get_letoh40(tvb, offset);
int phi_bits = 0, psi_bits = 0;
nc = (int)((mimo_cntl & 0x07) + 1);
nr = (int)(((mimo_cntl >> 3) & 0x07) + 1);
bw = (int)((mi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.