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-2016-4080
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-pktc.c
dissect_pktc_rekey
static int dissect_pktc_rekey(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset, guint8 doi) { guint32 snonce; guint string_len; const guint8 *timestr; snonce=tvb_get_ntohl(tvb, offset); proto_tree_add_uint(tree, hf_pktc_server_nonce, tvb, offset, 4, snonce); offset+=4; string_...
static int dissect_pktc_rekey(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset, guint8 doi) { guint32 snonce; guint string_len; const guint8 *timestr; snonce=tvb_get_ntohl(tvb, offset); proto_tree_add_uint(tree, hf_pktc_server_nonce, tvb, offset, 4, snonce); offset+=4; string_...
static int dissect_pktc_rekey(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset, guint8 doi) { guint32 snonce; guint string_len; const guint8 *timestr; snonce=tvb_get_ntohl(tvb, offset); proto_tree_add_uint(tree, hf_pktc_server_nonce, tvb, offset, 4, snonce); offset+=4; string_...
static int dissect_pktc_rekey(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset, guint8 doi) { guint32 snonce; guint string_len; const guint8 *timestr; snonce=tvb_get_ntohl(tvb, offset); proto_tree_add_uint(tree, hf_pktc_server_nonce, tvb, offset, 4, snonce); offset+=4; string_...
static int dissect_pktc_rekey(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset, guint8 doi) { snonce=tvb_get_ntohl(tvb, offset); proto_tree_add_uint(tree, hf_pktc_server_nonce, tvb, offset, 4, snonce); offset+=4; string_len=tvb_strsize(tvb, offset); proto_tree_add_item(tree, hf_pktc_s...
static int dissect_pktc_rekey(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset, guint8 doi) { snonce=tvb_get_ntohl(tvb, offset); proto_tree_add_uint(tree, hf_pktc_server_nonce, tvb, offset, 4, snonce); offset+=4; string_len=tvb_strsize(tvb, offset); proto_tree_add_item(tree, hf_pktc_s...
static int dissect_pktc_rekey(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset, guint8 doi) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ snonce=tvb_get_ntohl(tvb, offset); proto_tree_add_uint(tree, hf_pktc_server_nonce, tvb, offset, 4, snonce); offset+=4; string_len=tvb_strsize(tvb...
static int dissect_pktc_rekey(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset, guint8 doi) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ snonce=tvb_get_ntohl(tvb, offset); proto_tree_add_uint(tree, hf_pktc_server_nonce, tvb, offset, 4, snonce); offset+=4; string_len=tvb_strsize(tvb...
static int dissect_pktc_rekey(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset, guint8 doi) { snonce=tvb_get_ntohl(tvb, offset); proto_tree_add_uint(tree, hf_pktc_server_nonce, tvb, offset, 4, snonce); offset+=4; string_len=tvb_strsize(tvb, offset); proto_tree_add_item(tree, hf_...
CVE-2016-4080
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-pktc.c
proto_register_pktc
void proto_register_pktc(void) { static hf_register_info hf[] = { { &hf_pktc_kmmid, { "Key Management Message ID", "pktc.kmmid", FT_UT8, BASE_HEX, VALS(kmmid_types), 0, NULL, HFILL } }, { &hf_pktc_doi, { "Domain of Interpretation", ...
void proto_register_pktc(void) { static hf_register_info hf[] = { { &hf_pktc_kmmid, { "Key Management Message ID", "pktc.kmmid", FT_UT8, BASE_HEX, VALS(kmmid_types), 0, NULL, HFILL } }, { &hf_pktc_doi, { "Domain of Interpretation", ...
void proto_register_pktc(void) { static hf_register_info hf[] = { { &hf_pktc_kmmid, { "Key Management Message ID", "pktc.kmmid", FT_UT8, BASE_HEX, VALS(kmmid_types), 0, NULL, HFILL } }, { &hf_pktc_doi, { "Domain of Interpretation", ...
void proto_register_pktc(void) { static hf_register_info hf[] = { { &hf_pktc_kmmid, { "Key Management Message ID", "pktc.kmmid", FT_UT8, BASE_HEX, VALS(kmmid_types), 0, NULL, HFILL } }, { &hf_pktc_doi, { "Domain of Interpretation", ...
void proto_register_pktc(void) { static hf_register_info hf[] = { { &hf_pktc_kmmid, { "Key Management Message ID", "pktc.kmmid", FT_UT8, BASE_HEX, VALS(kmmid_types), 0, NULL, HFILL } }, { &hf_pktc_doi, { "Domain of Interpretation", ...
void proto_register_pktc(void) { static hf_register_info hf[] = { { &hf_pktc_kmmid, { "Key Management Message ID", "pktc.kmmid", FT_UT8, BASE_HEX, VALS(kmmid_types), 0, NULL, HFILL } }, { &hf_pktc_doi, { "Domain of Interpretation", ...
void proto_register_pktc(void) { static hf_register_info hf[] = { { &hf_pktc_kmmid, { "Key Management Message ID", "pktc.kmmid", FT_UT8, BASE_HEX, VALS(kmmid_types), 0, NULL, HFILL } }, { &hf_pktc_doi, { "Domain of Interpretation", ...
void proto_register_pktc(void) { static hf_register_info hf[] = { { &hf_pktc_kmmid, { "Key Management Message ID", "pktc.kmmid", FT_UT8, BASE_HEX, VALS(kmmid_types), 0, NULL, HFILL } }, { &hf_pktc_doi, { "Domain of Interpretation", ...
void proto_register_pktc(void) { static hf_register_info hf[] = { { &hf_pktc_kmmid, { "Key Management Message ID", "pktc.kmmid", FT_UT8, BASE_HEX, VALS(kmmid_types), 0, NULL, HFILL } }, { &hf_pktc_doi, { "Domain of Interpre...
CVE-2016-4081
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-iax2.c
iax2_add_ts_fields
static void iax2_add_ts_fields(packet_info *pinfo, proto_tree *iax2_tree, iax_packet_data *iax_packet, guint16 shortts) { guint32 longts =shortts; nstime_t ts; proto_item *item; if (iax_packet->call_data == NULL) { return; } if (iax_packet->abstime.secs == -1) { time_t start_secs...
static void iax2_add_ts_fields(packet_info *pinfo, proto_tree *iax2_tree, iax_packet_data *iax_packet, guint16 shortts) { guint32 longts =shortts; nstime_t ts; proto_item *item; if (iax_packet->call_data == NULL) { return; } if (iax_packet->abstime.secs == -1) { time_t start_secs...
static void iax2_add_ts_fields(packet_info *pinfo, proto_tree *iax2_tree, iax_packet_data *iax_packet, guint16 shortts) { guint32 longts =shortts; nstime_t ts; proto_item *item; if (iax_packet->call_data == NULL) { return; } if (iax_packet->abstime.secs == -1) { time_t start_secs...
static void iax2_add_ts_fields(packet_info *pinfo, proto_tree *iax2_tree, iax_packet_data *iax_packet, guint16 shortts) { guint32 longts =shortts; nstime_t ts; proto_item *item; if (iax_packet->call_data == NULL) { return; } if (iax_packet->abstime.secs == -1) { time_t start_secs...
static void iax2_add_ts_fields(packet_info *pinfo, proto_tree *iax2_tree, iax_packet_data *iax_packet, guint16 shortts) { guint32 longts =shortts; if (iax_packet->abstime.secs == -1) { time_t start_secs = iax_packet->call_data->start_time.secs; gint32 abs_secs = (gint32)(start_secs + longts/1000...
static void iax2_add_ts_fields(packet_info *pinfo, proto_tree *iax2_tree, iax_packet_data *iax_packet, guint16 shortts) { guint32 longts =shortts; if (iax_packet->abstime.secs == -1) { time_t start_secs = iax_packet->call_data->start_time.secs; time_t abs_secs = start_secs + longts/1000; ...
static void iax2_add_ts_fields(packet_info *pinfo, proto_tree *iax2_tree, iax_packet_data *iax_packet, guint16 shortts) { guint32 longts =shortts; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ if (iax_packet->abstime.secs == -1) { time_t start_secs = iax_packet->call_data->start_time.secs; g...
static void iax2_add_ts_fields(packet_info *pinfo, proto_tree *iax2_tree, iax_packet_data *iax_packet, guint16 shortts) { guint32 longts =shortts; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ if (iax_packet->abstime.secs == -1) { time_t start_secs = iax_packet->call_data->start_time.secs; t...
static void iax2_add_ts_fields(packet_info *pinfo, proto_tree *iax2_tree, iax_packet_data *iax_packet, guint16 shortts) { guint32 longts =shortts; if (iax_packet->abstime.secs == -1) { time_t start_secs = iax_packet->call_data->start_time.secs; - gint32 abs_secs = (gint32)(start_secs + longts...
CVE-2016-4082
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-gsm_cbch.c
dissect_schedule_message
static void dissect_schedule_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *top_tree) { guint len, offset = 0; guint8 octet1, i, k = 0; guint8 sched_begin, sched_end, new_slots[48]; gboolean valid_message = TRUE; guint16 other_slots[48]; proto_item *item = NULL, *schedule_item = NULL; ...
static void dissect_schedule_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *top_tree) { guint len, offset = 0; guint8 octet1, i, k = 0; guint8 sched_begin, sched_end, new_slots[48]; gboolean valid_message = TRUE; guint16 other_slots[48]; proto_item *item = NULL, *schedule_item = NULL; ...
static void dissect_schedule_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *top_tree) { guint len, offset = 0; guint8 octet1, i, j, k = 0; guint8 sched_begin, sched_end, new_slots[48]; gboolean valid_message = TRUE; guint16 other_slots[48]; proto_item *item = NULL, *schedule_item = NULL;...
static void dissect_schedule_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *top_tree) { guint len, offset = 0; guint8 octet1, i, j, k = 0; guint8 sched_begin, sched_end, new_slots[48]; gboolean valid_message = TRUE; guint16 other_slots[48]; proto_item *item = NULL, *schedule_item = NULL;...
static void dissect_schedule_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *top_tree) { guint len, offset = 0; guint8 octet1, i, k = 0; proto_item *item = NULL, *schedule_item = NULL; len = tvb_reported_length(tvb); schedule_item = proto_tree_add_protocol_format(top_tree, proto_cbch, tvb, 0,...
static void dissect_schedule_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *top_tree) { guint len, offset = 0; guint8 octet1, i, k = 0; proto_item *item = NULL, *schedule_item = NULL; len = tvb_reported_length(tvb); schedule_item = proto_tree_add_protocol_format(top_tree, proto_cbch, tvb, 0,...
static void dissect_schedule_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *top_tree) { guint len, offset = 0; guint8 octet1, i, j, k = 0; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ proto_item *item = NULL, *schedule_item = NULL; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ len = tvb...
static void dissect_schedule_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *top_tree) { guint len, offset = 0; guint8 octet1, i, j, k = 0; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ proto_item *item = NULL, *schedule_item = NULL; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ len = tvb...
static void dissect_schedule_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *top_tree) { guint len, offset = 0; guint8 octet1, i, k = 0; proto_item *item = NULL, *schedule_item = NULL; len = tvb_reported_length(tvb); schedule_item = proto_tree_add_protocol_format(top_tree, proto_cbch, t...
CVE-2016-4083
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-mswsp.c
vvalue_tvb_vector
static int vvalue_tvb_vector(tvbuff_t *tvb, int offset, struct vt_vector *val, struct vtype_data *type) { const int num = tvb_get_letohl(tvb, offset); return 4 + vvalue_tvb_vector_internal(tvb, offset+4, val, type, num); }
static int vvalue_tvb_vector(tvbuff_t *tvb, int offset, struct vt_vector *val, struct vtype_data *type) { const guint num = tvb_get_letohl(tvb, offset); return 4 + vvalue_tvb_vector_internal(tvb, offset+4, val, type, num); }
static int vvalue_tvb_vector(tvbuff_t *tvb, int offset, struct vt_vector *val, struct vtype_data *type) { const int num = tvb_get_letohl(tvb, offset); return 4 + vvalue_tvb_vector_internal(tvb, offset+4, val, type, num); }
static int vvalue_tvb_vector(tvbuff_t *tvb, int offset, struct vt_vector *val, struct vtype_data *type) { const guint num = tvb_get_letohl(tvb, offset); return 4 + vvalue_tvb_vector_internal(tvb, offset+4, val, type, num); }
static int vvalue_tvb_vector(tvbuff_t *tvb, int offset, struct vt_vector *val, struct vtype_data *type) { const int num = tvb_get_letohl(tvb, offset); return 4 + vvalue_tvb_vector_internal(tvb, offset+4, val, type, num); }
static int vvalue_tvb_vector(tvbuff_t *tvb, int offset, struct vt_vector *val, struct vtype_data *type) { const guint num = tvb_get_letohl(tvb, offset); return 4 + vvalue_tvb_vector_internal(tvb, offset+4, val, type, num); }
static int vvalue_tvb_vector(tvbuff_t *tvb, int offset, struct vt_vector *val, struct vtype_data *type) { const int num = tvb_get_letohl(tvb, offset); return 4 + vvalue_tvb_vector_internal(tvb, offset+4, val, type, num); }
static int vvalue_tvb_vector(tvbuff_t *tvb, int offset, struct vt_vector *val, struct vtype_data *type) { const guint num = tvb_get_letohl(tvb, offset); return 4 + vvalue_tvb_vector_internal(tvb, offset+4, val, type, num); }
static int vvalue_tvb_vector(tvbuff_t *tvb, int offset, struct vt_vector *val, struct vtype_data *type) { - const int num = tvb_get_letohl(tvb, offset); + const guint num = tvb_get_letohl(tvb, offset); return 4 + vvalue_tvb_vector_internal(tvb, offset+4, val, type, num); }
CVE-2016-4083
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-mswsp.c
vvalue_tvb_vector_internal
static int vvalue_tvb_vector_internal(tvbuff_t *tvb, int offset, struct vt_vector *val, struct vtype_data *type, int num) { const int offset_in = offset; const gboolean varsize = (type->size == -1); const int elsize = varsize ? (int)sizeof(struct data_blob) : type->size; guint8 *data = (guint8*)wmem_all...
static int vvalue_tvb_vector_internal(tvbuff_t *tvb, int offset, struct vt_vector *val, struct vtype_data *type, guint num) { const int offset_in = offset; const gboolean varsize = (type->size == -1); const guint elsize = varsize ? (guint)sizeof(struct data_blob) : (guint)type->size; guint8 *data; i...
static int vvalue_tvb_vector_internal(tvbuff_t *tvb, int offset, struct vt_vector *val, struct vtype_data *type, int num) { const int offset_in = offset; const gboolean varsize = (type->size == -1); const int elsize = varsize ? (int)sizeof(struct data_blob) : type->size; guint8 *data = (guint8*)wmem_all...
static int vvalue_tvb_vector_internal(tvbuff_t *tvb, int offset, struct vt_vector *val, struct vtype_data *type, guint num) { const int offset_in = offset; const gboolean varsize = (type->size == -1); const guint elsize = varsize ? (guint)sizeof(struct data_blob) : (guint)type->size; guint8 *data; i...
static int vvalue_tvb_vector_internal(tvbuff_t *tvb, int offset, struct vt_vector *val, struct vtype_data *type, int num) { const gboolean varsize = (type->size == -1); const int elsize = varsize ? (int)sizeof(struct data_blob) : type->size; guint8 *data = (guint8*)wmem_alloc(wmem_packet_scope(), elsize * n...
static int vvalue_tvb_vector_internal(tvbuff_t *tvb, int offset, struct vt_vector *val, struct vtype_data *type, guint num) { const gboolean varsize = (type->size == -1); const guint elsize = varsize ? (guint)sizeof(struct data_blob) : (guint)type->size; guint8 *data; int len; guint i; if ((guin...
static int vvalue_tvb_vector_internal(tvbuff_t *tvb, int offset, struct vt_vector *val, struct vtype_data *type, int num) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ const gboolean varsize = (type->size == -1); const int elsize = varsize ? (int)sizeof(struct data_blob) : type->size; guint8 *data = (...
static int vvalue_tvb_vector_internal(tvbuff_t *tvb, int offset, struct vt_vector *val, struct vtype_data *type, guint num) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ const gboolean varsize = (type->size == -1); const guint elsize = varsize ? (guint)sizeof(struct data_blob) : (guint)type->size; gui...
-static int vvalue_tvb_vector_internal(tvbuff_t *tvb, int offset, struct vt_vector *val, struct vtype_data *type, int num) { +static int vvalue_tvb_vector_internal(tvbuff_t *tvb, int offset, struct vt_vector *val, struct vtype_data *type, guint num) { const gboolean varsize = (type->size == -1); - const int els...
CVE-2016-4084
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-mswsp.c
vvalue_tvb_vector
static int vvalue_tvb_vector(tvbuff_t *tvb, int offset, struct vt_vector *val, struct vtype_data *type) { const int num = tvb_get_letohl(tvb, offset); return 4 + vvalue_tvb_vector_internal(tvb, offset+4, val, type, num); }
static int vvalue_tvb_vector(tvbuff_t *tvb, int offset, struct vt_vector *val, struct vtype_data *type) { const guint num = tvb_get_letohl(tvb, offset); return 4 + vvalue_tvb_vector_internal(tvb, offset+4, val, type, num); }
static int vvalue_tvb_vector(tvbuff_t *tvb, int offset, struct vt_vector *val, struct vtype_data *type) { const int num = tvb_get_letohl(tvb, offset); return 4 + vvalue_tvb_vector_internal(tvb, offset+4, val, type, num); }
static int vvalue_tvb_vector(tvbuff_t *tvb, int offset, struct vt_vector *val, struct vtype_data *type) { const guint num = tvb_get_letohl(tvb, offset); return 4 + vvalue_tvb_vector_internal(tvb, offset+4, val, type, num); }
static int vvalue_tvb_vector(tvbuff_t *tvb, int offset, struct vt_vector *val, struct vtype_data *type) { const int num = tvb_get_letohl(tvb, offset); return 4 + vvalue_tvb_vector_internal(tvb, offset+4, val, type, num); }
static int vvalue_tvb_vector(tvbuff_t *tvb, int offset, struct vt_vector *val, struct vtype_data *type) { const guint num = tvb_get_letohl(tvb, offset); return 4 + vvalue_tvb_vector_internal(tvb, offset+4, val, type, num); }
static int vvalue_tvb_vector(tvbuff_t *tvb, int offset, struct vt_vector *val, struct vtype_data *type) { const int num = tvb_get_letohl(tvb, offset); return 4 + vvalue_tvb_vector_internal(tvb, offset+4, val, type, num); }
static int vvalue_tvb_vector(tvbuff_t *tvb, int offset, struct vt_vector *val, struct vtype_data *type) { const guint num = tvb_get_letohl(tvb, offset); return 4 + vvalue_tvb_vector_internal(tvb, offset+4, val, type, num); }
static int vvalue_tvb_vector(tvbuff_t *tvb, int offset, struct vt_vector *val, struct vtype_data *type) { - const int num = tvb_get_letohl(tvb, offset); + const guint num = tvb_get_letohl(tvb, offset); return 4 + vvalue_tvb_vector_internal(tvb, offset+4, val, type, num); }
CVE-2016-4084
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-mswsp.c
vvalue_tvb_vector_internal
static int vvalue_tvb_vector_internal(tvbuff_t *tvb, int offset, struct vt_vector *val, struct vtype_data *type, int num) { const int offset_in = offset; const gboolean varsize = (type->size == -1); const int elsize = varsize ? (int)sizeof(struct data_blob) : type->size; guint8 *data = (guint8*)wmem_all...
static int vvalue_tvb_vector_internal(tvbuff_t *tvb, int offset, struct vt_vector *val, struct vtype_data *type, guint num) { const int offset_in = offset; const gboolean varsize = (type->size == -1); const guint elsize = varsize ? (guint)sizeof(struct data_blob) : (guint)type->size; guint8 *data; i...
static int vvalue_tvb_vector_internal(tvbuff_t *tvb, int offset, struct vt_vector *val, struct vtype_data *type, int num) { const int offset_in = offset; const gboolean varsize = (type->size == -1); const int elsize = varsize ? (int)sizeof(struct data_blob) : type->size; guint8 *data = (guint8*)wmem_all...
static int vvalue_tvb_vector_internal(tvbuff_t *tvb, int offset, struct vt_vector *val, struct vtype_data *type, guint num) { const int offset_in = offset; const gboolean varsize = (type->size == -1); const guint elsize = varsize ? (guint)sizeof(struct data_blob) : (guint)type->size; guint8 *data; i...
static int vvalue_tvb_vector_internal(tvbuff_t *tvb, int offset, struct vt_vector *val, struct vtype_data *type, int num) { const gboolean varsize = (type->size == -1); const int elsize = varsize ? (int)sizeof(struct data_blob) : type->size; guint8 *data = (guint8*)wmem_alloc(wmem_packet_scope(), elsize * n...
static int vvalue_tvb_vector_internal(tvbuff_t *tvb, int offset, struct vt_vector *val, struct vtype_data *type, guint num) { const gboolean varsize = (type->size == -1); const guint elsize = varsize ? (guint)sizeof(struct data_blob) : (guint)type->size; guint8 *data; int len; guint i; if ((guin...
static int vvalue_tvb_vector_internal(tvbuff_t *tvb, int offset, struct vt_vector *val, struct vtype_data *type, int num) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ const gboolean varsize = (type->size == -1); const int elsize = varsize ? (int)sizeof(struct data_blob) : type->size; guint8 *data = (...
static int vvalue_tvb_vector_internal(tvbuff_t *tvb, int offset, struct vt_vector *val, struct vtype_data *type, guint num) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ const gboolean varsize = (type->size == -1); const guint elsize = varsize ? (guint)sizeof(struct data_blob) : (guint)type->size; gui...
-static int vvalue_tvb_vector_internal(tvbuff_t *tvb, int offset, struct vt_vector *val, struct vtype_data *type, int num) { +static int vvalue_tvb_vector_internal(tvbuff_t *tvb, int offset, struct vt_vector *val, struct vtype_data *type, guint num) { const gboolean varsize = (type->size == -1); - const int els...
CVE-2016-4453
QEMU
https://github.com/qemu/qemu
hw/display/vmware_vga.c
vmsvga_fifo_run
static void vmsvga_fifo_run(struct vmsvga_state_s *s) { uint32_t cmd, colour; int args, len; int x, y, dx, dy, width, height; struct vmsvga_cursor_definition_s cursor; uint32_t cmd_start; len = vmsvga_fifo_length(s); while (len > 0) { cmd_start = s->fifo_stop; switch (cmd = v...
static void vmsvga_fifo_run(struct vmsvga_state_s *s) { uint32_t cmd, colour; int args, len, maxloop = 1024; int x, y, dx, dy, width, height; struct vmsvga_cursor_definition_s cursor; uint32_t cmd_start; len = vmsvga_fifo_length(s); while (len > 0 && --maxloop > 0) { cmd_start = s->f...
static void vmsvga_fifo_run(struct vmsvga_state_s *s) { uint32_t cmd, colour; int args, len; int x, y, dx, dy, width, height; struct vmsvga_cursor_definition_s cursor; uint32_t cmd_start; len = vmsvga_fifo_length(s); while (len > 0) { cmd_start = s->fifo_stop; switch (cmd = v...
static void vmsvga_fifo_run(struct vmsvga_state_s *s) { uint32_t cmd, colour; int args, len, maxloop = 1024; int x, y, dx, dy, width, height; struct vmsvga_cursor_definition_s cursor; uint32_t cmd_start; len = vmsvga_fifo_length(s); while (len > 0 && --maxloop > 0) { cmd_start = s->f...
static void vmsvga_fifo_run(struct vmsvga_state_s *s) { uint32_t cmd, colour; int args, len; int x, y, dx, dy, width, height; len = vmsvga_fifo_length(s); while (len > 0) { cmd_start = s->fifo_stop; switch (cmd = vmsvga_fifo_read(s)) { case SVGA_CMD_UPDATE: case SVGA_...
static void vmsvga_fifo_run(struct vmsvga_state_s *s) { uint32_t cmd, colour; int args, len, maxloop = 1024; int x, y, dx, dy, width, height; len = vmsvga_fifo_length(s); while (len > 0 && --maxloop > 0) { cmd_start = s->fifo_stop; switch (cmd = vmsvga_fifo_read(s)) { case SV...
static void vmsvga_fifo_run(struct vmsvga_state_s *s) { uint32_t cmd, colour; int args, len; int x, y, dx, dy, width, height; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ len = vmsvga_fifo_length(s); while (len > 0) { cmd_start = s->fifo_stop; switch (cmd = vmsvga_fifo_read(s)) ...
static void vmsvga_fifo_run(struct vmsvga_state_s *s) { uint32_t cmd, colour; int args, len, maxloop = 1024; int x, y, dx, dy, width, height; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ len = vmsvga_fifo_length(s); while (len > 0 && --maxloop > 0) { cmd_start = s->fifo_stop; sw...
static void vmsvga_fifo_run(struct vmsvga_state_s *s) { uint32_t cmd, colour; - int args, len; + int args, len, maxloop = 1024; int x, y, dx, dy, width, height; len = vmsvga_fifo_length(s); - while (len > 0) { + while (len > 0 && --maxloop > 0) { cmd_start = s->fifo_stop; s...
CVE-2016-4952
QEMU
https://github.com/qemu/qemu
hw/scsi/vmw_pvscsi.c
pvscsi_on_cmd_setup_msg_ring
static uint64_t pvscsi_on_cmd_setup_msg_ring(PVSCSIState *s) { PVSCSICmdDescSetupMsgRing *rc = (PVSCSICmdDescSetupMsgRing *) s->curr_cmd_data; trace_pvscsi_on_cmd_arrived("PVSCSI_CMD_SETUP_MSG_RG"); if (!s->use_msg) { return PVSCSI_COMMAND_PROCESSG_FAILED; } if (s->rings_info_valid) { ...
static uint64_t pvscsi_on_cmd_setup_msg_ring(PVSCSIState *s) { PVSCSICmdDescSetupMsgRing *rc = (PVSCSICmdDescSetupMsgRing *) s->curr_cmd_data; trace_pvscsi_on_cmd_arrived("PVSCSI_CMD_SETUP_MSG_RG"); if (!s->use_msg) { return PVSCSI_COMMAND_PROCESSG_FAILED; } if (s->rings_info_valid) { ...
static uint64_t pvscsi_on_cmd_setup_msg_ring(PVSCSIState *s) { PVSCSICmdDescSetupMsgRing *rc = (PVSCSICmdDescSetupMsgRing *) s->curr_cmd_data; trace_pvscsi_on_cmd_arrived("PVSCSI_CMD_SETUP_MSG_RG"); if (!s->use_msg) { return PVSCSI_COMMAND_PROCESSG_FAILED; } if (s->rings_info_valid) { ...
static uint64_t pvscsi_on_cmd_setup_msg_ring(PVSCSIState *s) { PVSCSICmdDescSetupMsgRing *rc = (PVSCSICmdDescSetupMsgRing *) s->curr_cmd_data; trace_pvscsi_on_cmd_arrived("PVSCSI_CMD_SETUP_MSG_RG"); if (!s->use_msg) { return PVSCSI_COMMAND_PROCESSG_FAILED; } if (s->rings_info_valid) { ...
static uint64_t pvscsi_on_cmd_setup_msg_ring(PVSCSIState *s) { PVSCSICmdDescSetupMsgRing *rc = (PVSCSICmdDescSetupMsgRing *) s->curr_cmd_data; if (s->rings_info_valid) { pvscsi_ring_init_msg(&s->rings, rc); s->msg_ring_info_valid = TRUE; } }
static uint64_t pvscsi_on_cmd_setup_msg_ring(PVSCSIState *s) { PVSCSICmdDescSetupMsgRing *rc = (PVSCSICmdDescSetupMsgRing *) s->curr_cmd_data; if (s->rings_info_valid) { if (pvscsi_ring_init_msg(&s->rings, rc) < 0) { return PVSCSI_COMMAND_PROCESSG_FAILED; } s->msg_ring_info_v...
static uint64_t pvscsi_on_cmd_setup_msg_ring(PVSCSIState *s) { PVSCSICmdDescSetupMsgRing *rc = (PVSCSICmdDescSetupMsgRing *) s->curr_cmd_data; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ if (s->rings_info_valid) { pvscsi_ring_init_msg(&s->rings, rc); s->msg_ring_info_valid = TRUE; } ...
static uint64_t pvscsi_on_cmd_setup_msg_ring(PVSCSIState *s) { PVSCSICmdDescSetupMsgRing *rc = (PVSCSICmdDescSetupMsgRing *) s->curr_cmd_data; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ if (s->rings_info_valid) { if (pvscsi_ring_init_msg(&s->rings, rc) < 0) { return PVSCSI_COMMAND_PRO...
static uint64_t pvscsi_on_cmd_setup_msg_ring(PVSCSIState *s) { PVSCSICmdDescSetupMsgRing *rc = (PVSCSICmdDescSetupMsgRing *) s->curr_cmd_data; if (s->rings_info_valid) { - pvscsi_ring_init_msg(&s->rings, rc); + if (pvscsi_ring_init_msg(&s->rings, rc) < 0) { + return PVSCSI_COMMAND_PR...
CVE-2016-4952
QEMU
https://github.com/qemu/qemu
hw/scsi/vmw_pvscsi.c
pvscsi_on_cmd_setup_rings
static uint64_t pvscsi_on_cmd_setup_rings(PVSCSIState *s) { PVSCSICmdDescSetupRings *rc = (PVSCSICmdDescSetupRings *) s->curr_cmd_data; trace_pvscsi_on_cmd_arrived("PVSCSI_CMD_SETUP_RGS"); pvscsi_dbg_dump_tx_rings_config(rc); pvscsi_ring_init_data(&s->rings, rc); s->rings_info_valid = TRUE; retu...
static uint64_t pvscsi_on_cmd_setup_rings(PVSCSIState *s) { PVSCSICmdDescSetupRings *rc = (PVSCSICmdDescSetupRings *) s->curr_cmd_data; trace_pvscsi_on_cmd_arrived("PVSCSI_CMD_SETUP_RGS"); pvscsi_dbg_dump_tx_rings_config(rc); if (pvscsi_ring_init_data(&s->rings, rc) < 0) { return PVSCSI_COMMAND_...
static uint64_t pvscsi_on_cmd_setup_rings(PVSCSIState *s) { PVSCSICmdDescSetupRings *rc = (PVSCSICmdDescSetupRings *) s->curr_cmd_data; trace_pvscsi_on_cmd_arrived("PVSCSI_CMD_SETUP_RGS"); pvscsi_dbg_dump_tx_rings_config(rc); pvscsi_ring_init_data(&s->rings, rc); s->rings_info_valid = TRUE; retu...
static uint64_t pvscsi_on_cmd_setup_rings(PVSCSIState *s) { PVSCSICmdDescSetupRings *rc = (PVSCSICmdDescSetupRings *) s->curr_cmd_data; trace_pvscsi_on_cmd_arrived("PVSCSI_CMD_SETUP_RGS"); pvscsi_dbg_dump_tx_rings_config(rc); if (pvscsi_ring_init_data(&s->rings, rc) < 0) { return PVSCSI_COMMAND_...
static uint64_t pvscsi_on_cmd_setup_rings(PVSCSIState *s) { PVSCSICmdDescSetupRings *rc = (PVSCSICmdDescSetupRings *) s->curr_cmd_data; trace_pvscsi_on_cmd_arrived("PVSCSI_CMD_SETUP_RGS"); pvscsi_dbg_dump_tx_rings_config(rc); pvscsi_ring_init_data(&s->rings, rc); s->rings_info_valid = TRUE; retu...
static uint64_t pvscsi_on_cmd_setup_rings(PVSCSIState *s) { PVSCSICmdDescSetupRings *rc = (PVSCSICmdDescSetupRings *) s->curr_cmd_data; trace_pvscsi_on_cmd_arrived("PVSCSI_CMD_SETUP_RGS"); pvscsi_dbg_dump_tx_rings_config(rc); if (pvscsi_ring_init_data(&s->rings, rc) < 0) { return PVSCSI_COMMAND_...
static uint64_t pvscsi_on_cmd_setup_rings(PVSCSIState *s) { PVSCSICmdDescSetupRings *rc = (PVSCSICmdDescSetupRings *) s->curr_cmd_data; trace_pvscsi_on_cmd_arrived("PVSCSI_CMD_SETUP_RGS"); pvscsi_dbg_dump_tx_rings_config(rc); pvscsi_ring_init_data(&s->rings, rc); s->rings_info_valid = TRUE; retu...
static uint64_t pvscsi_on_cmd_setup_rings(PVSCSIState *s) { PVSCSICmdDescSetupRings *rc = (PVSCSICmdDescSetupRings *) s->curr_cmd_data; trace_pvscsi_on_cmd_arrived("PVSCSI_CMD_SETUP_RGS"); pvscsi_dbg_dump_tx_rings_config(rc); if (pvscsi_ring_init_data(&s->rings, rc) < 0) { return PVSCSI_COMMAND_...
static uint64_t pvscsi_on_cmd_setup_rings(PVSCSIState *s) { PVSCSICmdDescSetupRings *rc = (PVSCSICmdDescSetupRings *) s->curr_cmd_data; trace_pvscsi_on_cmd_arrived("PVSCSI_CMD_SETUP_RGS"); pvscsi_dbg_dump_tx_rings_config(rc); - pvscsi_ring_init_data(&s->rings, rc); + if (pvscsi_ring_init_data(&s->...
CVE-2016-4952
QEMU
https://github.com/qemu/qemu
hw/scsi/vmw_pvscsi.c
pvscsi_ring_init_data
static void pvscsi_ring_init_data(PVSCSIRingInfo *m, PVSCSICmdDescSetupRings *ri) { int i; uint32_t txr_len_log2, rxr_len_log2; uint32_t req_ring_size, cmp_ring_size; m->rs_pa = ri->ringsStatePPN << VMW_PAGE_SHIFT; req_ring_size = ri->reqRingNumPages * PVSCSI_MAX_NUM_REQ_ENTRIES_PER_PAGE; cmp_ri...
static int pvscsi_ring_init_data(PVSCSIRingInfo *m, PVSCSICmdDescSetupRings *ri) { int i; uint32_t txr_len_log2, rxr_len_log2; uint32_t req_ring_size, cmp_ring_size; m->rs_pa = ri->ringsStatePPN << VMW_PAGE_SHIFT; if ((ri->reqRingNumPages > PVSCSI_SETUP_RGS_MAX_NUM_PAGES) || (ri->cmpRingNumPages > P...
static void pvscsi_ring_init_data(PVSCSIRingInfo *m, PVSCSICmdDescSetupRings *ri) { int i; uint32_t txr_len_log2, rxr_len_log2; uint32_t req_ring_size, cmp_ring_size; m->rs_pa = ri->ringsStatePPN << VMW_PAGE_SHIFT; req_ring_size = ri->reqRingNumPages * PVSCSI_MAX_NUM_REQ_ENTRIES_PER_PAGE; cmp_ri...
static int pvscsi_ring_init_data(PVSCSIRingInfo *m, PVSCSICmdDescSetupRings *ri) { int i; uint32_t txr_len_log2, rxr_len_log2; uint32_t req_ring_size, cmp_ring_size; m->rs_pa = ri->ringsStatePPN << VMW_PAGE_SHIFT; if ((ri->reqRingNumPages > PVSCSI_SETUP_RGS_MAX_NUM_PAGES) || (ri->cmpRingNumPages > P...
static void pvscsi_ring_init_data(PVSCSIRingInfo *m, PVSCSICmdDescSetupRings *ri) { m->rs_pa = ri->ringsStatePPN << VMW_PAGE_SHIFT; req_ring_size = ri->reqRingNumPages * PVSCSI_MAX_NUM_REQ_ENTRIES_PER_PAGE; cmp_ring_size = ri->cmpRingNumPages * PVSCSI_MAX_NUM_CMP_ENTRIES_PER_PAGE; txr_len_log2 = pvscsi_...
static int pvscsi_ring_init_data(PVSCSIRingInfo *m, PVSCSICmdDescSetupRings *ri) { m->rs_pa = ri->ringsStatePPN << VMW_PAGE_SHIFT; if ((ri->reqRingNumPages > PVSCSI_SETUP_RGS_MAX_NUM_PAGES) || (ri->cmpRingNumPages > PVSCSI_SETUP_RGS_MAX_NUM_PAGES)) { return -1; } req_ring_size = ri->reqRingNumPa...
static void pvscsi_ring_init_data(PVSCSIRingInfo *m, PVSCSICmdDescSetupRings *ri) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ m->rs_pa = ri->ringsStatePPN << VMW_PAGE_SHIFT; req_ring_size = ri->reqRingNumPages * PVSCSI_MAX_NUM_REQ_ENTRIES_PER_PAGE; cmp_ring_size = ri->cmpRingNumPages * PVSCSI_MAX_NU...
static int pvscsi_ring_init_data(PVSCSIRingInfo *m, PVSCSICmdDescSetupRings *ri) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ m->rs_pa = ri->ringsStatePPN << VMW_PAGE_SHIFT; if ((ri->reqRingNumPages > PVSCSI_SETUP_RGS_MAX_NUM_PAGES) || (ri->cmpRingNumPages > PVSCSI_SETUP_RGS_MAX_NUM_PAGES)) { ret...
-static void pvscsi_ring_init_data(PVSCSIRingInfo *m, PVSCSICmdDescSetupRings *ri) { +static int pvscsi_ring_init_data(PVSCSIRingInfo *m, PVSCSICmdDescSetupRings *ri) { m->rs_pa = ri->ringsStatePPN << VMW_PAGE_SHIFT; + if ((ri->reqRingNumPages > PVSCSI_SETUP_RGS_MAX_NUM_PAGES) || (ri->cmpRingNumPages > PVSCSI_S...
CVE-2016-4952
QEMU
https://github.com/qemu/qemu
hw/scsi/vmw_pvscsi.c
pvscsi_ring_init_msg
static void pvscsi_ring_init_msg(PVSCSIRingInfo *m, PVSCSICmdDescSetupMsgRing *ri) { int i; uint32_t len_log2; uint32_t ring_size; ring_size = ri->numPages * PVSCSI_MAX_NUM_MSG_ENTRIES_PER_PAGE; len_log2 = pvscsi_log2(ring_size - 1); m->msg_len_mask = MASK(len_log2); m->filled_msg_ptr = 0; ...
static int pvscsi_ring_init_msg(PVSCSIRingInfo *m, PVSCSICmdDescSetupMsgRing *ri) { int i; uint32_t len_log2; uint32_t ring_size; if (ri->numPages > PVSCSI_SETUP_MSG_RG_MAX_NUM_PAGES) { return -1; } ring_size = ri->numPages * PVSCSI_MAX_NUM_MSG_ENTRIES_PER_PAGE; len_log2 = pvscsi_log...
static void pvscsi_ring_init_msg(PVSCSIRingInfo *m, PVSCSICmdDescSetupMsgRing *ri) { int i; uint32_t len_log2; uint32_t ring_size; ring_size = ri->numPages * PVSCSI_MAX_NUM_MSG_ENTRIES_PER_PAGE; len_log2 = pvscsi_log2(ring_size - 1); m->msg_len_mask = MASK(len_log2); m->filled_msg_ptr = 0; ...
static int pvscsi_ring_init_msg(PVSCSIRingInfo *m, PVSCSICmdDescSetupMsgRing *ri) { int i; uint32_t len_log2; uint32_t ring_size; if (ri->numPages > PVSCSI_SETUP_MSG_RG_MAX_NUM_PAGES) { return -1; } ring_size = ri->numPages * PVSCSI_MAX_NUM_MSG_ENTRIES_PER_PAGE; len_log2 = pvscsi_log...
static void pvscsi_ring_init_msg(PVSCSIRingInfo *m, PVSCSICmdDescSetupMsgRing *ri) { uint32_t ring_size; ring_size = ri->numPages * PVSCSI_MAX_NUM_MSG_ENTRIES_PER_PAGE; len_log2 = pvscsi_log2(ring_size - 1); m->msg_len_mask = MASK(len_log2); for (i = 0; i < ri->numPages; i++) { } RS_SET_FIEL...
static int pvscsi_ring_init_msg(PVSCSIRingInfo *m, PVSCSICmdDescSetupMsgRing *ri) { uint32_t ring_size; if (ri->numPages > PVSCSI_SETUP_MSG_RG_MAX_NUM_PAGES) { return -1; } ring_size = ri->numPages * PVSCSI_MAX_NUM_MSG_ENTRIES_PER_PAGE; len_log2 = pvscsi_log2(ring_size - 1); m->msg_len_m...
static void pvscsi_ring_init_msg(PVSCSIRingInfo *m, PVSCSICmdDescSetupMsgRing *ri) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ uint32_t ring_size; ring_size = ri->numPages * PVSCSI_MAX_NUM_MSG_ENTRIES_PER_PAGE; len_log2 = pvscsi_log2(ring_size - 1); m->msg_len_mask = MASK(len_log2); /* PLACE...
static int pvscsi_ring_init_msg(PVSCSIRingInfo *m, PVSCSICmdDescSetupMsgRing *ri) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ uint32_t ring_size; if (ri->numPages > PVSCSI_SETUP_MSG_RG_MAX_NUM_PAGES) { return -1; } ring_size = ri->numPages * PVSCSI_MAX_NUM_MSG_ENTRIES_PER_PAGE; len_l...
-static void pvscsi_ring_init_msg(PVSCSIRingInfo *m, PVSCSICmdDescSetupMsgRing *ri) { +static int pvscsi_ring_init_msg(PVSCSIRingInfo *m, PVSCSICmdDescSetupMsgRing *ri) { uint32_t ring_size; + if (ri->numPages > PVSCSI_SETUP_MSG_RG_MAX_NUM_PAGES) { + return -1; + } ring_size = ri->numPages * PVSC...
CVE-2016-4964
QEMU
https://github.com/qemu/qemu
hw/scsi/mptsas.c
mptsas_fetch_request
static void mptsas_fetch_request(MPTSASState *s) { PCIDevice *pci = (PCIDevice *) s; char req[MPTSAS_MAX_REQUEST_SIZE]; MPIRequestHeader *hdr = (MPIRequestHeader *)req; hwaddr addr; int size; if (s->state != MPI_IOC_STATE_OPERATIONAL) { mptsas_set_fault(s, MPI_IOCSTATUS_VALID_STATE); ...
static void mptsas_fetch_request(MPTSASState *s) { PCIDevice *pci = (PCIDevice *) s; char req[MPTSAS_MAX_REQUEST_SIZE]; MPIRequestHeader *hdr = (MPIRequestHeader *)req; hwaddr addr; int size; addr = s->host_mfa_high_addr | MPTSAS_FIFO_GET(s, request_post); pci_dma_read(pci, addr, req, sizeof...
static void mptsas_fetch_request(MPTSASState *s) { PCIDevice *pci = (PCIDevice *) s; char req[MPTSAS_MAX_REQUEST_SIZE]; MPIRequestHeader *hdr = (MPIRequestHeader *)req; hwaddr addr; int size; if (s->state != MPI_IOC_STATE_OPERATIONAL) { mptsas_set_fault(s, MPI_IOCSTATUS_VALID_STATE); ...
static void mptsas_fetch_request(MPTSASState *s) { PCIDevice *pci = (PCIDevice *) s; char req[MPTSAS_MAX_REQUEST_SIZE]; MPIRequestHeader *hdr = (MPIRequestHeader *)req; hwaddr addr; int size; addr = s->host_mfa_high_addr | MPTSAS_FIFO_GET(s, request_post); pci_dma_read(pci, addr, req, sizeof...
static void mptsas_fetch_request(MPTSASState *s) { MPIRequestHeader *hdr = (MPIRequestHeader *)req; int size; if (s->state != MPI_IOC_STATE_OPERATIONAL) { mptsas_set_fault(s, MPI_IOCSTATUS_VALID_STATE); return; } addr = s->host_mfa_high_addr | MPTSAS_FIFO_GET(s, request_post); pc...
static void mptsas_fetch_request(MPTSASState *s) { MPIRequestHeader *hdr = (MPIRequestHeader *)req; int size; addr = s->host_mfa_high_addr | MPTSAS_FIFO_GET(s, request_post); pci_dma_read(pci, addr, req, sizeof(hdr)); if (hdr->Function < ARRAY_SIZE(mpi_request_sizes) && mpi_request_sizes[hdr->Functi...
static void mptsas_fetch_request(MPTSASState *s) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ MPIRequestHeader *hdr = (MPIRequestHeader *)req; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ int size; if (s->state != MPI_IOC_STATE_OPERATIONAL) { mptsas_set_fault(s, MPI_IOCSTATUS_VALID_STATE...
static void mptsas_fetch_request(MPTSASState *s) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ MPIRequestHeader *hdr = (MPIRequestHeader *)req; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ int size; addr = s->host_mfa_high_addr | MPTSAS_FIFO_GET(s, request_post); pci_dma_read(pci, addr, req, ...
static void mptsas_fetch_request(MPTSASState *s) { MPIRequestHeader *hdr = (MPIRequestHeader *)req; int size; - if (s->state != MPI_IOC_STATE_OPERATIONAL) { - mptsas_set_fault(s, MPI_IOCSTATUS_VALID_STATE); - return; - } addr = s->host_mfa_high_addr | MPTSAS_FIFO_GET(s, request_post)...
CVE-2016-4964
QEMU
https://github.com/qemu/qemu
hw/scsi/mptsas.c
mptsas_fetch_requests
static void mptsas_fetch_requests(void *opaque) { MPTSASState *s = opaque; while (!MPTSAS_FIFO_EMPTY(s, request_post)) { mptsas_fetch_request(s); } }
static void mptsas_fetch_requests(void *opaque) { MPTSASState *s = opaque; if (s->state != MPI_IOC_STATE_OPERATIONAL) { mptsas_set_fault(s, MPI_IOCSTATUS_VALID_STATE); return; } while (!MPTSAS_FIFO_EMPTY(s, request_post)) { mptsas_fetch_request(s); } }
static void mptsas_fetch_requests(void *opaque) { MPTSASState *s = opaque; while (!MPTSAS_FIFO_EMPTY(s, request_post)) { mptsas_fetch_request(s); } }
static void mptsas_fetch_requests(void *opaque) { MPTSASState *s = opaque; if (s->state != MPI_IOC_STATE_OPERATIONAL) { mptsas_set_fault(s, MPI_IOCSTATUS_VALID_STATE); return; } while (!MPTSAS_FIFO_EMPTY(s, request_post)) { mptsas_fetch_request(s); } }
static void mptsas_fetch_requests(void *opaque) { MPTSASState *s = opaque; while (!MPTSAS_FIFO_EMPTY(s, request_post)) { mptsas_fetch_request(s); } }
static void mptsas_fetch_requests(void *opaque) { MPTSASState *s = opaque; if (s->state != MPI_IOC_STATE_OPERATIONAL) { mptsas_set_fault(s, MPI_IOCSTATUS_VALID_STATE); return; } while (!MPTSAS_FIFO_EMPTY(s, request_post)) { mptsas_fetch_request(s); } }
static void mptsas_fetch_requests(void *opaque) { MPTSASState *s = opaque; while (!MPTSAS_FIFO_EMPTY(s, request_post)) { mptsas_fetch_request(s); } }
static void mptsas_fetch_requests(void *opaque) { MPTSASState *s = opaque; if (s->state != MPI_IOC_STATE_OPERATIONAL) { mptsas_set_fault(s, MPI_IOCSTATUS_VALID_STATE); return; } while (!MPTSAS_FIFO_EMPTY(s, request_post)) { mptsas_fetch_request(s); } }
static void mptsas_fetch_requests(void *opaque) { MPTSASState *s = opaque; + if (s->state != MPI_IOC_STATE_OPERATIONAL) { + mptsas_set_fault(s, MPI_IOCSTATUS_VALID_STATE); + return; + } while (!MPTSAS_FIFO_EMPTY(s, request_post)) { mptsas_fetch_request(s); } }
CVE-2016-5126
QEMU
https://github.com/qemu/qemu
block/iscsi.c
iscsi_aio_ioctl
static BlockAIOCB *iscsi_aio_ioctl(BlockDriverState *bs, unsigned long int req, void *buf, BlockCompletionFunc *cb, void *opaque) { IscsiLun *iscsilun = bs->opaque; struct iscsi_context *iscsi = iscsilun->iscsi; struct iscsi_data data; IscsiAIOCB *acb; acb = qemu_aio_get(&iscsi_aiocb_info, bs, cb, o...
static BlockAIOCB *iscsi_aio_ioctl(BlockDriverState *bs, unsigned long int req, void *buf, BlockCompletionFunc *cb, void *opaque) { IscsiLun *iscsilun = bs->opaque; struct iscsi_context *iscsi = iscsilun->iscsi; struct iscsi_data data; IscsiAIOCB *acb; acb = qemu_aio_get(&iscsi_aiocb_info, bs, cb, o...
static BlockAIOCB *iscsi_aio_ioctl(BlockDriverState *bs, unsigned long int req, void *buf, BlockCompletionFunc *cb, void *opaque) { IscsiLun *iscsilun = bs->opaque; struct iscsi_context *iscsi = iscsilun->iscsi; struct iscsi_data data; IscsiAIOCB *acb; acb = qemu_aio_get(&iscsi_aiocb_info, bs, cb, o...
static BlockAIOCB *iscsi_aio_ioctl(BlockDriverState *bs, unsigned long int req, void *buf, BlockCompletionFunc *cb, void *opaque) { IscsiLun *iscsilun = bs->opaque; struct iscsi_context *iscsi = iscsilun->iscsi; struct iscsi_data data; IscsiAIOCB *acb; acb = qemu_aio_get(&iscsi_aiocb_info, bs, cb, o...
static BlockAIOCB *iscsi_aio_ioctl(BlockDriverState *bs, unsigned long int req, void *buf, BlockCompletionFunc *cb, void *opaque) { acb = qemu_aio_get(&iscsi_aiocb_info, bs, cb, opaque); if (req != SG_IO) { return &acb->common; } acb->task = malloc(sizeof(struct scsi_task)); acb->task->cdb_s...
static BlockAIOCB *iscsi_aio_ioctl(BlockDriverState *bs, unsigned long int req, void *buf, BlockCompletionFunc *cb, void *opaque) { acb = qemu_aio_get(&iscsi_aiocb_info, bs, cb, opaque); if (req != SG_IO) { return &acb->common; } if (acb->ioh->cmd_len > SCSI_CDB_MAX_SIZE) { error_report(...
static BlockAIOCB *iscsi_aio_ioctl(BlockDriverState *bs, unsigned long int req, void *buf, BlockCompletionFunc *cb, void *opaque) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ acb = qemu_aio_get(&iscsi_aiocb_info, bs, cb, opaque); /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ if (req != SG_IO) { /...
static BlockAIOCB *iscsi_aio_ioctl(BlockDriverState *bs, unsigned long int req, void *buf, BlockCompletionFunc *cb, void *opaque) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ acb = qemu_aio_get(&iscsi_aiocb_info, bs, cb, opaque); /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ if (req != SG_IO) { /...
static BlockAIOCB *iscsi_aio_ioctl(BlockDriverState *bs, unsigned long int req, void *buf, BlockCompletionFunc *cb, void *opaque) { acb = qemu_aio_get(&iscsi_aiocb_info, bs, cb, opaque); if (req != SG_IO) { return &acb->common; + } + if (acb->ioh->cmd_len > SCSI_CDB_MAX_SIZE) { + error_...
CVE-2016-5337
QEMU
https://github.com/qemu/qemu
hw/scsi/megasas.c
megasas_ctrl_get_info
static int megasas_ctrl_get_info(MegasasState *s, MegasasCmd *cmd) { PCIDevice *pci_dev = PCI_DEVICE(s); PCIDeviceClass *pci_class = PCI_DEVICE_GET_CLASS(pci_dev); MegasasBaseClass *base_class = MEGASAS_DEVICE_GET_CLASS(s); struct mfi_ctrl_info info; size_t dcmd_size = sizeof(info); BusChild *ki...
static int megasas_ctrl_get_info(MegasasState *s, MegasasCmd *cmd) { PCIDevice *pci_dev = PCI_DEVICE(s); PCIDeviceClass *pci_class = PCI_DEVICE_GET_CLASS(pci_dev); MegasasBaseClass *base_class = MEGASAS_DEVICE_GET_CLASS(s); struct mfi_ctrl_info info; size_t dcmd_size = sizeof(info); BusChild *ki...
static int megasas_ctrl_get_info(MegasasState *s, MegasasCmd *cmd) { PCIDevice *pci_dev = PCI_DEVICE(s); PCIDeviceClass *pci_class = PCI_DEVICE_GET_CLASS(pci_dev); MegasasBaseClass *base_class = MEGASAS_DEVICE_GET_CLASS(s); struct mfi_ctrl_info info; size_t dcmd_size = sizeof(info); BusChild *ki...
static int megasas_ctrl_get_info(MegasasState *s, MegasasCmd *cmd) { PCIDevice *pci_dev = PCI_DEVICE(s); PCIDeviceClass *pci_class = PCI_DEVICE_GET_CLASS(pci_dev); MegasasBaseClass *base_class = MEGASAS_DEVICE_GET_CLASS(s); struct mfi_ctrl_info info; size_t dcmd_size = sizeof(info); BusChild *ki...
static int megasas_ctrl_get_info(MegasasState *s, MegasasCmd *cmd) { if (pci_dev->has_rom) { memcpy(biosver, ptr + 0x41, 31); memcpy(info.image_component[1].name, "BIOS", 4); memcpy(info.image_component[1].version, biosver, strlen((const char *)biosver)); } }
static int megasas_ctrl_get_info(MegasasState *s, MegasasCmd *cmd) { if (pci_dev->has_rom) { memcpy(biosver, ptr + 0x41, 31); biosver[31] = 0; memcpy(info.image_component[1].name, "BIOS", 4); memcpy(info.image_component[1].version, biosver, strlen((const char *)biosver)); } }
static int megasas_ctrl_get_info(MegasasState *s, MegasasCmd *cmd) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ if (pci_dev->has_rom) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ memcpy(biosver, ptr + 0x41, 31); memcpy(info.image_component[1].name, "BIOS", 4); memcpy(info.image...
static int megasas_ctrl_get_info(MegasasState *s, MegasasCmd *cmd) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ if (pci_dev->has_rom) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ memcpy(biosver, ptr + 0x41, 31); biosver[31] = 0; memcpy(info.image_component[1].name, "BIOS", 4); ...
static int megasas_ctrl_get_info(MegasasState *s, MegasasCmd *cmd) { if (pci_dev->has_rom) { memcpy(biosver, ptr + 0x41, 31); + biosver[31] = 0; memcpy(info.image_component[1].name, "BIOS", 4); memcpy(info.image_component[1].version, biosver, strlen((const char *)biosver)); ...
CVE-2016-5338
QEMU
https://github.com/qemu/qemu
hw/scsi/esp.c
esp_reg_read
uint64_t esp_reg_read(ESPState *s, uint32_t saddr) { uint32_t old_val; trace_esp_mem_readb(saddr, s->rregs[saddr]); switch (saddr) { case ESP_FIFO: if (s->ti_size > 0) { s->ti_size--; if ((s->rregs[ESP_RSTAT] & STAT_PIO_MASK) == 0) { qemu_log_mask(LOG_UNIM...
uint64_t esp_reg_read(ESPState *s, uint32_t saddr) { uint32_t old_val; trace_esp_mem_readb(saddr, s->rregs[saddr]); switch (saddr) { case ESP_FIFO: if ((s->rregs[ESP_RSTAT] & STAT_PIO_MASK) == 0) { qemu_log_mask(LOG_UNIMP, "esp: PIO data read not implemented\n"); s->rregs...
uint64_t esp_reg_read(ESPState *s, uint32_t saddr) { uint32_t old_val; trace_esp_mem_readb(saddr, s->rregs[saddr]); switch (saddr) { case ESP_FIFO: if (s->ti_size > 0) { s->ti_size--; if ((s->rregs[ESP_RSTAT] & STAT_PIO_MASK) == 0) { qemu_log_mask(LOG_UNIM...
uint64_t esp_reg_read(ESPState *s, uint32_t saddr) { uint32_t old_val; trace_esp_mem_readb(saddr, s->rregs[saddr]); switch (saddr) { case ESP_FIFO: if ((s->rregs[ESP_RSTAT] & STAT_PIO_MASK) == 0) { qemu_log_mask(LOG_UNIMP, "esp: PIO data read not implemented\n"); s->rregs...
uint64_t esp_reg_read(ESPState *s, uint32_t saddr) { switch (saddr) { case ESP_FIFO: if (s->ti_size > 0) { s->ti_size--; if ((s->rregs[ESP_RSTAT] & STAT_PIO_MASK) == 0) { s->rregs[ESP_FIFO] = 0; } else { s->rregs[ESP_FIFO] = s->ti_buf[s...
uint64_t esp_reg_read(ESPState *s, uint32_t saddr) { switch (saddr) { case ESP_FIFO: if ((s->rregs[ESP_RSTAT] & STAT_PIO_MASK) == 0) { s->rregs[ESP_FIFO] = 0; esp_raise_irq(s); } else if (s->ti_rptr < s->ti_wptr) { s->ti_size--; s->rregs[ESP_FIFO] ...
uint64_t esp_reg_read(ESPState *s, uint32_t saddr) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ switch (saddr) { case ESP_FIFO: if (s->ti_size > 0) { s->ti_size--; if ((s->rregs[ESP_RSTAT] & STAT_PIO_MASK) == 0) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ ...
uint64_t esp_reg_read(ESPState *s, uint32_t saddr) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ switch (saddr) { case ESP_FIFO: if ((s->rregs[ESP_RSTAT] & STAT_PIO_MASK) == 0) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ s->rregs[ESP_FIFO] = 0; esp_raise_irq(s); ...
uint64_t esp_reg_read(ESPState *s, uint32_t saddr) { switch (saddr) { case ESP_FIFO: - if (s->ti_size > 0) { + if ((s->rregs[ESP_RSTAT] & STAT_PIO_MASK) == 0) { + s->rregs[ESP_FIFO] = 0; + esp_raise_irq(s); + } else if (s->ti_rptr < s->ti_wptr) { s->ti_...
CVE-2016-5338
QEMU
https://github.com/qemu/qemu
hw/scsi/esp.c
esp_reg_write
void esp_reg_write(ESPState *s, uint32_t saddr, uint64_t val) { trace_esp_mem_writeb(saddr, s->wregs[saddr], val); switch (saddr) { case ESP_TCHI: s->tchi_written = true; case ESP_TCLO: case ESP_TCMID: s->rregs[ESP_RSTAT] &= ~STAT_TC; break; case ESP_FIFO: if (s->...
void esp_reg_write(ESPState *s, uint32_t saddr, uint64_t val) { trace_esp_mem_writeb(saddr, s->wregs[saddr], val); switch (saddr) { case ESP_TCHI: s->tchi_written = true; case ESP_TCLO: case ESP_TCMID: s->rregs[ESP_RSTAT] &= ~STAT_TC; break; case ESP_FIFO: if (s->...
void esp_reg_write(ESPState *s, uint32_t saddr, uint64_t val) { trace_esp_mem_writeb(saddr, s->wregs[saddr], val); switch (saddr) { case ESP_TCHI: s->tchi_written = true; case ESP_TCLO: case ESP_TCMID: s->rregs[ESP_RSTAT] &= ~STAT_TC; break; case ESP_FIFO: if (s->...
void esp_reg_write(ESPState *s, uint32_t saddr, uint64_t val) { trace_esp_mem_writeb(saddr, s->wregs[saddr], val); switch (saddr) { case ESP_TCHI: s->tchi_written = true; case ESP_TCLO: case ESP_TCMID: s->rregs[ESP_RSTAT] &= ~STAT_TC; break; case ESP_FIFO: if (s->...
void esp_reg_write(ESPState *s, uint32_t saddr, uint64_t val) { switch (saddr) { case ESP_FIFO: if (s->do_cmd) { } else if (s->ti_size == TI_BUFSZ - 1) { trace_esp_error_fifo_overrun(); } else { s->ti_size++; s->ti_buf[s->ti_wptr++] = val & 0xff; ...
void esp_reg_write(ESPState *s, uint32_t saddr, uint64_t val) { switch (saddr) { case ESP_FIFO: if (s->do_cmd) { } else if (s->ti_wptr == TI_BUFSZ - 1) { trace_esp_error_fifo_overrun(); } else { s->ti_size++; s->ti_buf[s->ti_wptr++] = val & 0xff; ...
void esp_reg_write(ESPState *s, uint32_t saddr, uint64_t val) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ switch (saddr) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ case ESP_FIFO: if (s->do_cmd) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ } else if (s->ti_size == TI_BUFSZ...
void esp_reg_write(ESPState *s, uint32_t saddr, uint64_t val) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ switch (saddr) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ case ESP_FIFO: if (s->do_cmd) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ } else if (s->ti_wptr == TI_BUFSZ...
void esp_reg_write(ESPState *s, uint32_t saddr, uint64_t val) { switch (saddr) { case ESP_FIFO: if (s->do_cmd) { - } else if (s->ti_size == TI_BUFSZ - 1) { + } else if (s->ti_wptr == TI_BUFSZ - 1) { trace_esp_error_fifo_overrun(); } else { s->ti_size+...
CVE-2016-5350
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-dcerpc-spoolss.c
dissect_spoolss_keybuffer
static int dissect_spoolss_keybuffer(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { guint32 size; int end_offset; if (di->conformant_run) { return offset; } offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_keybuffer_size, &...
static int dissect_spoolss_keybuffer(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { guint32 size; int end_offset; if (di->conformant_run) { return offset; } offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_keybuffer_size, &...
static int dissect_spoolss_keybuffer(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { guint32 size; int end_offset; if (di->conformant_run) { return offset; } offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_keybuffer_size, &...
static int dissect_spoolss_keybuffer(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { guint32 size; int end_offset; if (di->conformant_run) { return offset; } offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_keybuffer_size, &...
static int dissect_spoolss_keybuffer(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_keybuffer_size, &size); end_offset = offset + (size*2); if (end_offset < offset) { end_offset = tv...
static int dissect_spoolss_keybuffer(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_keybuffer_size, &size); end_offset = offset + (size*2); if (end_offset < offset) { end_offset = tv...
static int dissect_spoolss_keybuffer(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_keybuffer_size, &size); end_offset = offset + (size*2); ...
static int dissect_spoolss_keybuffer(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_keybuffer_size, &size); end_offset = offset + (size*2); ...
static int dissect_spoolss_keybuffer(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_keybuffer_size, &size); end_offset = offset + (size*2); if (end_offset < offset) { end_offset...
CVE-2016-5350
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-dcerpc-spoolss.c
dissect_spoolss_uint16uni
static int dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, char **data, int hf_name) { gint len, remaining; char *text; if (offset % 2) { offset += 2 - (offset % 2); } remaining = tvb_captured_length_remaining(tvb, offset); if (rem...
static int dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, char **data, int hf_name) { gint len, remaining; char *text; if (offset % 2) { offset += 2 - (offset % 2); } remaining = tvb_reported_length_remaining(tvb, offset); if (rem...
static int dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, char **data, const char *name) { gint len, remaining; char *text; if (offset % 2) { offset += 2 - (offset % 2); } remaining = tvb_length_remaining(tvb, offset); if (remaini...
static int dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, char **data, const char *name) { gint len, remaining; char *text; if (offset % 2) { offset += 2 - (offset % 2); } remaining = tvb_reported_length_remaining(tvb, offset); if...
static int dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, char **data, int hf_name) { if (offset % 2) { offset += 2 - (offset % 2); } remaining = tvb_captured_length_remaining(tvb, offset); if (remaining <= 0) { return offset; ...
static int dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, char **data, int hf_name) { if (offset % 2) { offset += 2 - (offset % 2); } remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { return offset; ...
static int dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, char **data, const char *name) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ if (offset % 2) { offset += 2 - (offset % 2); } remaining = tvb_length_remaining(tvb, offset); if...
static int dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, char **data, const char *name) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ if (offset % 2) { offset += 2 - (offset % 2); } remaining = tvb_reported_length_remaining(tvb, offset...
static int dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, char **data, int hf_name) { if (offset % 2) { offset += 2 - (offset % 2); } - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(...
CVE-2016-5352
Wireshark
https://github.com/wireshark/wireshark
epan/crypt/airpdcap.c
AirPDcapDecryptWPABroadcastKey
static T AirPDcapDecryptWPABroadcastKey(const EAPOL_RSN_KEY *pEAPKey, guint8 *decryption_key, PAIRPDCAP_SEC_ASSOCIATION sa, guint eapol_len) { guint8 key_version; guint8 *key_data; guint8 *szEncryptedKey; guint16 key_bytes_len = 0; guint16 key_len; static AIRPDCAP_KEY_ITEM dummy_key; AIRPDCA...
static T AirPDcapDecryptWPABroadcastKey(const EAPOL_RSN_KEY *pEAPKey, guint8 *decryption_key, PAIRPDCAP_SEC_ASSOCIATION sa, guint eapol_len) { guint8 key_version; guint8 *key_data; guint8 *szEncryptedKey; guint16 key_bytes_len = 0; guint16 key_len; static AIRPDCAP_KEY_ITEM dummy_key; AIRPDCA...
static T AirPDcapDecryptWPABroadcastKey(const EAPOL_RSN_KEY *pEAPKey, guint8 *decryption_key, PAIRPDCAP_SEC_ASSOCIATION sa, guint eapol_len) { guint8 key_version; guint8 *key_data; guint8 *szEncryptedKey; guint16 key_bytes_len = 0; guint16 key_len; static AIRPDCAP_KEY_ITEM dummy_key; AIRPDCA...
static T AirPDcapDecryptWPABroadcastKey(const EAPOL_RSN_KEY *pEAPKey, guint8 *decryption_key, PAIRPDCAP_SEC_ASSOCIATION sa, guint eapol_len) { guint8 key_version; guint8 *key_data; guint8 *szEncryptedKey; guint16 key_bytes_len = 0; guint16 key_len; static AIRPDCAP_KEY_ITEM dummy_key; AIRPDCA...
static T AirPDcapDecryptWPABroadcastKey(const EAPOL_RSN_KEY *pEAPKey, guint8 *decryption_key, PAIRPDCAP_SEC_ASSOCIATION sa, guint eapol_len) { guint16 key_bytes_len = 0; if (key_version == AIRPDCAP_WPA_KEY_VER_NOT_CCMP) { key_bytes_len = pntoh16(pEAPKey->key_length); } else if (key_version == AIRPDC...
static T AirPDcapDecryptWPABroadcastKey(const EAPOL_RSN_KEY *pEAPKey, guint8 *decryption_key, PAIRPDCAP_SEC_ASSOCIATION sa, guint eapol_len) { guint16 key_bytes_len = 0; if (key_version == AIRPDCAP_WPA_KEY_VER_NOT_CCMP) { key_bytes_len = pntoh16(pEAPKey->key_length); } else if (key_version == AIRPDC...
static T AirPDcapDecryptWPABroadcastKey(const EAPOL_RSN_KEY *pEAPKey, guint8 *decryption_key, PAIRPDCAP_SEC_ASSOCIATION sa, guint eapol_len) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ guint16 key_bytes_len = 0; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ if (key_version == AIRPDCAP_WPA_KEY_VER_NO...
static T AirPDcapDecryptWPABroadcastKey(const EAPOL_RSN_KEY *pEAPKey, guint8 *decryption_key, PAIRPDCAP_SEC_ASSOCIATION sa, guint eapol_len) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ guint16 key_bytes_len = 0; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ if (key_version == AIRPDCAP_WPA_KEY_VER_NO...
static T AirPDcapDecryptWPABroadcastKey(const EAPOL_RSN_KEY *pEAPKey, guint8 *decryption_key, PAIRPDCAP_SEC_ASSOCIATION sa, guint eapol_len) { guint16 key_bytes_len = 0; if (key_version == AIRPDCAP_WPA_KEY_VER_NOT_CCMP) { key_bytes_len = pntoh16(pEAPKey->key_length); } else if (key_version == A...
CVE-2016-5353
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-umts_fp.c
fp_set_per_packet_inf_from_conv
static fp_info * fp_set_per_packet_inf_from_conv(umts_fp_conversation_info_t *p_conv_data, tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree ) { fp_info *fpi; guint8 tfi, c_t; int offset = 0, i=0, j=0, num_tbs, chan, tb_size, tb_bit_off; gboolean is_control_frame; umts_mac_info *macinf; rlc_in...
static fp_info * fp_set_per_packet_inf_from_conv(umts_fp_conversation_info_t *p_conv_data, tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree ) { fp_info *fpi; guint8 tfi, c_t; int offset = 0, i=0, j=0, num_tbs, chan, tb_size, tb_bit_off; gboolean is_control_frame; umts_mac_info *macinf; rlc_in...
static fp_info * fp_set_per_packet_inf_from_conv(umts_fp_conversation_info_t *p_conv_data, tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree ) { fp_info *fpi; guint8 tfi, c_t; int offset = 0, i=0,j=0,num_tbs,chan,tb_size, tb_bit_off; gboolean is_control_frame; umts_mac_info *macinf; rlc_info *...
static fp_info * fp_set_per_packet_inf_from_conv(umts_fp_conversation_info_t *p_conv_data, tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree ) { fp_info *fpi; guint8 tfi, c_t; int offset = 0, i=0,j=0,num_tbs,chan,tb_size, tb_bit_off; gboolean is_control_frame; umts_mac_info *macinf; rlc_info *...
static fp_info * fp_set_per_packet_inf_from_conv(umts_fp_conversation_info_t *p_conv_data, tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree ) { int offset = 0, i=0, j=0, num_tbs, chan, tb_size, tb_bit_off; fpi = wmem_new0(wmem_file_scope(), fp_info); p_add_proto_data(wmem_file_scope(), pinfo, proto_fp, 0...
static fp_info * fp_set_per_packet_inf_from_conv(umts_fp_conversation_info_t *p_conv_data, tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree ) { int offset = 0, i=0, j=0, num_tbs, chan, tb_size, tb_bit_off; fpi = wmem_new0(wmem_file_scope(), fp_info); p_add_proto_data(wmem_file_scope(), pinfo, proto_fp, 0...
static fp_info * fp_set_per_packet_inf_from_conv(umts_fp_conversation_info_t *p_conv_data, tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree ) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ int offset = 0, i=0,j=0,num_tbs,chan,tb_size, tb_bit_off; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ fpi = w...
static fp_info * fp_set_per_packet_inf_from_conv(umts_fp_conversation_info_t *p_conv_data, tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree ) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ int offset = 0, i=0,j=0,num_tbs,chan,tb_size, tb_bit_off; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ fpi = w...
static fp_info * fp_set_per_packet_inf_from_conv(umts_fp_conversation_info_t *p_conv_data, tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree ) { int offset = 0, i=0, j=0, num_tbs, chan, tb_size, tb_bit_off; fpi = wmem_new0(wmem_file_scope(), fp_info); p_add_proto_data(wmem_file_scope(), pinfo, proto_f...
CVE-2016-5354
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-usb-masstorage.c
dissect_usb_ms_bulk
static int dissect_usb_ms_bulk(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data) { usb_conv_info_t *usb_conv_info; usb_ms_conv_info_t *usb_ms_conv_info; proto_tree *tree; proto_item *ti; guint32 signature=0; int offset=0; gboolean is_request; itl_nexus_t *itl; i...
static int dissect_usb_ms_bulk(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data) { usb_conv_info_t *usb_conv_info; usb_ms_conv_info_t *usb_ms_conv_info; proto_tree *tree; proto_item *ti; guint32 signature=0; int offset=0; gboolean is_request; itl_nexus_t *itl; i...
static int dissect_usb_ms_bulk(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data) { usb_conv_info_t *usb_conv_info; usb_ms_conv_info_t *usb_ms_conv_info; proto_tree *tree=NULL; guint32 signature=0; int offset=0; gboolean is_request; itl_nexus_t *itl; itlq_nexus_t *it...
static int dissect_usb_ms_bulk(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data) { usb_conv_info_t *usb_conv_info; usb_ms_conv_info_t *usb_ms_conv_info; proto_tree *tree=NULL; guint32 signature=0; int offset=0; gboolean is_request; itl_nexus_t *itl; itlq_nexus_t *it...
static int dissect_usb_ms_bulk(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data) { if (data == NULL) { return 0; } usb_conv_info = (usb_conv_info_t *)data; if(!usb_ms_conv_info) { usb_conv_info->class_data=usb_ms_conv_info; } is_request=(pinfo->srcport==NO_E...
static int dissect_usb_ms_bulk(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data) { if (data == NULL) { return 0; } usb_conv_info = (usb_conv_info_t *)data; if(!usb_ms_conv_info) { usb_conv_info->class_data=usb_ms_conv_info; usb_conv_info->class_data_type = U...
static int dissect_usb_ms_bulk(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ if (data == NULL) { return 0; } usb_conv_info = (usb_conv_info_t *)data; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ if(!usb_ms_conv_in...
static int dissect_usb_ms_bulk(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ if (data == NULL) { return 0; } usb_conv_info = (usb_conv_info_t *)data; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ if(!usb_ms_conv_in...
static int dissect_usb_ms_bulk(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data) { if (data == NULL) { return 0; } usb_conv_info = (usb_conv_info_t *)data; if(!usb_ms_conv_info) { usb_conv_info->class_data=usb_ms_conv_info; + usb_conv_info->class_data_...
CVE-2016-5354
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-usb-video.c
dissect_usb_video_control_interface_descriptor
static int dissect_usb_video_control_interface_descriptor(proto_tree *parent_tree, tvbuff_t *tvb, guint8 descriptor_len, packet_info *pinfo, usb_conv_info_t *usb_conv_info) { video_conv_info_t *video_conv_info = NULL; video_entity_t *entity = NULL; proto_item *item = NULL; proto_item *subtype_item = NUL...
static int dissect_usb_video_control_interface_descriptor(proto_tree *parent_tree, tvbuff_t *tvb, guint8 descriptor_len, packet_info *pinfo, usb_conv_info_t *usb_conv_info) { video_conv_info_t *video_conv_info = NULL; video_entity_t *entity = NULL; proto_item *item = NULL; proto_item *subtype_item = NUL...
static int dissect_usb_video_control_interface_descriptor(proto_tree *parent_tree, tvbuff_t *tvb, guint8 descriptor_len, packet_info *pinfo, usb_conv_info_t *usb_conv_info) { video_conv_info_t *video_conv_info = NULL; video_entity_t *entity = NULL; proto_item *item = NULL; proto_item *subtype_item = NUL...
static int dissect_usb_video_control_interface_descriptor(proto_tree *parent_tree, tvbuff_t *tvb, guint8 descriptor_len, packet_info *pinfo, usb_conv_info_t *usb_conv_info) { video_conv_info_t *video_conv_info = NULL; video_entity_t *entity = NULL; proto_item *item = NULL; proto_item *subtype_item = NUL...
static int dissect_usb_video_control_interface_descriptor(proto_tree *parent_tree, tvbuff_t *tvb, guint8 descriptor_len, packet_info *pinfo, usb_conv_info_t *usb_conv_info) { proto_item *item = NULL; proto_tree *tree = NULL; int offset = 0; subtype = tvb_get_guint8(tvb, offset+2); if (parent_tree) {...
static int dissect_usb_video_control_interface_descriptor(proto_tree *parent_tree, tvbuff_t *tvb, guint8 descriptor_len, packet_info *pinfo, usb_conv_info_t *usb_conv_info) { proto_item *item = NULL; proto_tree *tree = NULL; int offset = 0; subtype = tvb_get_guint8(tvb, offset+2); if (parent_tree) {...
static int dissect_usb_video_control_interface_descriptor(proto_tree *parent_tree, tvbuff_t *tvb, guint8 descriptor_len, packet_info *pinfo, usb_conv_info_t *usb_conv_info) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ proto_item *item = NULL; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ proto_tree *...
static int dissect_usb_video_control_interface_descriptor(proto_tree *parent_tree, tvbuff_t *tvb, guint8 descriptor_len, packet_info *pinfo, usb_conv_info_t *usb_conv_info) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ proto_item *item = NULL; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ proto_tree *...
static int dissect_usb_video_control_interface_descriptor(proto_tree *parent_tree, tvbuff_t *tvb, guint8 descriptor_len, packet_info *pinfo, usb_conv_info_t *usb_conv_info) { proto_item *item = NULL; proto_tree *tree = NULL; int offset = 0; subtype = tvb_get_guint8(tvb, offset+2); if (parent_t...
CVE-2016-5355
Wireshark
https://github.com/wireshark/wireshark
wiretap/netscreen.c
netscreen_read
static gboolean netscreen_read(wtap *wth, int *err, gchar **err_info, gint64 *data_offset) { gint64 offset; int pkt_len; char line[NETSCREEN_LE_LENGTH]; char cap_int[NETSCREEN_MAX_T_NAME_LENGTH]; gboolean cap_dir; char cap_dst[13]; offset = netscreen_seek_next_packet(wth, err, err_info, line...
static gboolean netscreen_read(wtap *wth, int *err, gchar **err_info, gint64 *data_offset) { gint64 offset; char line[NETSCREEN_LE_LENGTH]; offset = netscreen_seek_next_packet(wth, err, err_info, line); if (offset < 0) { return FALSE; } if (!parse_netscreen_packet(wth->fh, &wth->phdr, wt...
static gboolean netscreen_read(wtap *wth, int *err, gchar **err_info, gint64 *data_offset) { gint64 offset; int pkt_len; char line[NETSCREEN_LE_LENGTH]; char cap_int[NETSCREEN_MAX_T_NAME_LENGTH]; gboolean cap_dir; char cap_dst[13]; offset = netscreen_seek_next_packet(wth, err, err_info, line...
static gboolean netscreen_read(wtap *wth, int *err, gchar **err_info, gint64 *data_offset) { gint64 offset; char line[NETSCREEN_LE_LENGTH]; offset = netscreen_seek_next_packet(wth, err, err_info, line); if (offset < 0) { return FALSE; } if (!parse_netscreen_packet(wth->fh, &wth->phdr, wt...
static gboolean netscreen_read(wtap *wth, int *err, gchar **err_info, gint64 *data_offset) { gint64 offset; int pkt_len; char line[NETSCREEN_LE_LENGTH]; char cap_int[NETSCREEN_MAX_T_NAME_LENGTH]; gboolean cap_dir; char cap_dst[13]; offset = netscreen_seek_next_packet(wth, err, err_info, line...
static gboolean netscreen_read(wtap *wth, int *err, gchar **err_info, gint64 *data_offset) { gint64 offset; char line[NETSCREEN_LE_LENGTH]; offset = netscreen_seek_next_packet(wth, err, err_info, line); if (offset < 0) { return FALSE; } if (!parse_netscreen_packet(wth->fh, &wth->phdr, wt...
static gboolean netscreen_read(wtap *wth, int *err, gchar **err_info, gint64 *data_offset) { gint64 offset; int pkt_len; char line[NETSCREEN_LE_LENGTH]; char cap_int[NETSCREEN_MAX_T_NAME_LENGTH]; gboolean cap_dir; char cap_dst[13]; offset = netscreen_seek_next_packet(wth, err, err_info, line...
static gboolean netscreen_read(wtap *wth, int *err, gchar **err_info, gint64 *data_offset) { gint64 offset; char line[NETSCREEN_LE_LENGTH]; offset = netscreen_seek_next_packet(wth, err, err_info, line); if (offset < 0) { return FALSE; } if (!parse_netscreen_packet(wth->fh, &wth->phdr, wt...
static gboolean netscreen_read(wtap *wth, int *err, gchar **err_info, gint64 *data_offset) { gint64 offset; - int pkt_len; char line[NETSCREEN_LE_LENGTH]; - char cap_int[NETSCREEN_MAX_T_NAME_LENGTH]; - gboolean cap_dir; - char cap_dst[13]; offset = netscreen_seek_next_packet(wth, err, err_in...
CVE-2016-5355
Wireshark
https://github.com/wireshark/wireshark
wiretap/netscreen.c
netscreen_seek_read
static gboolean netscreen_seek_read(wtap *wth, gint64 seek_off, struct wtap_pkthdr *phdr, Buffer *buf, int *err, gchar **err_info) { int pkt_len; char line[NETSCREEN_LE_LENGTH]; char cap_int[NETSCREEN_MAX_T_NAME_LENGTH]; gboolean cap_dir; char cap_dst[13]; if (file_seek(wth->random_fh, seek_off,...
static gboolean netscreen_seek_read(wtap *wth, gint64 seek_off, struct wtap_pkthdr *phdr, Buffer *buf, int *err, gchar **err_info) { char line[NETSCREEN_LE_LENGTH]; if (file_seek(wth->random_fh, seek_off, SEEK_SET, err) == -1) { return FALSE; } if (file_gets(line, NETSCREEN_LE_LENGTH, wth->rando...
static gboolean netscreen_seek_read(wtap *wth, gint64 seek_off, struct wtap_pkthdr *phdr, Buffer *buf, int *err, gchar **err_info) { int pkt_len; char line[NETSCREEN_LE_LENGTH]; char cap_int[NETSCREEN_MAX_T_NAME_LENGTH]; gboolean cap_dir; char cap_dst[13]; if (file_seek(wth->random_fh, seek_off,...
static gboolean netscreen_seek_read(wtap *wth, gint64 seek_off, struct wtap_pkthdr *phdr, Buffer *buf, int *err, gchar **err_info) { char line[NETSCREEN_LE_LENGTH]; if (file_seek(wth->random_fh, seek_off, SEEK_SET, err) == -1) { return FALSE; } if (file_gets(line, NETSCREEN_LE_LENGTH, wth->rando...
static gboolean netscreen_seek_read(wtap *wth, gint64 seek_off, struct wtap_pkthdr *phdr, Buffer *buf, int *err, gchar **err_info) { int pkt_len; char line[NETSCREEN_LE_LENGTH]; char cap_int[NETSCREEN_MAX_T_NAME_LENGTH]; gboolean cap_dir; char cap_dst[13]; if (file_seek(wth->random_fh, seek_off,...
static gboolean netscreen_seek_read(wtap *wth, gint64 seek_off, struct wtap_pkthdr *phdr, Buffer *buf, int *err, gchar **err_info) { char line[NETSCREEN_LE_LENGTH]; if (file_seek(wth->random_fh, seek_off, SEEK_SET, err) == -1) { return FALSE; } if (file_gets(line, NETSCREEN_LE_LENGTH, wth->rando...
static gboolean netscreen_seek_read(wtap *wth, gint64 seek_off, struct wtap_pkthdr *phdr, Buffer *buf, int *err, gchar **err_info) { int pkt_len; char line[NETSCREEN_LE_LENGTH]; char cap_int[NETSCREEN_MAX_T_NAME_LENGTH]; gboolean cap_dir; char cap_dst[13]; if (file_seek(wth->random_fh, seek_off,...
static gboolean netscreen_seek_read(wtap *wth, gint64 seek_off, struct wtap_pkthdr *phdr, Buffer *buf, int *err, gchar **err_info) { char line[NETSCREEN_LE_LENGTH]; if (file_seek(wth->random_fh, seek_off, SEEK_SET, err) == -1) { return FALSE; } if (file_gets(line, NETSCREEN_LE_LENGTH, wth->rando...
static gboolean netscreen_seek_read(wtap *wth, gint64 seek_off, struct wtap_pkthdr *phdr, Buffer *buf, int *err, gchar **err_info) { - int pkt_len; char line[NETSCREEN_LE_LENGTH]; - char cap_int[NETSCREEN_MAX_T_NAME_LENGTH]; - gboolean cap_dir; - char cap_dst[13]; if (file_seek(wth->random_fh, se...
CVE-2016-5356
Wireshark
https://github.com/wireshark/wireshark
wiretap/netscreen.c
netscreen_read
static gboolean netscreen_read(wtap *wth, int *err, gchar **err_info, gint64 *data_offset) { gint64 offset; int pkt_len; char line[NETSCREEN_LE_LENGTH]; char cap_int[NETSCREEN_MAX_T_NAME_LENGTH]; gboolean cap_dir; char cap_dst[13]; offset = netscreen_seek_next_packet(wth, err, err_info, line...
static gboolean netscreen_read(wtap *wth, int *err, gchar **err_info, gint64 *data_offset) { gint64 offset; char line[NETSCREEN_LE_LENGTH]; offset = netscreen_seek_next_packet(wth, err, err_info, line); if (offset < 0) { return FALSE; } if (!parse_netscreen_packet(wth->fh, &wth->phdr, wt...
static gboolean netscreen_read(wtap *wth, int *err, gchar **err_info, gint64 *data_offset) { gint64 offset; int pkt_len; char line[NETSCREEN_LE_LENGTH]; char cap_int[NETSCREEN_MAX_T_NAME_LENGTH]; gboolean cap_dir; char cap_dst[13]; offset = netscreen_seek_next_packet(wth, err, err_info, line...
static gboolean netscreen_read(wtap *wth, int *err, gchar **err_info, gint64 *data_offset) { gint64 offset; char line[NETSCREEN_LE_LENGTH]; offset = netscreen_seek_next_packet(wth, err, err_info, line); if (offset < 0) { return FALSE; } if (!parse_netscreen_packet(wth->fh, &wth->phdr, wt...
static gboolean netscreen_read(wtap *wth, int *err, gchar **err_info, gint64 *data_offset) { gint64 offset; int pkt_len; char line[NETSCREEN_LE_LENGTH]; char cap_int[NETSCREEN_MAX_T_NAME_LENGTH]; gboolean cap_dir; char cap_dst[13]; offset = netscreen_seek_next_packet(wth, err, err_info, line...
static gboolean netscreen_read(wtap *wth, int *err, gchar **err_info, gint64 *data_offset) { gint64 offset; char line[NETSCREEN_LE_LENGTH]; offset = netscreen_seek_next_packet(wth, err, err_info, line); if (offset < 0) { return FALSE; } if (!parse_netscreen_packet(wth->fh, &wth->phdr, wt...
static gboolean netscreen_read(wtap *wth, int *err, gchar **err_info, gint64 *data_offset) { gint64 offset; int pkt_len; char line[NETSCREEN_LE_LENGTH]; char cap_int[NETSCREEN_MAX_T_NAME_LENGTH]; gboolean cap_dir; char cap_dst[13]; offset = netscreen_seek_next_packet(wth, err, err_info, line...
static gboolean netscreen_read(wtap *wth, int *err, gchar **err_info, gint64 *data_offset) { gint64 offset; char line[NETSCREEN_LE_LENGTH]; offset = netscreen_seek_next_packet(wth, err, err_info, line); if (offset < 0) { return FALSE; } if (!parse_netscreen_packet(wth->fh, &wth->phdr, wt...
static gboolean netscreen_read(wtap *wth, int *err, gchar **err_info, gint64 *data_offset) { gint64 offset; - int pkt_len; char line[NETSCREEN_LE_LENGTH]; - char cap_int[NETSCREEN_MAX_T_NAME_LENGTH]; - gboolean cap_dir; - char cap_dst[13]; offset = netscreen_seek_next_packet(wth, err, err_in...
CVE-2016-5356
Wireshark
https://github.com/wireshark/wireshark
wiretap/netscreen.c
netscreen_seek_read
static gboolean netscreen_seek_read(wtap *wth, gint64 seek_off, struct wtap_pkthdr *phdr, Buffer *buf, int *err, gchar **err_info) { int pkt_len; char line[NETSCREEN_LE_LENGTH]; char cap_int[NETSCREEN_MAX_T_NAME_LENGTH]; gboolean cap_dir; char cap_dst[13]; if (file_seek(wth->random_fh, seek_off,...
static gboolean netscreen_seek_read(wtap *wth, gint64 seek_off, struct wtap_pkthdr *phdr, Buffer *buf, int *err, gchar **err_info) { char line[NETSCREEN_LE_LENGTH]; if (file_seek(wth->random_fh, seek_off, SEEK_SET, err) == -1) { return FALSE; } if (file_gets(line, NETSCREEN_LE_LENGTH, wth->rando...
static gboolean netscreen_seek_read(wtap *wth, gint64 seek_off, struct wtap_pkthdr *phdr, Buffer *buf, int *err, gchar **err_info) { int pkt_len; char line[NETSCREEN_LE_LENGTH]; char cap_int[NETSCREEN_MAX_T_NAME_LENGTH]; gboolean cap_dir; char cap_dst[13]; if (file_seek(wth->random_fh, seek_off,...
static gboolean netscreen_seek_read(wtap *wth, gint64 seek_off, struct wtap_pkthdr *phdr, Buffer *buf, int *err, gchar **err_info) { char line[NETSCREEN_LE_LENGTH]; if (file_seek(wth->random_fh, seek_off, SEEK_SET, err) == -1) { return FALSE; } if (file_gets(line, NETSCREEN_LE_LENGTH, wth->rando...
static gboolean netscreen_seek_read(wtap *wth, gint64 seek_off, struct wtap_pkthdr *phdr, Buffer *buf, int *err, gchar **err_info) { int pkt_len; char line[NETSCREEN_LE_LENGTH]; char cap_int[NETSCREEN_MAX_T_NAME_LENGTH]; gboolean cap_dir; char cap_dst[13]; if (file_seek(wth->random_fh, seek_off,...
static gboolean netscreen_seek_read(wtap *wth, gint64 seek_off, struct wtap_pkthdr *phdr, Buffer *buf, int *err, gchar **err_info) { char line[NETSCREEN_LE_LENGTH]; if (file_seek(wth->random_fh, seek_off, SEEK_SET, err) == -1) { return FALSE; } if (file_gets(line, NETSCREEN_LE_LENGTH, wth->rando...
static gboolean netscreen_seek_read(wtap *wth, gint64 seek_off, struct wtap_pkthdr *phdr, Buffer *buf, int *err, gchar **err_info) { int pkt_len; char line[NETSCREEN_LE_LENGTH]; char cap_int[NETSCREEN_MAX_T_NAME_LENGTH]; gboolean cap_dir; char cap_dst[13]; if (file_seek(wth->random_fh, seek_off,...
static gboolean netscreen_seek_read(wtap *wth, gint64 seek_off, struct wtap_pkthdr *phdr, Buffer *buf, int *err, gchar **err_info) { char line[NETSCREEN_LE_LENGTH]; if (file_seek(wth->random_fh, seek_off, SEEK_SET, err) == -1) { return FALSE; } if (file_gets(line, NETSCREEN_LE_LENGTH, wth->rando...
static gboolean netscreen_seek_read(wtap *wth, gint64 seek_off, struct wtap_pkthdr *phdr, Buffer *buf, int *err, gchar **err_info) { - int pkt_len; char line[NETSCREEN_LE_LENGTH]; - char cap_int[NETSCREEN_MAX_T_NAME_LENGTH]; - gboolean cap_dir; - char cap_dst[13]; if (file_seek(wth->random_fh, se...
CVE-2016-5359
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-wbxml.c
parse_wbxml_attribute_list
static guint32 parse_wbxml_attribute_list (proto_tree *tree, tvbuff_t *tvb, guint32 offset, guint32 str_tbl, guint8 level, guint8 *codepage_attr) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off = offset; guint32 len; guint str_len; guint32 ent; guint32 idx; guint8 peek; DebugL...
static guint32 parse_wbxml_attribute_list (proto_tree *tree, tvbuff_t *tvb, guint32 offset, guint32 str_tbl, guint8 level, guint8 *codepage_attr) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off = offset, last_off; guint32 len; guint str_len; guint32 ent; guint32 idx; guint8 peek; ...
static guint32 parse_wbxml_attribute_list (proto_tree *tree, tvbuff_t *tvb, guint32 offset, guint32 str_tbl, guint8 level, guint8 *codepage_attr) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off = offset; guint32 len; guint str_len; guint32 ent; guint32 idx; guint8 peek; DebugL...
static guint32 parse_wbxml_attribute_list (proto_tree *tree, tvbuff_t *tvb, guint32 offset, guint32 str_tbl, guint8 level, guint8 *codepage_attr) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off = offset, last_off; guint32 len; guint str_len; guint32 ent; guint32 idx; guint8 peek; ...
static guint32 parse_wbxml_attribute_list (proto_tree *tree, tvbuff_t *tvb, guint32 offset, guint32 str_tbl, guint8 level, guint8 *codepage_attr) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off = offset; guint32 len; DebugLog(("parse_wbxml_attr (level = %u, offset = %u)\n", level, offset)); ...
static guint32 parse_wbxml_attribute_list (proto_tree *tree, tvbuff_t *tvb, guint32 offset, guint32 str_tbl, guint8 level, guint8 *codepage_attr) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off = offset, last_off; guint32 len; DebugLog(("parse_wbxml_attr (level = %u, offset = %u)\n", level, o...
static guint32 parse_wbxml_attribute_list (proto_tree *tree, tvbuff_t *tvb, guint32 offset, guint32 str_tbl, guint8 level, guint8 *codepage_attr) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off = offset; guint32 len; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ DebugLog(("parse_wbxml_att...
static guint32 parse_wbxml_attribute_list (proto_tree *tree, tvbuff_t *tvb, guint32 offset, guint32 str_tbl, guint8 level, guint8 *codepage_attr) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off = offset, last_off; guint32 len; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ DebugLog(("parse...
static guint32 parse_wbxml_attribute_list (proto_tree *tree, tvbuff_t *tvb, guint32 offset, guint32 str_tbl, guint8 level, guint8 *codepage_attr) { guint32 tvb_len = tvb_reported_length (tvb); - guint32 off = offset; + guint32 off = offset, last_off; guint32 len; DebugLog(("parse_wbxml_attr (level...
CVE-2016-5359
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-wbxml.c
parse_wbxml_attribute_list_defined
static guint32 parse_wbxml_attribute_list_defined (proto_tree *tree, tvbuff_t *tvb, guint32 offset, guint32 str_tbl, guint8 level, guint8 *codepage_attr, const wbxml_decoding *map) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off = offset; guint32 len; guint str_len; guint32 ent; guint...
static guint32 parse_wbxml_attribute_list_defined (proto_tree *tree, tvbuff_t *tvb, guint32 offset, guint32 str_tbl, guint8 level, guint8 *codepage_attr, const wbxml_decoding *map) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off = offset, last_off; guint32 len; guint str_len; guint32 ent;...
static guint32 parse_wbxml_attribute_list_defined (proto_tree *tree, tvbuff_t *tvb, guint32 offset, guint32 str_tbl, guint8 level, guint8 *codepage_attr, const wbxml_decoding *map) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off = offset; guint32 len; guint str_len; guint32 ent; guint...
static guint32 parse_wbxml_attribute_list_defined (proto_tree *tree, tvbuff_t *tvb, guint32 offset, guint32 str_tbl, guint8 level, guint8 *codepage_attr, const wbxml_decoding *map) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off = offset, last_off; guint32 len; guint str_len; guint32 ent;...
static guint32 parse_wbxml_attribute_list_defined (proto_tree *tree, tvbuff_t *tvb, guint32 offset, guint32 str_tbl, guint8 level, guint8 *codepage_attr, const wbxml_decoding *map) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off = offset; guint32 len; guint8 attr_save_known = 0; const cha...
static guint32 parse_wbxml_attribute_list_defined (proto_tree *tree, tvbuff_t *tvb, guint32 offset, guint32 str_tbl, guint8 level, guint8 *codepage_attr, const wbxml_decoding *map) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off = offset, last_off; guint32 len; guint8 attr_save_known = 0; ...
static guint32 parse_wbxml_attribute_list_defined (proto_tree *tree, tvbuff_t *tvb, guint32 offset, guint32 str_tbl, guint8 level, guint8 *codepage_attr, const wbxml_decoding *map) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off = offset; guint32 len; /* PLACEHOLDER: DO NOT DELETE THIS COMMEN...
static guint32 parse_wbxml_attribute_list_defined (proto_tree *tree, tvbuff_t *tvb, guint32 offset, guint32 str_tbl, guint8 level, guint8 *codepage_attr, const wbxml_decoding *map) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off = offset, last_off; guint32 len; /* PLACEHOLDER: DO NOT DELETE T...
static guint32 parse_wbxml_attribute_list_defined (proto_tree *tree, tvbuff_t *tvb, guint32 offset, guint32 str_tbl, guint8 level, guint8 *codepage_attr, const wbxml_decoding *map) { guint32 tvb_len = tvb_reported_length (tvb); - guint32 off = offset; + guint32 off = offset, last_off; guint32 len; ...
CVE-2016-5359
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-wbxml.c
parse_wbxml_tag
static guint32 parse_wbxml_tag (proto_tree *tree, tvbuff_t *tvb, guint32 offset, guint32 str_tbl, guint8 *level, guint8 *codepage_stag, guint8 *codepage_attr) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off = offset; guint32 len; guint str_len; guint32 ent; guint32 idx; guint8 pee...
static guint32 parse_wbxml_tag (proto_tree *tree, tvbuff_t *tvb, guint32 offset, guint32 str_tbl, guint8 *level, guint8 *codepage_stag, guint8 *codepage_attr) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off = offset, last_off; guint32 len; guint str_len; guint32 ent; guint32 idx; ...
static guint32 parse_wbxml_tag (proto_tree *tree, tvbuff_t *tvb, guint32 offset, guint32 str_tbl, guint8 *level, guint8 *codepage_stag, guint8 *codepage_attr) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off = offset; guint32 len; guint str_len; guint32 ent; guint32 idx; guint8 pee...
static guint32 parse_wbxml_tag (proto_tree *tree, tvbuff_t *tvb, guint32 offset, guint32 str_tbl, guint8 *level, guint8 *codepage_stag, guint8 *codepage_attr) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off = offset, last_off; guint32 len; guint str_len; guint32 ent; guint32 idx; ...
static guint32 parse_wbxml_tag (proto_tree *tree, tvbuff_t *tvb, guint32 offset, guint32 str_tbl, guint8 *level, guint8 *codepage_stag, guint8 *codepage_attr) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off = offset; guint32 len; guint8 tag_save_known = 0; DebugLog(("parse_wbxml_tag (leve...
static guint32 parse_wbxml_tag (proto_tree *tree, tvbuff_t *tvb, guint32 offset, guint32 str_tbl, guint8 *level, guint8 *codepage_stag, guint8 *codepage_attr) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off = offset, last_off; guint32 len; guint8 tag_save_known = 0; DebugLog(("parse_wbxml...
static guint32 parse_wbxml_tag (proto_tree *tree, tvbuff_t *tvb, guint32 offset, guint32 str_tbl, guint8 *level, guint8 *codepage_stag, guint8 *codepage_attr) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off = offset; guint32 len; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ guint8 tag_sa...
static guint32 parse_wbxml_tag (proto_tree *tree, tvbuff_t *tvb, guint32 offset, guint32 str_tbl, guint8 *level, guint8 *codepage_stag, guint8 *codepage_attr) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off = offset, last_off; guint32 len; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ gui...
static guint32 parse_wbxml_tag (proto_tree *tree, tvbuff_t *tvb, guint32 offset, guint32 str_tbl, guint8 *level, guint8 *codepage_stag, guint8 *codepage_attr) { guint32 tvb_len = tvb_reported_length (tvb); - guint32 off = offset; + guint32 off = offset, last_off; guint32 len; guint8 tag_save_known...
CVE-2016-5359
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-wbxml.c
parse_wbxml_tag_defined
static guint32 parse_wbxml_tag_defined (proto_tree *tree, tvbuff_t *tvb, guint32 offset, guint32 str_tbl, guint8 *level, guint8 *codepage_stag, guint8 *codepage_attr, const wbxml_decoding *map) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off = offset; guint32 len; guint str_len; guint32 e...
static guint32 parse_wbxml_tag_defined (proto_tree *tree, tvbuff_t *tvb, guint32 offset, guint32 str_tbl, guint8 *level, guint8 *codepage_stag, guint8 *codepage_attr, const wbxml_decoding *map) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off = offset, last_off; guint32 len; guint str_len; ...
static guint32 parse_wbxml_tag_defined (proto_tree *tree, tvbuff_t *tvb, guint32 offset, guint32 str_tbl, guint8 *level, guint8 *codepage_stag, guint8 *codepage_attr, const wbxml_decoding *map) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off = offset; guint32 len; guint str_len; guint32 e...
static guint32 parse_wbxml_tag_defined (proto_tree *tree, tvbuff_t *tvb, guint32 offset, guint32 str_tbl, guint8 *level, guint8 *codepage_stag, guint8 *codepage_attr, const wbxml_decoding *map) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off = offset, last_off; guint32 len; guint str_len; ...
static guint32 parse_wbxml_tag_defined (proto_tree *tree, tvbuff_t *tvb, guint32 offset, guint32 str_tbl, guint8 *level, guint8 *codepage_stag, guint8 *codepage_attr, const wbxml_decoding *map) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off = offset; guint32 len; guint8 tag_save_known = 0; ...
static guint32 parse_wbxml_tag_defined (proto_tree *tree, tvbuff_t *tvb, guint32 offset, guint32 str_tbl, guint8 *level, guint8 *codepage_stag, guint8 *codepage_attr, const wbxml_decoding *map) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off = offset, last_off; guint32 len; guint8 tag_save_kn...
static guint32 parse_wbxml_tag_defined (proto_tree *tree, tvbuff_t *tvb, guint32 offset, guint32 str_tbl, guint8 *level, guint8 *codepage_stag, guint8 *codepage_attr, const wbxml_decoding *map) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off = offset; guint32 len; /* PLACEHOLDER: DO NOT DELET...
static guint32 parse_wbxml_tag_defined (proto_tree *tree, tvbuff_t *tvb, guint32 offset, guint32 str_tbl, guint8 *level, guint8 *codepage_stag, guint8 *codepage_attr, const wbxml_decoding *map) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off = offset, last_off; guint32 len; /* PLACEHOLDER: DO...
static guint32 parse_wbxml_tag_defined (proto_tree *tree, tvbuff_t *tvb, guint32 offset, guint32 str_tbl, guint8 *level, guint8 *codepage_stag, guint8 *codepage_attr, const wbxml_decoding *map) { guint32 tvb_len = tvb_reported_length (tvb); - guint32 off = offset; + guint32 off = offset, last_off; guin...
CVE-2016-5403
QEMU
https://github.com/qemu/qemu
hw/virtio/virtio.c
virtqueue_pop
void *virtqueue_pop(VirtQueue *vq, size_t sz) { unsigned int i, head, max; hwaddr desc_pa = vq->vring.desc; VirtIODevice *vdev = vq->vdev; VirtQueueElement *elem; unsigned out_num, in_num; hwaddr addr[VIRTQUEUE_MAX_SIZE]; struct iovec iov[VIRTQUEUE_MAX_SIZE]; VRingDesc desc; if (virt...
void *virtqueue_pop(VirtQueue *vq, size_t sz) { unsigned int i, head, max; hwaddr desc_pa = vq->vring.desc; VirtIODevice *vdev = vq->vdev; VirtQueueElement *elem; unsigned out_num, in_num; hwaddr addr[VIRTQUEUE_MAX_SIZE]; struct iovec iov[VIRTQUEUE_MAX_SIZE]; VRingDesc desc; if (virt...
void *virtqueue_pop(VirtQueue *vq, size_t sz) { unsigned int i, head, max; hwaddr desc_pa = vq->vring.desc; VirtIODevice *vdev = vq->vdev; VirtQueueElement *elem; unsigned out_num, in_num; hwaddr addr[VIRTQUEUE_MAX_SIZE]; struct iovec iov[VIRTQUEUE_MAX_SIZE]; VRingDesc desc; if (virt...
void *virtqueue_pop(VirtQueue *vq, size_t sz) { unsigned int i, head, max; hwaddr desc_pa = vq->vring.desc; VirtIODevice *vdev = vq->vdev; VirtQueueElement *elem; unsigned out_num, in_num; hwaddr addr[VIRTQUEUE_MAX_SIZE]; struct iovec iov[VIRTQUEUE_MAX_SIZE]; VRingDesc desc; if (virt...
void *virtqueue_pop(VirtQueue *vq, size_t sz) { if (virtio_queue_empty(vq)) { return NULL; } max = vq->vring.num; i = head = virtqueue_get_head(vq, vq->last_avail_idx++); if (virtio_vdev_has_feature(vdev, VIRTIO_RG_F_EVENT_IDX)) { vring_set_avail_event(vq, vq->last_avail_idx); } ...
void *virtqueue_pop(VirtQueue *vq, size_t sz) { if (virtio_queue_empty(vq)) { return NULL; } max = vq->vring.num; if (vq->inuse >= vq->vring.num) { error_report("Virtqueue size exceeded"); exit(1); } i = head = virtqueue_get_head(vq, vq->last_avail_idx++); if (virtio_...
void *virtqueue_pop(VirtQueue *vq, size_t sz) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ if (virtio_queue_empty(vq)) { return NULL; } /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ max = vq->vring.num; i = head = virtqueue_get_head(vq, vq->last_avail_idx++); if (virtio_vdev_has_f...
void *virtqueue_pop(VirtQueue *vq, size_t sz) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ if (virtio_queue_empty(vq)) { return NULL; } /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ max = vq->vring.num; if (vq->inuse >= vq->vring.num) { error_report("Virtqueue size exceeded");...
void *virtqueue_pop(VirtQueue *vq, size_t sz) { if (virtio_queue_empty(vq)) { return NULL; } max = vq->vring.num; + if (vq->inuse >= vq->vring.num) { + error_report("Virtqueue size exceeded"); + exit(1); + } i = head = virtqueue_get_head(vq, vq->last_avail_idx++); ...
CVE-2016-6164
FFmpeg
https://github.com/FFmpeg/FFmpeg
libavformat/mov.c
mov_build_index
static void mov_build_index(MOVContext *mov, AVStream *st) { MOVStreamContext *sc = st->priv_data; int64_t current_offset; int64_t current_dts = 0; unsigned int stts_index = 0; unsigned int stsc_index = 0; unsigned int stss_index = 0; unsigned int stps_index = 0; unsigned int i, j; u...
static void mov_build_index(MOVContext *mov, AVStream *st) { MOVStreamContext *sc = st->priv_data; int64_t current_offset; int64_t current_dts = 0; unsigned int stts_index = 0; unsigned int stsc_index = 0; unsigned int stss_index = 0; unsigned int stps_index = 0; unsigned int i, j; u...
static void mov_build_index(MOVContext *mov, AVStream *st) { MOVStreamContext *sc = st->priv_data; int64_t current_offset; int64_t current_dts = 0; unsigned int stts_index = 0; unsigned int stsc_index = 0; unsigned int stss_index = 0; unsigned int stps_index = 0; unsigned int i, j; u...
static void mov_build_index(MOVContext *mov, AVStream *st) { MOVStreamContext *sc = st->priv_data; int64_t current_offset; int64_t current_dts = 0; unsigned int stts_index = 0; unsigned int stsc_index = 0; unsigned int stss_index = 0; unsigned int stps_index = 0; unsigned int i, j; u...
static void mov_build_index(MOVContext *mov, AVStream *st) { MOVStreamContext *sc = st->priv_data; if (sc->elst_count) { if (unsupported) { av_log(mov->fc, AV_LOG_WARNG, "multiple edit list entries, " "a/v desync might occur, patch welcome\n"); } } if (!(st->codecpar->codec_t...
static void mov_build_index(MOVContext *mov, AVStream *st) { MOVStreamContext *sc = st->priv_data; if (sc->elst_count) { if (unsupported) { av_log(mov->fc, AV_LOG_WARNG, "multiple edit list entries, " "a/v desync might occur, patch welcome\n"); } } if (!(st->codecpar->codec_t...
static void mov_build_index(MOVContext *mov, AVStream *st) { MOVStreamContext *sc = st->priv_data; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ if ((sc->empty_duration || sc->start_time) && mov->time_scale > 0) { if (sc->empty_duration) { sc->empty_duration = av_rescale(sc->empty_durati...
static void mov_build_index(MOVContext *mov, AVStream *st) { MOVStreamContext *sc = st->priv_data; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ if ((sc->empty_duration || sc->start_time) && mov->time_scale > 0) { if (sc->empty_duration) { sc->empty_duration = av_rescale(sc->empty_durati...
static void mov_build_index(MOVContext *mov, AVStream *st) { MOVStreamContext *sc = st->priv_data; if (sc->elst_count) { if (unsupported) { av_log(mov->fc, AV_LOG_WARNG, "multiple edit list entries, " "a/v desync might occur, patch welcome\n"); } } if (!(st->codecpar-...
CVE-2016-6302
OpenSSL
https://github.com/openssl/openssl
ssl/t1_lib.c
tls_decrypt_ticket
static int tls_decrypt_ticket(SSL *s, const unsigned char *etick, int eticklen, const unsigned char *sess_id, int sesslen, SSL_SESSION **psess) { SSL_SESSION *sess; unsigned char *sdec; const unsigned char *p; int slen, mlen, renew_ticket = 0, ret = -1; unsigned char tick_hmac[EVP_MAX_MD_SIZE]; ...
static int tls_decrypt_ticket(SSL *s, const unsigned char *etick, int eticklen, const unsigned char *sess_id, int sesslen, SSL_SESSION **psess) { SSL_SESSION *sess; unsigned char *sdec; const unsigned char *p; int slen, mlen, renew_ticket = 0, ret = -1; unsigned char tick_hmac[EVP_MAX_MD_SIZE]; ...
static int tls_decrypt_ticket(SSL *s, const unsigned char *etick, int eticklen, const unsigned char *sess_id, int sesslen, SSL_SESSION **psess) { SSL_SESSION *sess; unsigned char *sdec; const unsigned char *p; int slen, mlen, renew_ticket = 0; unsigned char tick_hmac[EVP_MAX_MD_SIZE]; HMAC_CTX h...
static int tls_decrypt_ticket(SSL *s, const unsigned char *etick, int eticklen, const unsigned char *sess_id, int sesslen, SSL_SESSION **psess) { SSL_SESSION *sess; unsigned char *sdec; const unsigned char *p; int slen, mlen, renew_ticket = 0; unsigned char tick_hmac[EVP_MAX_MD_SIZE]; HMAC_CTX h...
static int tls_decrypt_ticket(SSL *s, const unsigned char *etick, int eticklen, const unsigned char *sess_id, int sesslen, SSL_SESSION **psess) { SSL_CTX *tctx = s->initial_ctx; if (eticklen < 48) { return 2; } hctx = HMAC_CTX_new(); if (hctx == NULL) { return -2; } ctx = EVP...
static int tls_decrypt_ticket(SSL *s, const unsigned char *etick, int eticklen, const unsigned char *sess_id, int sesslen, SSL_SESSION **psess) { SSL_CTX *tctx = s->initial_ctx; hctx = HMAC_CTX_new(); if (hctx == NULL) { return -2; } ctx = EVP_CIPHER_CTX_new(); if (ctx == NULL) { ...
static int tls_decrypt_ticket(SSL *s, const unsigned char *etick, int eticklen, const unsigned char *sess_id, int sesslen, SSL_SESSION **psess) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ SSL_CTX *tctx = s->initial_ctx; if (eticklen < 48) { return 2; } HMAC_CTX_init(&hctx); EVP_CIPHE...
static int tls_decrypt_ticket(SSL *s, const unsigned char *etick, int eticklen, const unsigned char *sess_id, int sesslen, SSL_SESSION **psess) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ SSL_CTX *tctx = s->initial_ctx; HMAC_CTX_init(&hctx); EVP_CIPHER_CTX_init(&ctx); if (tctx->tlsext_ticket_key...
static int tls_decrypt_ticket(SSL *s, const unsigned char *etick, int eticklen, const unsigned char *sess_id, int sesslen, SSL_SESSION **psess) { SSL_CTX *tctx = s->initial_ctx; - if (eticklen < 48) { - return 2; - } hctx = HMAC_CTX_new(); if (hctx == NULL) { return -2; } ...
CVE-2016-6303
OpenSSL
https://github.com/openssl/openssl
crypto/mdc2/mdc2dgst.c
MDC2_Update
int MDC2_Update(MDC2_CTX *c, const unsigned char *in, size_t len) { size_t i, j; i = c->num; if (i != 0) { if (i + len < MDC2_BLOCK) { memcpy(&(c->data[i]), in, len); c->num += (int)len; return 1; } else { j = MDC2_BLOCK - i; memcpy...
int MDC2_Update(MDC2_CTX *c, const unsigned char *in, size_t len) { size_t i, j; i = c->num; if (i != 0) { if (len < MDC2_BLOCK - i) { memcpy(&(c->data[i]), in, len); c->num += (int)len; return 1; } else { j = MDC2_BLOCK - i; memcpy...
int MDC2_Update(MDC2_CTX *c, const unsigned char *in, size_t len) { size_t i, j; i = c->num; if (i != 0) { if (i + len < MDC2_BLOCK) { memcpy(&(c->data[i]), in, len); c->num += (int)len; return 1; } else { j = MDC2_BLOCK - i; memcpy...
int MDC2_Update(MDC2_CTX *c, const unsigned char *in, size_t len) { size_t i, j; i = c->num; if (i != 0) { if (len < MDC2_BLOCK - i) { memcpy(&(c->data[i]), in, len); c->num += (int)len; return 1; } else { j = MDC2_BLOCK - i; memcpy...
int MDC2_Update(MDC2_CTX *c, const unsigned char *in, size_t len) { i = c->num; if (i != 0) { if (i + len < MDC2_BLOCK) { memcpy(&(c->data[i]), in, len); c->num += (int)len; return 1; } else { j = MDC2_BLOCK - i; memcpy(&(c->data[i]), i...
int MDC2_Update(MDC2_CTX *c, const unsigned char *in, size_t len) { i = c->num; if (i != 0) { if (len < MDC2_BLOCK - i) { memcpy(&(c->data[i]), in, len); c->num += (int)len; return 1; } else { j = MDC2_BLOCK - i; memcpy(&(c->data[i]), i...
int MDC2_Update(MDC2_CTX *c, const unsigned char *in, size_t len) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ i = c->num; if (i != 0) { if (i + len < MDC2_BLOCK) { memcpy(&(c->data[i]), in, len); c->num += (int)len; return 1; } else { j = M...
int MDC2_Update(MDC2_CTX *c, const unsigned char *in, size_t len) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ i = c->num; if (i != 0) { if (len < MDC2_BLOCK - i) { memcpy(&(c->data[i]), in, len); c->num += (int)len; return 1; } else { j = M...
int MDC2_Update(MDC2_CTX *c, const unsigned char *in, size_t len) { i = c->num; if (i != 0) { - if (i + len < MDC2_BLOCK) { + if (len < MDC2_BLOCK - i) { memcpy(&(c->data[i]), in, len); c->num += (int)len; return 1; } else { j = MDC2_...
CVE-2016-6305
OpenSSL
https://github.com/openssl/openssl
ssl/record/rec_layer_s3.c
ssl3_read_bytes
int ssl3_read_bytes(SSL *s, int type, int *recvd_type, unsigned char *buf, int len, int peek) { int al, i, j, ret; unsigned int n, curr_rec, num_recs, read_bytes; SSL3_RECORD *rr; SSL3_BUFFER *rbuf; void (*cb) (const SSL *ssl, int type2, int val) = NULL; rbuf = &s->rlayer.rbuf; if (!SSL3_BUF...
int ssl3_read_bytes(SSL *s, int type, int *recvd_type, unsigned char *buf, int len, int peek) { int al, i, j, ret; unsigned int n, curr_rec, num_recs, read_bytes; SSL3_RECORD *rr; SSL3_BUFFER *rbuf; void (*cb) (const SSL *ssl, int type2, int val) = NULL; rbuf = &s->rlayer.rbuf; if (!SSL3_BUF...
int ssl3_read_bytes(SSL *s, int type, int *recvd_type, unsigned char *buf, int len, int peek) { int al, i, j, ret; unsigned int n, curr_rec, num_recs, read_bytes; SSL3_RECORD *rr; SSL3_BUFFER *rbuf; void (*cb) (const SSL *ssl, int type2, int val) = NULL; rbuf = &s->rlayer.rbuf; if (!SSL3_BUF...
int ssl3_read_bytes(SSL *s, int type, int *recvd_type, unsigned char *buf, int len, int peek) { int al, i, j, ret; unsigned int n, curr_rec, num_recs, read_bytes; SSL3_RECORD *rr; SSL3_BUFFER *rbuf; void (*cb) (const SSL *ssl, int type2, int val) = NULL; rbuf = &s->rlayer.rbuf; if (!SSL3_BUF...
int ssl3_read_bytes(SSL *s, int type, int *recvd_type, unsigned char *buf, int len, int peek) { if (!SSL3_BUFFER_is_initialised(rbuf)) { if (!ssl3_setup_read_buffer(s)) { return (-1); } } if ((type && (type != SSL3_RT_APPLICATION_DATA) && (type != SSL3_RT_HANDSHAKE)) || (peek && ...
int ssl3_read_bytes(SSL *s, int type, int *recvd_type, unsigned char *buf, int len, int peek) { if (!SSL3_BUFFER_is_initialised(rbuf)) { if (!ssl3_setup_read_buffer(s)) { return (-1); } } if ((type && (type != SSL3_RT_APPLICATION_DATA) && (type != SSL3_RT_HANDSHAKE)) || (peek && ...
int ssl3_read_bytes(SSL *s, int type, int *recvd_type, unsigned char *buf, int len, int peek) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ if (!SSL3_BUFFER_is_initialised(rbuf)) { if (!ssl3_setup_read_buffer(s)) { return (-1); } } if ((type && (type != SSL3_RT_APPLICATION_...
int ssl3_read_bytes(SSL *s, int type, int *recvd_type, unsigned char *buf, int len, int peek) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ if (!SSL3_BUFFER_is_initialised(rbuf)) { if (!ssl3_setup_read_buffer(s)) { return (-1); } } if ((type && (type != SSL3_RT_APPLICATION_...
int ssl3_read_bytes(SSL *s, int type, int *recvd_type, unsigned char *buf, int len, int peek) { if (!SSL3_BUFFER_is_initialised(rbuf)) { if (!ssl3_setup_read_buffer(s)) { return (-1); } } if ((type && (type != SSL3_RT_APPLICATION_DATA) && (type != SSL3_RT_HANDSHAKE)) || (p...
CVE-2016-6307
OpenSSL
https://github.com/openssl/openssl
ssl/statem/statem.c
read_state_machine
static SUB_STATE_RETURN read_state_machine(SSL *s) { OSSL_STATEM *st = &s->statem; int ret, mt; unsigned long len = 0; int (*transition) (SSL *s, int mt); PACKET pkt; MSG_PROCESS_RETURN(*process_message) (SSL *s, PACKET *pkt); WORK_STATE(*post_process_message) (SSL *s, WORK_STATE wst); u...
static SUB_STATE_RETURN read_state_machine(SSL *s) { OSSL_STATEM *st = &s->statem; int ret, mt; unsigned long len = 0; int (*transition) (SSL *s, int mt); PACKET pkt; MSG_PROCESS_RETURN(*process_message) (SSL *s, PACKET *pkt); WORK_STATE(*post_process_message) (SSL *s, WORK_STATE wst); u...
static SUB_STATE_RETURN read_state_machine(SSL *s) { OSSL_STATEM *st = &s->statem; int ret, mt; unsigned long len = 0; int (*transition) (SSL *s, int mt); PACKET pkt; MSG_PROCESS_RETURN(*process_message) (SSL *s, PACKET *pkt); WORK_STATE(*post_process_message) (SSL *s, WORK_STATE wst); u...
static SUB_STATE_RETURN read_state_machine(SSL *s) { OSSL_STATEM *st = &s->statem; int ret, mt; unsigned long len = 0; int (*transition) (SSL *s, int mt); PACKET pkt; MSG_PROCESS_RETURN(*process_message) (SSL *s, PACKET *pkt); WORK_STATE(*post_process_message) (SSL *s, WORK_STATE wst); u...
static SUB_STATE_RETURN read_state_machine(SSL *s) { unsigned long len = 0; MSG_PROCESS_RETURN(*process_message) (SSL *s, PACKET *pkt); cb = get_callback(s); while (1) { switch (st->read_state) { case READ_STATE_HEADER: if (SSL_IS_DTLS(s)) { ret = dtls_get_mes...
static SUB_STATE_RETURN read_state_machine(SSL *s) { unsigned long len = 0; MSG_PROCESS_RETURN(*process_message) (SSL *s, PACKET *pkt); cb = get_callback(s); while (1) { switch (st->read_state) { case READ_STATE_HEADER: if (SSL_IS_DTLS(s)) { ret = dtls_get_mes...
static SUB_STATE_RETURN read_state_machine(SSL *s) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ unsigned long len = 0; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ MSG_PROCESS_RETURN(*process_message) (SSL *s, PACKET *pkt); /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ cb = get_callback(s); ...
static SUB_STATE_RETURN read_state_machine(SSL *s) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ unsigned long len = 0; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ MSG_PROCESS_RETURN(*process_message) (SSL *s, PACKET *pkt); /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ cb = get_callback(s); ...
static SUB_STATE_RETURN read_state_machine(SSL *s) { unsigned long len = 0; MSG_PROCESS_RETURN(*process_message) (SSL *s, PACKET *pkt); cb = get_callback(s); while (1) { switch (st->read_state) { case READ_STATE_HEADER: if (SSL_IS_DTLS(s)) { ret = dtl...
CVE-2016-6307
OpenSSL
https://github.com/openssl/openssl
ssl/statem/statem_lib.c
tls_get_message_header
int tls_get_message_header(SSL *s, int *mt) { int skip_message, i, recvd_type, al; unsigned char *p; unsigned long l; p = (unsigned char *)s->init_buf->data; do { while (s->init_num < SSL3_HM_HEADER_LENGTH) { i = s->method->ssl_read_bytes(s, SSL3_RT_HANDSHAKE, &recvd_type, &p[s->...
int tls_get_message_header(SSL *s, int *mt) { int skip_message, i, recvd_type, al; unsigned char *p; unsigned long l; p = (unsigned char *)s->init_buf->data; do { while (s->init_num < SSL3_HM_HEADER_LENGTH) { i = s->method->ssl_read_bytes(s, SSL3_RT_HANDSHAKE, &recvd_type, &p[s->...
int tls_get_message_header(SSL *s, int *mt) { int skip_message, i, recvd_type, al; unsigned char *p; unsigned long l; p = (unsigned char *)s->init_buf->data; do { while (s->init_num < SSL3_HM_HEADER_LENGTH) { i = s->method->ssl_read_bytes(s, SSL3_RT_HANDSHAKE, &recvd_type, &p[s->...
int tls_get_message_header(SSL *s, int *mt) { int skip_message, i, recvd_type, al; unsigned char *p; unsigned long l; p = (unsigned char *)s->init_buf->data; do { while (s->init_num < SSL3_HM_HEADER_LENGTH) { i = s->method->ssl_read_bytes(s, SSL3_RT_HANDSHAKE, &recvd_type, &p[s->...
int tls_get_message_header(SSL *s, int *mt) { p = (unsigned char *)s->init_buf->data; do { while (s->init_num < SSL3_HM_HEADER_LENGTH) { i = s->method->ssl_read_bytes(s, SSL3_RT_HANDSHAKE, &recvd_type, &p[s->init_num], SSL3_HM_HEADER_LENGTH - s->init_num, 0); if (i <= 0) { ...
int tls_get_message_header(SSL *s, int *mt) { p = (unsigned char *)s->init_buf->data; do { while (s->init_num < SSL3_HM_HEADER_LENGTH) { i = s->method->ssl_read_bytes(s, SSL3_RT_HANDSHAKE, &recvd_type, &p[s->init_num], SSL3_HM_HEADER_LENGTH - s->init_num, 0); if (i <= 0) { ...
int tls_get_message_header(SSL *s, int *mt) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ p = (unsigned char *)s->init_buf->data; do { while (s->init_num < SSL3_HM_HEADER_LENGTH) { i = s->method->ssl_read_bytes(s, SSL3_RT_HANDSHAKE, &recvd_type, &p[s->init_num], SSL3_HM_HEADER_LENGTH -...
int tls_get_message_header(SSL *s, int *mt) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ p = (unsigned char *)s->init_buf->data; do { while (s->init_num < SSL3_HM_HEADER_LENGTH) { i = s->method->ssl_read_bytes(s, SSL3_RT_HANDSHAKE, &recvd_type, &p[s->init_num], SSL3_HM_HEADER_LENGTH -...
int tls_get_message_header(SSL *s, int *mt) { p = (unsigned char *)s->init_buf->data; do { while (s->init_num < SSL3_HM_HEADER_LENGTH) { i = s->method->ssl_read_bytes(s, SSL3_RT_HANDSHAKE, &recvd_type, &p[s->init_num], SSL3_HM_HEADER_LENGTH - s->init_num, 0); if (i <= 0) { ...
CVE-2016-6308
OpenSSL
https://github.com/openssl/openssl
ssl/statem/statem_dtls.c
dtls1_preprocess_fragment
static int dtls1_preprocess_fragment(SSL *s, struct hm_header_st *msg_hdr) { size_t frag_off, frag_len, msg_len; msg_len = msg_hdr->msg_len; frag_off = msg_hdr->frag_off; frag_len = msg_hdr->frag_len; if ((frag_off + frag_len) > msg_len) { SSLerr(SSL_F_DTLS1_PREPROCESS_FRAGMENT, SSL_R_EXCESS...
static int dtls1_preprocess_fragment(SSL *s, struct hm_header_st *msg_hdr) { size_t frag_off, frag_len, msg_len; msg_len = msg_hdr->msg_len; frag_off = msg_hdr->frag_off; frag_len = msg_hdr->frag_len; if ((frag_off + frag_len) > msg_len || msg_len > dtls1_max_handshake_message_len(s)) { SSLe...
static int dtls1_preprocess_fragment(SSL *s, struct hm_header_st *msg_hdr) { size_t frag_off, frag_len, msg_len; msg_len = msg_hdr->msg_len; frag_off = msg_hdr->frag_off; frag_len = msg_hdr->frag_len; if ((frag_off + frag_len) > msg_len) { SSLerr(SSL_F_DTLS1_PREPROCESS_FRAGMENT, SSL_R_EXCESS...
static int dtls1_preprocess_fragment(SSL *s, struct hm_header_st *msg_hdr) { size_t frag_off, frag_len, msg_len; msg_len = msg_hdr->msg_len; frag_off = msg_hdr->frag_off; frag_len = msg_hdr->frag_len; if ((frag_off + frag_len) > msg_len || msg_len > dtls1_max_handshake_message_len(s)) { SSLe...
static int dtls1_preprocess_fragment(SSL *s, struct hm_header_st *msg_hdr) { msg_len = msg_hdr->msg_len; frag_off = msg_hdr->frag_off; frag_len = msg_hdr->frag_len; if ((frag_off + frag_len) > msg_len) { SSLerr(SSL_F_DTLS1_PREPROCESS_FRAGMENT, SSL_R_EXCESSIVE_MESSAGE_SIZE); return SSL_AD...
static int dtls1_preprocess_fragment(SSL *s, struct hm_header_st *msg_hdr) { msg_len = msg_hdr->msg_len; frag_off = msg_hdr->frag_off; frag_len = msg_hdr->frag_len; if ((frag_off + frag_len) > msg_len || msg_len > dtls1_max_handshake_message_len(s)) { SSLerr(SSL_F_DTLS1_PREPROCESS_FRAGMENT, SSL_...
static int dtls1_preprocess_fragment(SSL *s, struct hm_header_st *msg_hdr) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ msg_len = msg_hdr->msg_len; frag_off = msg_hdr->frag_off; frag_len = msg_hdr->frag_len; if ((frag_off + frag_len) > msg_len) { SSLerr(SSL_F_DTLS1_PREPROCESS_FRAGMENT, SS...
static int dtls1_preprocess_fragment(SSL *s, struct hm_header_st *msg_hdr) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ msg_len = msg_hdr->msg_len; frag_off = msg_hdr->frag_off; frag_len = msg_hdr->frag_len; if ((frag_off + frag_len) > msg_len || msg_len > dtls1_max_handshake_message_len(s)) { ...
static int dtls1_preprocess_fragment(SSL *s, struct hm_header_st *msg_hdr) { msg_len = msg_hdr->msg_len; frag_off = msg_hdr->frag_off; frag_len = msg_hdr->frag_len; - if ((frag_off + frag_len) > msg_len) { + if ((frag_off + frag_len) > msg_len || msg_len > dtls1_max_handshake_message_len(s)) { ...
CVE-2016-6309
OpenSSL
https://github.com/openssl/openssl
ssl/statem/statem.c
read_state_machine
static SUB_STATE_RETURN read_state_machine(SSL *s) { OSSL_STATEM *st = &s->statem; int ret, mt; unsigned long len = 0; int (*transition) (SSL *s, int mt); PACKET pkt; MSG_PROCESS_RETURN(*process_message) (SSL *s, PACKET *pkt); WORK_STATE(*post_process_message) (SSL *s, WORK_STATE wst); u...
static SUB_STATE_RETURN read_state_machine(SSL *s) { OSSL_STATEM *st = &s->statem; int ret, mt; unsigned long len = 0; int (*transition) (SSL *s, int mt); PACKET pkt; MSG_PROCESS_RETURN(*process_message) (SSL *s, PACKET *pkt); WORK_STATE(*post_process_message) (SSL *s, WORK_STATE wst); u...
static SUB_STATE_RETURN read_state_machine(SSL *s) { OSSL_STATEM *st = &s->statem; int ret, mt; unsigned long len = 0; int (*transition) (SSL *s, int mt); PACKET pkt; MSG_PROCESS_RETURN(*process_message) (SSL *s, PACKET *pkt); WORK_STATE(*post_process_message) (SSL *s, WORK_STATE wst); u...
static SUB_STATE_RETURN read_state_machine(SSL *s) { OSSL_STATEM *st = &s->statem; int ret, mt; unsigned long len = 0; int (*transition) (SSL *s, int mt); PACKET pkt; MSG_PROCESS_RETURN(*process_message) (SSL *s, PACKET *pkt); WORK_STATE(*post_process_message) (SSL *s, WORK_STATE wst); u...
static SUB_STATE_RETURN read_state_machine(SSL *s) { unsigned long len = 0; MSG_PROCESS_RETURN(*process_message) (SSL *s, PACKET *pkt); cb = get_callback(s); while (1) { switch (st->read_state) { case READ_STATE_HEADER: if (SSL_IS_DTLS(s)) { ret = dtls_get_mes...
static SUB_STATE_RETURN read_state_machine(SSL *s) { unsigned long len = 0; MSG_PROCESS_RETURN(*process_message) (SSL *s, PACKET *pkt); cb = get_callback(s); while (1) { switch (st->read_state) { case READ_STATE_HEADER: if (SSL_IS_DTLS(s)) { ret = dtls_get_mes...
static SUB_STATE_RETURN read_state_machine(SSL *s) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ unsigned long len = 0; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ MSG_PROCESS_RETURN(*process_message) (SSL *s, PACKET *pkt); /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ cb = get_callback(s); ...
static SUB_STATE_RETURN read_state_machine(SSL *s) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ unsigned long len = 0; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ MSG_PROCESS_RETURN(*process_message) (SSL *s, PACKET *pkt); /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ cb = get_callback(s); ...
static SUB_STATE_RETURN read_state_machine(SSL *s) { unsigned long len = 0; MSG_PROCESS_RETURN(*process_message) (SSL *s, PACKET *pkt); cb = get_callback(s); while (1) { switch (st->read_state) { case READ_STATE_HEADER: if (SSL_IS_DTLS(s)) { ret = dtl...
CVE-2016-6505
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-packetbb.c
dissect_pbb_tlvblock
static int dissect_pbb_tlvblock(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offset, guint maxoffset, gint8 addrCount, guint tlvCat) { guint16 tlvblockLength; guint tlvblockEnd; proto_tree *tlvblock_tree = NULL; proto_tree *tlv_tree = NULL; proto_tree *tlv_flags_tree = NULL; proto_...
static int dissect_pbb_tlvblock(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offset, guint maxoffset, gint8 addrCount, guint tlvCat) { guint16 tlvblockLength; guint tlvblockEnd; proto_tree *tlvblock_tree = NULL; proto_tree *tlv_tree = NULL; proto_tree *tlv_flags_tree = NULL; proto_...
static int dissect_pbb_tlvblock(tvbuff_t *tvb, proto_tree *tree, guint offset, guint maxoffset, gint8 addrCount) { guint16 tlvblockLength; guint tlvblockEnd; proto_tree *tlvblock_tree = NULL; proto_tree *tlv_tree = NULL; proto_tree *tlv_flags_tree = NULL; proto_tree *tlvValue_tree = NULL; pr...
static int dissect_pbb_tlvblock(tvbuff_t *tvb, proto_tree *tree, guint offset, guint maxoffset, gint8 addrCount) { guint16 tlvblockLength; guint tlvblockEnd; proto_tree *tlvblock_tree = NULL; proto_tree *tlv_tree = NULL; proto_tree *tlv_flags_tree = NULL; proto_tree *tlvValue_tree = NULL; pr...
static int dissect_pbb_tlvblock(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offset, guint maxoffset, gint8 addrCount, guint tlvCat) { if (maxoffset < offset + 2) { return maxoffset; } tlvblockLength = tvb_get_ntohs(tvb, offset); tlvblockEnd = offset + 2 + tlvblockLength; if (m...
static int dissect_pbb_tlvblock(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offset, guint maxoffset, gint8 addrCount, guint tlvCat) { if (maxoffset < offset + 2) { return maxoffset; } tlvblockLength = tvb_get_ntohs(tvb, offset); tlvblockEnd = offset + 2 + tlvblockLength; if (m...
static int dissect_pbb_tlvblock(tvbuff_t *tvb, proto_tree *tree, guint offset, guint maxoffset, gint8 addrCount) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ if (maxoffset < offset + 2) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ return maxoffset; } tlvblockLength = tvb_get_ntohs(tvb,...
static int dissect_pbb_tlvblock(tvbuff_t *tvb, proto_tree *tree, guint offset, guint maxoffset, gint8 addrCount) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ if (maxoffset < offset + 2) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ return maxoffset; } tlvblockLength = tvb_get_ntohs(tvb,...
static int dissect_pbb_tlvblock(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offset, guint maxoffset, gint8 addrCount, guint tlvCat) { if (maxoffset < offset + 2) { return maxoffset; } tlvblockLength = tvb_get_ntohs(tvb, offset); tlvblockEnd = offset + 2 + tlvblockLength; ...
CVE-2016-6506
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-wsp.c
add_headers
static void add_headers (proto_tree *tree, tvbuff_t *tvb, int hf, packet_info *pinfo) { guint8 hdr_id, val_id, codepage = 1; gint32 tvb_len = tvb_reported_length(tvb); gint32 offset = 0; gint32 hdr_len, hdr_start; gint32 val_len, val_start; gchar *hdr_str, *val_str; proto_tree *wsp_headers; ...
static void add_headers (proto_tree *tree, tvbuff_t *tvb, int hf, packet_info *pinfo) { guint8 hdr_id, val_id, codepage = 1; gint32 tvb_len = tvb_reported_length(tvb); gint32 offset = 0; gint32 save_offset; gint32 hdr_len, hdr_start; gint32 val_len, val_start; gchar *hdr_str, *val_str; p...
static void add_headers (proto_tree *tree, tvbuff_t *tvb, int hf, packet_info *pinfo) { guint8 hdr_id, val_id, codepage = 1; gint32 tvb_len = tvb_length(tvb); gint32 offset = 0; gint32 hdr_len, hdr_start; gint32 val_len, val_start; gchar *hdr_str, *val_str; proto_tree *wsp_headers; proto...
static void add_headers (proto_tree *tree, tvbuff_t *tvb, int hf, packet_info *pinfo) { guint8 hdr_id, val_id, codepage = 1; gint32 tvb_len = tvb_length(tvb); gint32 offset = 0; gint32 save_offset; gint32 hdr_len, hdr_start; gint32 val_len, val_start; gchar *hdr_str, *val_str; proto_tree...
static void add_headers (proto_tree *tree, tvbuff_t *tvb, int hf, packet_info *pinfo) { gint32 tvb_len = tvb_reported_length(tvb); gint32 offset = 0; gint32 hdr_len, hdr_start; if (offset >= tvb_len) { return; } ti = proto_tree_add_item(tree, hf, tvb, offset, tvb_len, ENC_NA); wsp_he...
static void add_headers (proto_tree *tree, tvbuff_t *tvb, int hf, packet_info *pinfo) { gint32 tvb_len = tvb_reported_length(tvb); gint32 offset = 0; gint32 save_offset; gint32 hdr_len, hdr_start; if (offset >= tvb_len) { return; } ti = proto_tree_add_item(tree, hf, tvb, offset, tvb_...
static void add_headers (proto_tree *tree, tvbuff_t *tvb, int hf, packet_info *pinfo) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ gint32 tvb_len = tvb_length(tvb); gint32 offset = 0; gint32 hdr_len, hdr_start; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ if (offset >= tvb_len) { ret...
static void add_headers (proto_tree *tree, tvbuff_t *tvb, int hf, packet_info *pinfo) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ gint32 tvb_len = tvb_length(tvb); gint32 offset = 0; gint32 save_offset; gint32 hdr_len, hdr_start; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ if (offset >...
static void add_headers (proto_tree *tree, tvbuff_t *tvb, int hf, packet_info *pinfo) { gint32 tvb_len = tvb_reported_length(tvb); gint32 offset = 0; + gint32 save_offset; gint32 hdr_len, hdr_start; if (offset >= tvb_len) { return; } ti = proto_tree_add_item(tree, hf, tvb, off...
CVE-2016-6507
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-mmse.c
dissect_mmse
static void dissect_mmse(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 pdut, const char *message_type) { guint offset; guint8 field = 0; const char *strval; guint length; guint count; guint8 version = 0x80; proto_item *ti = NULL; proto_tree *mmse_tree = NULL; DebugLog((...
static void dissect_mmse(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 pdut, const char *message_type) { guint offset; guint8 field = 0; const char *strval; guint length; guint count; guint8 version = 0x80; proto_item *ti = NULL; proto_tree *mmse_tree = NULL; DebugLog((...
static void dissect_mmse(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 pdut, const char *message_type) { guint offset; guint8 field = 0; const char *strval; guint length; guint count; guint8 version = 0x80; proto_item *ti = NULL; proto_tree *mmse_tree = NULL; DebugLog((...
static void dissect_mmse(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 pdut, const char *message_type) { guint offset; guint8 field = 0; const char *strval; guint length; guint count; guint8 version = 0x80; proto_item *ti = NULL; proto_tree *mmse_tree = NULL; DebugLog((...
static void dissect_mmse(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 pdut, const char *message_type) { guint8 field = 0; proto_tree *mmse_tree = NULL; if (tree) { ti = proto_tree_add_item(tree, proto_mmse, tvb, 0, -1, ENC_NA); proto_item_append_text(ti, ", Type: %s", message_...
static void dissect_mmse(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 pdut, const char *message_type) { guint8 field = 0; proto_tree *mmse_tree = NULL; if (tree) { ti = proto_tree_add_item(tree, proto_mmse, tvb, 0, -1, ENC_NA); proto_item_append_text(ti, ", Type: %s", message_...
static void dissect_mmse(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 pdut, const char *message_type) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ guint8 field = 0; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ proto_tree *mmse_tree = NULL; /* PLACEHOLDER: DO NOT DELETE THIS COMMEN...
static void dissect_mmse(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 pdut, const char *message_type) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ guint8 field = 0; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ proto_tree *mmse_tree = NULL; /* PLACEHOLDER: DO NOT DELETE THIS COMMEN...
static void dissect_mmse(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 pdut, const char *message_type) { guint8 field = 0; proto_tree *mmse_tree = NULL; if (tree) { ti = proto_tree_add_item(tree, proto_mmse, tvb, 0, -1, ENC_NA); proto_item_append_text(ti, ", Type: %s", me...
CVE-2016-6507
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-mmse.c
proto_register_mmse
void proto_register_mmse(void) { static hf_register_info hf[] = { { &hf_mmse_message_type, { "X-Mms-Message-Type", "mmse.message_type", FT_UT8, BASE_HEX, VALS(vals_message_type), 0x00, "Specifies the transaction type. Effectively defines PDU.", HFILL } }, { ...
void proto_register_mmse(void) { static hf_register_info hf[] = { { &hf_mmse_message_type, { "X-Mms-Message-Type", "mmse.message_type", FT_UT8, BASE_HEX, VALS(vals_message_type), 0x00, "Specifies the transaction type. Effectively defines PDU.", HFILL } }, { ...
void proto_register_mmse(void) { static hf_register_info hf[] = { { &hf_mmse_message_type, { "X-Mms-Message-Type", "mmse.message_type", FT_UT8, BASE_HEX, VALS(vals_message_type), 0x00, "Specifies the transaction type. Effectively defines PDU.", HFILL } }, { ...
void proto_register_mmse(void) { static hf_register_info hf[] = { { &hf_mmse_message_type, { "X-Mms-Message-Type", "mmse.message_type", FT_UT8, BASE_HEX, VALS(vals_message_type), 0x00, "Specifies the transaction type. Effectively defines PDU.", HFILL } }, { ...
void proto_register_mmse(void) { static hf_register_info hf[] = { { &hf_mmse_message_type, { "X-Mms-Message-Type", "mmse.message_type", FT_UT8, BASE_HEX, VALS(vals_message_type), 0x00, "Specifies the transaction type. Effectively defines PDU.", HFILL } }, { ...
void proto_register_mmse(void) { static hf_register_info hf[] = { { &hf_mmse_message_type, { "X-Mms-Message-Type", "mmse.message_type", FT_UT8, BASE_HEX, VALS(vals_message_type), 0x00, "Specifies the transaction type. Effectively defines PDU.", HFILL } }, { ...
void proto_register_mmse(void) { static hf_register_info hf[] = { { &hf_mmse_message_type, { "X-Mms-Message-Type", "mmse.message_type", FT_UT8, BASE_HEX, VALS(vals_message_type), 0x00, "Specifies the transaction type. Effectively defines PDU.", HFILL } }, { ...
void proto_register_mmse(void) { static hf_register_info hf[] = { { &hf_mmse_message_type, { "X-Mms-Message-Type", "mmse.message_type", FT_UT8, BASE_HEX, VALS(vals_message_type), 0x00, "Specifies the transaction type. Effectively defines PDU.", HFILL } }, { ...
void proto_register_mmse(void) { static hf_register_info hf[] = { { &hf_mmse_message_type, { "X-Mms-Message-Type", "mmse.message_type", FT_UT8, BASE_HEX, VALS(vals_message_type), 0x00, "Specifies the transaction type. Effectively defines PDU.", HFILL } ...
CVE-2016-6508
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-rlc.c
tree_add_li
static proto_tree * tree_add_li(enum rlc_mode mode, struct rlc_li *li, guint8 li_idx, guint8 hdr_offs, gboolean li_is_on_2_bytes, tvbuff_t *tvb, proto_tree *tree) { proto_item *root_ti, *ti; proto_tree *li_tree; guint8 li_offs; guint64 length; if (!tree) { return NULL; } if (li_is_on...
static proto_tree * tree_add_li(enum rlc_mode mode, struct rlc_li *li, guint8 li_idx, guint32 hdr_offs, gboolean li_is_on_2_bytes, tvbuff_t *tvb, proto_tree *tree) { proto_item *root_ti, *ti; proto_tree *li_tree; guint32 li_offs; guint64 length; if (!tree) { return NULL; } if (li_is_...
static proto_tree * tree_add_li(enum rlc_mode mode, struct rlc_li *li, guint8 li_idx, guint8 hdr_offs, gboolean li_is_on_2_bytes, tvbuff_t *tvb, proto_tree *tree) { proto_item *root_ti, *ti; proto_tree *li_tree; guint8 li_offs; guint64 length; if (!tree) { return NULL; } if (li_is_on...
static proto_tree * tree_add_li(enum rlc_mode mode, struct rlc_li *li, guint8 li_idx, guint32 hdr_offs, gboolean li_is_on_2_bytes, tvbuff_t *tvb, proto_tree *tree) { proto_item *root_ti, *ti; proto_tree *li_tree; guint32 li_offs; guint64 length; if (!tree) { return NULL; } if (li_is_...
static proto_tree * tree_add_li(enum rlc_mode mode, struct rlc_li *li, guint8 li_idx, guint8 hdr_offs, gboolean li_is_on_2_bytes, tvbuff_t *tvb, proto_tree *tree) { proto_tree *li_tree; guint8 li_offs; guint64 length; }
static proto_tree * tree_add_li(enum rlc_mode mode, struct rlc_li *li, guint8 li_idx, guint32 hdr_offs, gboolean li_is_on_2_bytes, tvbuff_t *tvb, proto_tree *tree) { proto_tree *li_tree; guint32 li_offs; guint64 length; }
static proto_tree * tree_add_li(enum rlc_mode mode, struct rlc_li *li, guint8 li_idx, guint8 hdr_offs, gboolean li_is_on_2_bytes, tvbuff_t *tvb, proto_tree *tree) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ proto_tree *li_tree; guint8 li_offs; guint64 length; /* PLACEHOLDER: DO NOT DELETE THIS C...
static proto_tree * tree_add_li(enum rlc_mode mode, struct rlc_li *li, guint8 li_idx, guint32 hdr_offs, gboolean li_is_on_2_bytes, tvbuff_t *tvb, proto_tree *tree) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ proto_tree *li_tree; guint32 li_offs; guint64 length; /* PLACEHOLDER: DO NOT DELETE THIS...
-static proto_tree * tree_add_li(enum rlc_mode mode, struct rlc_li *li, guint8 li_idx, guint8 hdr_offs, gboolean li_is_on_2_bytes, tvbuff_t *tvb, proto_tree *tree) { +static proto_tree * tree_add_li(enum rlc_mode mode, struct rlc_li *li, guint8 li_idx, guint32 hdr_offs, gboolean li_is_on_2_bytes, tvbuff_t *tvb, proto_t...
CVE-2016-6509
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-ldss.c
prepare_ldss_transfer_conv
static void prepare_ldss_transfer_conv(ldss_broadcast_t *broadcast) { conversation_t *transfer_conv; ldss_transfer_info_t *transfer_info; transfer_info = wmem_new0(wmem_file_scope(), ldss_transfer_info_t); transfer_info->broadcast = broadcast; transfer_conv = conversation_new (broadcast->num, &broad...
static void prepare_ldss_transfer_conv(ldss_broadcast_t *broadcast) { if (!find_conversation(broadcast->num, &broadcast->broadcaster->addr, &broadcast->broadcaster->addr, PT_TCP, broadcast->broadcaster->port, broadcast->broadcaster->port, NO_ADDR2|NO_PORT2)) { conversation_t *transfer_conv; ldss_tra...
static void prepare_ldss_transfer_conv(ldss_broadcast_t *broadcast) { conversation_t *transfer_conv; ldss_transfer_info_t *transfer_info; transfer_info = wmem_new0(wmem_file_scope(), ldss_transfer_info_t); transfer_info->broadcast = broadcast; transfer_conv = conversation_new (broadcast->num, &broad...
static void prepare_ldss_transfer_conv(ldss_broadcast_t *broadcast) { if (!find_conversation(broadcast->num, &broadcast->broadcaster->addr, &broadcast->broadcaster->addr, PT_TCP, broadcast->broadcaster->port, broadcast->broadcaster->port, NO_ADDR2|NO_PORT2)) { conversation_t *transfer_conv; ldss_tra...
static void prepare_ldss_transfer_conv(ldss_broadcast_t *broadcast) { conversation_t *transfer_conv; ldss_transfer_info_t *transfer_info; transfer_info = wmem_new0(wmem_file_scope(), ldss_transfer_info_t); transfer_info->broadcast = broadcast; transfer_conv = conversation_new (broadcast->num, &broad...
static void prepare_ldss_transfer_conv(ldss_broadcast_t *broadcast) { if (!find_conversation(broadcast->num, &broadcast->broadcaster->addr, &broadcast->broadcaster->addr, PT_TCP, broadcast->broadcaster->port, broadcast->broadcaster->port, NO_ADDR2|NO_PORT2)) { conversation_t *transfer_conv; ldss_tra...
static void prepare_ldss_transfer_conv(ldss_broadcast_t *broadcast) { conversation_t *transfer_conv; ldss_transfer_info_t *transfer_info; transfer_info = wmem_new0(wmem_file_scope(), ldss_transfer_info_t); transfer_info->broadcast = broadcast; transfer_conv = conversation_new (broadcast->num, &broad...
static void prepare_ldss_transfer_conv(ldss_broadcast_t *broadcast) { if (!find_conversation(broadcast->num, &broadcast->broadcaster->addr, &broadcast->broadcaster->addr, PT_TCP, broadcast->broadcaster->port, broadcast->broadcaster->port, NO_ADDR2|NO_PORT2)) { conversation_t *transfer_conv; ldss_tra...
static void prepare_ldss_transfer_conv(ldss_broadcast_t *broadcast) { - conversation_t *transfer_conv; - ldss_transfer_info_t *transfer_info; - transfer_info = wmem_new0(wmem_file_scope(), ldss_transfer_info_t); - transfer_info->broadcast = broadcast; - transfer_conv = conversation_new (broadcast->num, ...
CVE-2016-6511
Wireshark
https://github.com/wireshark/wireshark
epan/proto.c
proto_tree_add_text_internal
proto_item * proto_tree_add_text_internal(proto_tree *tree, tvbuff_t *tvb, gint start, gint length, const char *format, ...) { proto_item *pi; va_list ap; header_field_info *hfinfo; CHECK_FOR_NULL_TREE(tree); TRY_TO_FAKE_THIS_ITEM(tree, hf_text_only, hfinfo); pi = proto_tree_add_text_node(tree, ...
proto_item * proto_tree_add_text_internal(proto_tree *tree, tvbuff_t *tvb, gint start, gint length, const char *format, ...) { proto_item *pi; va_list ap; header_field_info *hfinfo; if (length == -1) { length = 0; } tvb_ensure_bytes_exist(tvb, start, length); CHECK_FOR_NULL_TREE(tree...
proto_item * proto_tree_add_text_internal(proto_tree *tree, tvbuff_t *tvb, gint start, gint length, const char *format, ...) { proto_item *pi; va_list ap; header_field_info *hfinfo; TRY_TO_FAKE_THIS_ITEM(tree, hf_text_only, hfinfo); pi = proto_tree_add_text_node(tree, tvb, start, length); TRY_TO...
proto_item * proto_tree_add_text_internal(proto_tree *tree, tvbuff_t *tvb, gint start, gint length, const char *format, ...) { proto_item *pi; va_list ap; header_field_info *hfinfo; if (length == -1) { length = 0; } tvb_ensure_bytes_exist(tvb, start, length); TRY_TO_FAKE_THIS_ITEM(tr...
proto_item * proto_tree_add_text_internal(proto_tree *tree, tvbuff_t *tvb, gint start, gint length, const char *format, ...) { header_field_info *hfinfo; CHECK_FOR_NULL_TREE(tree); pi = proto_tree_add_text_node(tree, tvb, start, length); TRY_TO_FAKE_THIS_REPR(pi); proto_tree_set_representation(pi, f...
proto_item * proto_tree_add_text_internal(proto_tree *tree, tvbuff_t *tvb, gint start, gint length, const char *format, ...) { header_field_info *hfinfo; if (length == -1) { length = 0; } tvb_ensure_bytes_exist(tvb, start, length); CHECK_FOR_NULL_TREE(tree); pi = proto_tree_add_text_node...
proto_item * proto_tree_add_text_internal(proto_tree *tree, tvbuff_t *tvb, gint start, gint length, const char *format, ...) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ header_field_info *hfinfo; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ pi = proto_tree_add_text_node(tree, tvb, start, length); ...
proto_item * proto_tree_add_text_internal(proto_tree *tree, tvbuff_t *tvb, gint start, gint length, const char *format, ...) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ header_field_info *hfinfo; if (length == -1) { length = 0; } tvb_ensure_bytes_exist(tvb, start, length); /* PLACEHO...
proto_item * proto_tree_add_text_internal(proto_tree *tree, tvbuff_t *tvb, gint start, gint length, const char *format, ...) { header_field_info *hfinfo; + if (length == -1) { + length = 0; + } + tvb_ensure_bytes_exist(tvb, start, length); CHECK_FOR_NULL_TREE(tree); pi = proto_tree_add_t...
CVE-2016-6511
Wireshark
https://github.com/wireshark/wireshark
epan/proto.c
proto_tree_add_text_valist_internal
proto_item * proto_tree_add_text_valist_internal(proto_tree *tree, tvbuff_t *tvb, gint start, gint length, const char *format, va_list ap) { proto_item *pi; header_field_info *hfinfo; CHECK_FOR_NULL_TREE(tree); TRY_TO_FAKE_THIS_ITEM(tree, hf_text_only, hfinfo); pi = proto_tree_add_text_node(tree, tv...
proto_item * proto_tree_add_text_valist_internal(proto_tree *tree, tvbuff_t *tvb, gint start, gint length, const char *format, va_list ap) { proto_item *pi; header_field_info *hfinfo; if (length == -1) { length = 0; } tvb_ensure_bytes_exist(tvb, start, length); CHECK_FOR_NULL_TREE(tree);...
proto_item * proto_tree_add_text_valist_internal(proto_tree *tree, tvbuff_t *tvb, gint start, gint length, const char *format, va_list ap) { proto_item *pi; header_field_info *hfinfo; TRY_TO_FAKE_THIS_ITEM(tree, hf_text_only, hfinfo); pi = proto_tree_add_text_node(tree, tvb, start, length); TRY_TO_F...
proto_item * proto_tree_add_text_valist_internal(proto_tree *tree, tvbuff_t *tvb, gint start, gint length, const char *format, va_list ap) { proto_item *pi; header_field_info *hfinfo; if (length == -1) { length = 0; } tvb_ensure_bytes_exist(tvb, start, length); TRY_TO_FAKE_THIS_ITEM(tree...
proto_item * proto_tree_add_text_valist_internal(proto_tree *tree, tvbuff_t *tvb, gint start, gint length, const char *format, va_list ap) { header_field_info *hfinfo; CHECK_FOR_NULL_TREE(tree); pi = proto_tree_add_text_node(tree, tvb, start, length); TRY_TO_FAKE_THIS_REPR(pi); proto_tree_set_repres...
proto_item * proto_tree_add_text_valist_internal(proto_tree *tree, tvbuff_t *tvb, gint start, gint length, const char *format, va_list ap) { header_field_info *hfinfo; if (length == -1) { length = 0; } tvb_ensure_bytes_exist(tvb, start, length); CHECK_FOR_NULL_TREE(tree); pi = proto_tree...
proto_item * proto_tree_add_text_valist_internal(proto_tree *tree, tvbuff_t *tvb, gint start, gint length, const char *format, va_list ap) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ header_field_info *hfinfo; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ pi = proto_tree_add_text_node(tree, tvb, sta...
proto_item * proto_tree_add_text_valist_internal(proto_tree *tree, tvbuff_t *tvb, gint start, gint length, const char *format, va_list ap) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ header_field_info *hfinfo; if (length == -1) { length = 0; } tvb_ensure_bytes_exist(tvb, start, length); ...
proto_item * proto_tree_add_text_valist_internal(proto_tree *tree, tvbuff_t *tvb, gint start, gint length, const char *format, va_list ap) { header_field_info *hfinfo; + if (length == -1) { + length = 0; + } + tvb_ensure_bytes_exist(tvb, start, length); CHECK_FOR_NULL_TREE(tree); pi = pr...
CVE-2016-6512
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-mmse.c
dissect_mmse
static void dissect_mmse(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 pdut, const char *message_type) { guint offset; guint8 field = 0; const char *strval; guint length; guint count; guint8 version = 0x80; proto_item *ti = NULL; proto_tree *mmse_tree = NULL; DebugLog((...
static void dissect_mmse(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 pdut, const char *message_type) { guint offset; guint8 field = 0; const char *strval; guint length; guint count; guint8 version = 0x80; proto_item *ti = NULL; proto_tree *mmse_tree = NULL; DebugLog((...
static void dissect_mmse(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 pdut, const char *message_type) { guint offset; guint8 field = 0; const char *strval; guint length; guint count; guint8 version = 0x80; proto_item *ti = NULL; proto_tree *mmse_tree = NULL; DebugLog((...
static void dissect_mmse(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 pdut, const char *message_type) { guint offset; guint8 field = 0; const char *strval; guint length; guint count; guint8 version = 0x80; proto_item *ti = NULL; proto_tree *mmse_tree = NULL; DebugLog((...
static void dissect_mmse(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 pdut, const char *message_type) { guint8 field = 0; proto_tree *mmse_tree = NULL; if (tree) { ti = proto_tree_add_item(tree, proto_mmse, tvb, 0, -1, ENC_NA); proto_item_append_text(ti, ", Type: %s", message_...
static void dissect_mmse(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 pdut, const char *message_type) { guint8 field = 0; proto_tree *mmse_tree = NULL; if (tree) { ti = proto_tree_add_item(tree, proto_mmse, tvb, 0, -1, ENC_NA); proto_item_append_text(ti, ", Type: %s", message_...
static void dissect_mmse(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 pdut, const char *message_type) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ guint8 field = 0; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ proto_tree *mmse_tree = NULL; /* PLACEHOLDER: DO NOT DELETE THIS COMMEN...
static void dissect_mmse(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 pdut, const char *message_type) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ guint8 field = 0; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ proto_tree *mmse_tree = NULL; /* PLACEHOLDER: DO NOT DELETE THIS COMMEN...
static void dissect_mmse(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 pdut, const char *message_type) { guint8 field = 0; proto_tree *mmse_tree = NULL; if (tree) { ti = proto_tree_add_item(tree, proto_mmse, tvb, 0, -1, ENC_NA); proto_item_append_text(ti, ", Type: %s", me...
CVE-2016-6512
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-mmse.c
get_encoded_strval
static guint get_encoded_strval(tvbuff_t *tvb, guint offset, const char **strval) { guint field; guint length; guint count; field = tvb_get_guint8(tvb, offset); if (field < 32) { length = get_value_length(tvb, offset, &count); if (length < 2) { *strval = ""; } els...
static guint get_encoded_strval(tvbuff_t *tvb, guint offset, const char **strval, packet_info *pinfo) { guint field; guint length; guint count; field = tvb_get_guint8(tvb, offset); if (field < 32) { length = get_value_length(tvb, offset, &count, pinfo); if (length < 2) { ...
static guint get_encoded_strval(tvbuff_t *tvb, guint offset, const char **strval) { guint field; guint length; guint count; field = tvb_get_guint8(tvb, offset); if (field < 32) { length = get_value_length(tvb, offset, &count); if (length < 2) { *strval = ""; } els...
static guint get_encoded_strval(tvbuff_t *tvb, guint offset, const char **strval, packet_info *pinfo) { guint field; guint length; guint count; field = tvb_get_guint8(tvb, offset); if (field < 32) { length = get_value_length(tvb, offset, &count, pinfo); if (length < 2) { ...
static guint get_encoded_strval(tvbuff_t *tvb, guint offset, const char **strval) { field = tvb_get_guint8(tvb, offset); if (field < 32) { length = get_value_length(tvb, offset, &count); if (length < 2) { } else { *strval = (char *)tvb_get_string_enc(wmem_packet_scope(), tvb,...
static guint get_encoded_strval(tvbuff_t *tvb, guint offset, const char **strval, packet_info *pinfo) { field = tvb_get_guint8(tvb, offset); if (field < 32) { length = get_value_length(tvb, offset, &count, pinfo); if (length < 2) { } else { *strval = (char *)tvb_get_string_en...
static guint get_encoded_strval(tvbuff_t *tvb, guint offset, const char **strval) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ field = tvb_get_guint8(tvb, offset); if (field < 32) { length = get_value_length(tvb, offset, &count); if (length < 2) { /* PLACEHOLDER: DO NOT DELETE THIS CO...
static guint get_encoded_strval(tvbuff_t *tvb, guint offset, const char **strval, packet_info *pinfo) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ field = tvb_get_guint8(tvb, offset); if (field < 32) { length = get_value_length(tvb, offset, &count, pinfo); if (length < 2) { /* PLACEHO...
-static guint get_encoded_strval(tvbuff_t *tvb, guint offset, const char **strval) { +static guint get_encoded_strval(tvbuff_t *tvb, guint offset, const char **strval, packet_info *pinfo) { field = tvb_get_guint8(tvb, offset); if (field < 32) { - length = get_value_length(tvb, offset, &count); + ...
CVE-2016-6512
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-mmse.c
get_value_length
static guint get_value_length(tvbuff_t *tvb, guint offset, guint *byte_count) { guint field; field = tvb_get_guint8(tvb, offset++); if (field < 31) { *byte_count = 1; } else { field = tvb_get_guintvar(tvb, offset, byte_count); (*byte_count)++; } return field; }
static guint get_value_length(tvbuff_t *tvb, guint offset, guint *byte_count, packet_info *pinfo) { guint field; field = tvb_get_guint8(tvb, offset++); if (field < 31) { *byte_count = 1; } else { field = tvb_get_guintvar(tvb, offset, byte_count, pinfo, &ei_mmse_oversized_uintvar); ...
static guint get_value_length(tvbuff_t *tvb, guint offset, guint *byte_count) { guint field; field = tvb_get_guint8(tvb, offset++); if (field < 31) { *byte_count = 1; } else { field = tvb_get_guintvar(tvb, offset, byte_count); (*byte_count)++; } return field; }
static guint get_value_length(tvbuff_t *tvb, guint offset, guint *byte_count, packet_info *pinfo) { guint field; field = tvb_get_guint8(tvb, offset++); if (field < 31) { *byte_count = 1; } else { field = tvb_get_guintvar(tvb, offset, byte_count, pinfo, &ei_mmse_oversized_uintvar); ...
static guint get_value_length(tvbuff_t *tvb, guint offset, guint *byte_count) { field = tvb_get_guint8(tvb, offset++); if (field < 31) { } else { field = tvb_get_guintvar(tvb, offset, byte_count); (*byte_count)++; } return field; }
static guint get_value_length(tvbuff_t *tvb, guint offset, guint *byte_count, packet_info *pinfo) { field = tvb_get_guint8(tvb, offset++); if (field < 31) { } else { field = tvb_get_guintvar(tvb, offset, byte_count, pinfo, &ei_mmse_oversized_uintvar); (*byte_count)++; } return field;...
static guint get_value_length(tvbuff_t *tvb, guint offset, guint *byte_count) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ field = tvb_get_guint8(tvb, offset++); if (field < 31) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ } else { field = tvb_get_guintvar(tvb, offset, byte_count); ...
static guint get_value_length(tvbuff_t *tvb, guint offset, guint *byte_count, packet_info *pinfo) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ field = tvb_get_guint8(tvb, offset++); if (field < 31) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ } else { field = tvb_get_guintvar(tvb, offs...
-static guint get_value_length(tvbuff_t *tvb, guint offset, guint *byte_count) { +static guint get_value_length(tvbuff_t *tvb, guint offset, guint *byte_count, packet_info *pinfo) { field = tvb_get_guint8(tvb, offset++); if (field < 31) { } else { - field = tvb_get_guintvar(tvb, offset, byte_count...
CVE-2016-6512
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-mmse.c
proto_register_mmse
void proto_register_mmse(void) { static hf_register_info hf[] = { { &hf_mmse_message_type, { "X-Mms-Message-Type", "mmse.message_type", FT_UT8, BASE_HEX, VALS(vals_message_type), 0x00, "Specifies the transaction type. Effectively defines PDU.", HFILL } }, { ...
void proto_register_mmse(void) { static hf_register_info hf[] = { { &hf_mmse_message_type, { "X-Mms-Message-Type", "mmse.message_type", FT_UT8, BASE_HEX, VALS(vals_message_type), 0x00, "Specifies the transaction type. Effectively defines PDU.", HFILL } }, { ...
void proto_register_mmse(void) { static hf_register_info hf[] = { { &hf_mmse_message_type, { "X-Mms-Message-Type", "mmse.message_type", FT_UT8, BASE_HEX, VALS(vals_message_type), 0x00, "Specifies the transaction type. Effectively defines PDU.", HFILL } }, { ...
void proto_register_mmse(void) { static hf_register_info hf[] = { { &hf_mmse_message_type, { "X-Mms-Message-Type", "mmse.message_type", FT_UT8, BASE_HEX, VALS(vals_message_type), 0x00, "Specifies the transaction type. Effectively defines PDU.", HFILL } }, { ...
void proto_register_mmse(void) { static hf_register_info hf[] = { { &hf_mmse_message_type, { "X-Mms-Message-Type", "mmse.message_type", FT_UT8, BASE_HEX, VALS(vals_message_type), 0x00, "Specifies the transaction type. Effectively defines PDU.", HFILL } }, { ...
void proto_register_mmse(void) { static hf_register_info hf[] = { { &hf_mmse_message_type, { "X-Mms-Message-Type", "mmse.message_type", FT_UT8, BASE_HEX, VALS(vals_message_type), 0x00, "Specifies the transaction type. Effectively defines PDU.", HFILL } }, { ...
void proto_register_mmse(void) { static hf_register_info hf[] = { { &hf_mmse_message_type, { "X-Mms-Message-Type", "mmse.message_type", FT_UT8, BASE_HEX, VALS(vals_message_type), 0x00, "Specifies the transaction type. Effectively defines PDU.", HFILL } }, { ...
void proto_register_mmse(void) { static hf_register_info hf[] = { { &hf_mmse_message_type, { "X-Mms-Message-Type", "mmse.message_type", FT_UT8, BASE_HEX, VALS(vals_message_type), 0x00, "Specifies the transaction type. Effectively defines PDU.", HFILL } }, { ...
void proto_register_mmse(void) { static hf_register_info hf[] = { { &hf_mmse_message_type, { "X-Mms-Message-Type", "mmse.message_type", FT_UT8, BASE_HEX, VALS(vals_message_type), 0x00, "Specifies the transaction type. Effectively defines PDU.", HFILL } ...
CVE-2016-6512
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-wap.c
tvb_get_guintvar
guint tvb_get_guintvar (tvbuff_t *tvb, guint offset, guint *octetCount) { guint value = 0; guint octet; guint counter = 0; char cont = 1; if (octetCount != NULL) { fprintf (stderr, "dissect_wap: Starting tvb_get_guintvar at offset %d, count=%d\n", offset, *octetCount); } else { f...
guint tvb_get_guintvar (tvbuff_t *tvb, guint offset, guint *octetCount, packet_info *pinfo, expert_field *ei) { guint value = 0; guint octet; guint counter = 0; char cont = 1; if (octetCount != NULL) { fprintf (stderr, "dissect_wap: Starting tvb_get_guintvar at offset %d, count=%d\n", offset...
guint tvb_get_guintvar (tvbuff_t *tvb, guint offset, guint *octetCount) { guint value = 0; guint octet; guint counter = 0; char cont = 1; if (octetCount != NULL) { fprintf (stderr, "dissect_wap: Starting tvb_get_guintvar at offset %d, count=%d\n", offset, *octetCount); } else { f...
guint tvb_get_guintvar (tvbuff_t *tvb, guint offset, guint *octetCount, packet_info *pinfo, expert_field *ei) { guint value = 0; guint octet; guint counter = 0; char cont = 1; if (octetCount != NULL) { fprintf (stderr, "dissect_wap: Starting tvb_get_guintvar at offset %d, count=%d\n", offset...
guint tvb_get_guintvar (tvbuff_t *tvb, guint offset, guint *octetCount) { guint value = 0; guint counter = 0; if (octetCount != NULL) { fprintf (stderr, "dissect_wap: Starting tvb_get_guintvar at offset %d, count=%d\n", offset, *octetCount); } else { fprintf (stderr, "dissect_wap: Starti...
guint tvb_get_guintvar (tvbuff_t *tvb, guint offset, guint *octetCount, packet_info *pinfo, expert_field *ei) { guint value = 0; guint counter = 0; if (octetCount != NULL) { fprintf (stderr, "dissect_wap: Starting tvb_get_guintvar at offset %d, count=%d\n", offset, *octetCount); } else { ...
guint tvb_get_guintvar (tvbuff_t *tvb, guint offset, guint *octetCount) { guint value = 0; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ guint counter = 0; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ if (octetCount != NULL) { fprintf (stderr, "dissect_wap: Starting tvb_get_guintvar at offs...
guint tvb_get_guintvar (tvbuff_t *tvb, guint offset, guint *octetCount, packet_info *pinfo, expert_field *ei) { guint value = 0; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ guint counter = 0; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ if (octetCount != NULL) { fprintf (stderr, "dissect_...
-guint tvb_get_guintvar (tvbuff_t *tvb, guint offset, guint *octetCount) { +guint tvb_get_guintvar (tvbuff_t *tvb, guint offset, guint *octetCount, packet_info *pinfo, expert_field *ei) { guint value = 0; guint counter = 0; if (octetCount != NULL) { fprintf (stderr, "dissect_wap: Starting tvb_ge...
CVE-2016-6512
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-wbxml.c
default_opaque_binary_attr
static char * default_opaque_binary_attr(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = wmem_strdup_printf(wmem_packet_scope(), "(%u bytes of opaque data)", data_len); *length += data_len; return str;...
static char * default_opaque_binary_attr(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = wmem_strdup_printf(wmem_packet_scope(), "(%u bytes of opaque dat...
static char * default_opaque_binary_attr(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = wmem_strdup_printf(wmem_packet_scope(), "(%u bytes of opaque data)", data_len); *length += data_len; return str;...
static char * default_opaque_binary_attr(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = wmem_strdup_printf(wmem_packet_scope(), "(%u bytes of opaque dat...
static char * default_opaque_binary_attr(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = wmem_strdup_printf(wmem_packet_scope(), "(%u bytes of opaque data)", data_len); *length += data_len; return str;...
static char * default_opaque_binary_attr(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = wmem_strdup_printf(wmem_packet_scope(), "(%u bytes of opaque dat...
static char * default_opaque_binary_attr(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = wmem_strdup_printf(wmem_packet_scope(), "(%u bytes of opaque data)", data_len); *length += data_len; return str;...
static char * default_opaque_binary_attr(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = wmem_strdup_printf(wmem_packet_scope(), "(%u bytes of opaque dat...
-static char * default_opaque_binary_attr(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length) { - guint32 data_len = tvb_get_guintvar(tvb, offset, length); +static char * default_opaque_binary_attr(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length, packet_info *...
CVE-2016-6512
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-wbxml.c
default_opaque_binary_tag
static char * default_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = wmem_strdup_printf(wmem_packet_scope(), "(%u bytes of opaque data)", data_len); *length += data_len; return str; ...
static char * default_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = wmem_strdup_printf(wmem_packet_scope(), "(%u bytes of opaque data...
static char * default_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = wmem_strdup_printf(wmem_packet_scope(), "(%u bytes of opaque data)", data_len); *length += data_len; return str; ...
static char * default_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = wmem_strdup_printf(wmem_packet_scope(), "(%u bytes of opaque data...
static char * default_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = wmem_strdup_printf(wmem_packet_scope(), "(%u bytes of opaque data)", data_len); *length += data_len; return str; ...
static char * default_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = wmem_strdup_printf(wmem_packet_scope(), "(%u bytes of opaque data...
static char * default_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = wmem_strdup_printf(wmem_packet_scope(), "(%u bytes of opaque data)", data_len); *length += data_len; return str; ...
static char * default_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = wmem_strdup_printf(wmem_packet_scope(), "(%u bytes of opaque data...
-static char * default_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length) { - guint32 data_len = tvb_get_guintvar(tvb, offset, length); +static char * default_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length, packet_info *pi...
CVE-2016-6512
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-wbxml.c
default_opaque_literal_attr
static char * default_opaque_literal_attr(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = wmem_strdup_printf(wmem_packet_scope(), "(%u bytes of opaque data)", data_len); *length += data_len; retur...
static char * default_opaque_literal_attr(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = wmem_strdup_printf(wmem_packet_scope(), "(%u bytes of opaq...
static char * default_opaque_literal_attr(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = wmem_strdup_printf(wmem_packet_scope(), "(%u bytes of opaque data)", data_len); *length += data_len; retur...
static char * default_opaque_literal_attr(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = wmem_strdup_printf(wmem_packet_scope(), "(%u bytes of opaq...
static char * default_opaque_literal_attr(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = wmem_strdup_printf(wmem_packet_scope(), "(%u bytes of opaque data)", data_len); *length += data_len; retur...
static char * default_opaque_literal_attr(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = wmem_strdup_printf(wmem_packet_scope(), "(%u bytes of opaq...
static char * default_opaque_literal_attr(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = wmem_strdup_printf(wmem_packet_scope(), "(%u bytes of opaque data)", data_len); *length += data_len; retur...
static char * default_opaque_literal_attr(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = wmem_strdup_printf(wmem_packet_scope(), "(%u bytes of opaq...
-static char * default_opaque_literal_attr(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length) { - guint32 data_len = tvb_get_guintvar(tvb, offset, length); +static char * default_opaque_literal_attr(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length, p...
CVE-2016-6512
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-wbxml.c
default_opaque_literal_tag
static char * default_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = wmem_strdup_printf(wmem_packet_scope(), "(%u bytes of opaque data)", data_len); *length += data_len; return...
static char * default_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = wmem_strdup_printf(wmem_packet_scope(), "(%u bytes of opaqu...
static char * default_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = wmem_strdup_printf(wmem_packet_scope(), "(%u bytes of opaque data)", data_len); *length += data_len; return...
static char * default_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = wmem_strdup_printf(wmem_packet_scope(), "(%u bytes of opaqu...
static char * default_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = wmem_strdup_printf(wmem_packet_scope(), "(%u bytes of opaque data)", data_len); *length += data_len; return...
static char * default_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = wmem_strdup_printf(wmem_packet_scope(), "(%u bytes of opaqu...
static char * default_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = wmem_strdup_printf(wmem_packet_scope(), "(%u bytes of opaque data)", data_len); *length += data_len; return...
static char * default_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = wmem_strdup_printf(wmem_packet_scope(), "(%u bytes of opaqu...
-static char * default_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length) { - guint32 data_len = tvb_get_guintvar(tvb, offset, length); +static char * default_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length, pac...
CVE-2016-6512
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-wbxml.c
dissect_wbxml_common
static void dissect_wbxml_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, const wbxml_decoding *override_content_map) { proto_item *ti; proto_tree *wbxml_tree; proto_tree *wbxml_str_tbl_tree; proto_tree *wbxml_content_tree; proto_tree *tag_tree; guint8 version; guint offset = 0; ...
static void dissect_wbxml_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, const wbxml_decoding *override_content_map) { proto_item *ti; proto_tree *wbxml_tree; proto_tree *wbxml_str_tbl_tree; proto_tree *wbxml_content_tree; proto_tree *tag_tree; guint8 version; guint offset = 0; ...
static void dissect_wbxml_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, const wbxml_decoding *override_content_map) { proto_item *ti; proto_tree *wbxml_tree; proto_tree *wbxml_str_tbl_tree; proto_tree *wbxml_content_tree; proto_tree *tag_tree; guint8 version; guint offset = 0; ...
static void dissect_wbxml_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, const wbxml_decoding *override_content_map) { proto_item *ti; proto_tree *wbxml_tree; proto_tree *wbxml_str_tbl_tree; proto_tree *wbxml_content_tree; proto_tree *tag_tree; guint8 version; guint offset = 0; ...
static void dissect_wbxml_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, const wbxml_decoding *override_content_map) { guint32 charset = 0; guint32 charset_len = 0; guint32 publicid_index = 0; guint32 str_tbl_len_len = 0; guint8 level = 0; guint8 codepage_stag = 0; guint8 codepa...
static void dissect_wbxml_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, const wbxml_decoding *override_content_map) { guint32 charset = 0; guint32 charset_len = 0; guint32 publicid_index = 0; guint32 str_tbl_len_len = 0; guint8 level = 0; guint8 codepage_stag = 0; guint8 codepa...
static void dissect_wbxml_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, const wbxml_decoding *override_content_map) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ guint32 charset = 0; guint32 charset_len = 0; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ guint32 publicid_index = 0; ...
static void dissect_wbxml_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, const wbxml_decoding *override_content_map) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ guint32 charset = 0; guint32 charset_len = 0; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ guint32 publicid_index = 0; ...
static void dissect_wbxml_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, const wbxml_decoding *override_content_map) { guint32 charset = 0; guint32 charset_len = 0; guint32 publicid_index = 0; guint32 str_tbl_len_len = 0; guint8 level = 0; guint8 codepage_stag = 0; guint...
CVE-2016-6512
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-wbxml.c
emnc10_opaque_binary_attr
static char * emnc10_opaque_binary_attr(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = NULL; switch (codepage) { case 0: switch (token) { case 0x05: str = date_time_from_op...
static char * emnc10_opaque_binary_attr(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = NULL; switch (codepage) { case 0: switch (token) ...
static char * emnc10_opaque_binary_attr(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = NULL; switch (codepage) { case 0: switch (token) { case 0x05: str = date_time_from_op...
static char * emnc10_opaque_binary_attr(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = NULL; switch (codepage) { case 0: switch (token) ...
static char * emnc10_opaque_binary_attr(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = NULL; switch (codepage) { case 0: switch (token) { case 0x05: str = date_time_from_op...
static char * emnc10_opaque_binary_attr(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = NULL; switch (codepage) { case 0: switch (token) ...
static char * emnc10_opaque_binary_attr(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = NULL; switch (codepage) { case 0: switch (token) { case 0x05: str = date_time_from_op...
static char * emnc10_opaque_binary_attr(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = NULL; switch (codepage) { case 0: switch (token) ...
-static char * emnc10_opaque_binary_attr(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length) { - guint32 data_len = tvb_get_guintvar(tvb, offset, length); +static char * emnc10_opaque_binary_attr(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length, packet_info *pi...
CVE-2016-6512
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-wbxml.c
emnc10_opaque_literal_attr
static char * emnc10_opaque_literal_attr(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = NULL; if ( token && (strcmp(token, "timestamp") == 0) ) { str = date_time_from_opaque(tvb, offset + *le...
static char * emnc10_opaque_literal_attr(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = NULL; if ( token && (strcmp(token, "timestamp") == 0) )...
static char * emnc10_opaque_literal_attr(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = NULL; if ( token && (strcmp(token, "timestamp") == 0) ) { str = date_time_from_opaque(tvb, offset + *le...
static char * emnc10_opaque_literal_attr(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = NULL; if ( token && (strcmp(token, "timestamp") == 0) )...
static char * emnc10_opaque_literal_attr(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = NULL; if ( token && (strcmp(token, "timestamp") == 0) ) { str = date_time_from_opaque(tvb, offset + *le...
static char * emnc10_opaque_literal_attr(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = NULL; if ( token && (strcmp(token, "timestamp") == 0) )...
static char * emnc10_opaque_literal_attr(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = NULL; if ( token && (strcmp(token, "timestamp") == 0) ) { str = date_time_from_opaque(tvb, offset + *le...
static char * emnc10_opaque_literal_attr(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = NULL; if ( token && (strcmp(token, "timestamp") == 0) )...
-static char * emnc10_opaque_literal_attr(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length) { - guint32 data_len = tvb_get_guintvar(tvb, offset, length); +static char * emnc10_opaque_literal_attr(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length, pac...
CVE-2016-6512
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-wbxml.c
parse_wbxml_attribute_list_defined
static guint32 parse_wbxml_attribute_list_defined (proto_tree *tree, tvbuff_t *tvb, guint32 offset, guint32 str_tbl, guint8 level, guint8 *codepage_attr, const wbxml_decoding *map) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off = offset; guint32 len; guint str_len; guint32 ent; guint...
static guint32 parse_wbxml_attribute_list_defined (proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, guint32 offset, guint32 str_tbl, guint8 level, guint8 *codepage_attr, const wbxml_decoding *map) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off = offset; guint32 len; guint str_len...
static guint32 parse_wbxml_attribute_list_defined (proto_tree *tree, tvbuff_t *tvb, guint32 offset, guint32 str_tbl, guint8 level, guint8 *codepage_attr, const wbxml_decoding *map) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off = offset; guint32 len; guint str_len; guint32 ent; guint...
static guint32 parse_wbxml_attribute_list_defined (proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, guint32 offset, guint32 str_tbl, guint8 level, guint8 *codepage_attr, const wbxml_decoding *map) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off = offset; guint32 len; guint str_len...
static guint32 parse_wbxml_attribute_list_defined (proto_tree *tree, tvbuff_t *tvb, guint32 offset, guint32 str_tbl, guint8 level, guint8 *codepage_attr, const wbxml_decoding *map) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off = offset; guint8 attr_save_known = 0; const char *attr_save_lite...
static guint32 parse_wbxml_attribute_list_defined (proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, guint32 offset, guint32 str_tbl, guint8 level, guint8 *codepage_attr, const wbxml_decoding *map) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off = offset; guint8 attr_save_known = 0; ...
static guint32 parse_wbxml_attribute_list_defined (proto_tree *tree, tvbuff_t *tvb, guint32 offset, guint32 str_tbl, guint8 level, guint8 *codepage_attr, const wbxml_decoding *map) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off = offset; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ guint8 a...
static guint32 parse_wbxml_attribute_list_defined (proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, guint32 offset, guint32 str_tbl, guint8 level, guint8 *codepage_attr, const wbxml_decoding *map) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off = offset; /* PLACEHOLDER: DO NOT DELETE ...
-static guint32 parse_wbxml_attribute_list_defined (proto_tree *tree, tvbuff_t *tvb, guint32 offset, guint32 str_tbl, guint8 level, guint8 *codepage_attr, const wbxml_decoding *map) { +static guint32 parse_wbxml_attribute_list_defined (proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, guint32 offset, guint32 str_tbl...
CVE-2016-6512
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-wbxml.c
parse_wbxml_tag_defined
static guint32 parse_wbxml_tag_defined (proto_tree *tree, tvbuff_t *tvb, guint32 offset, guint32 str_tbl, guint8 *level, guint8 *codepage_stag, guint8 *codepage_attr, const wbxml_decoding *map) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off = offset; guint32 len; guint str_len; guint32 e...
static guint32 parse_wbxml_tag_defined (proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, guint32 offset, guint32 str_tbl, guint8 *level, guint8 *codepage_stag, guint8 *codepage_attr, const wbxml_decoding *map) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off...
static guint32 parse_wbxml_tag_defined (proto_tree *tree, tvbuff_t *tvb, guint32 offset, guint32 str_tbl, guint8 *level, guint8 *codepage_stag, guint8 *codepage_attr, const wbxml_decoding *map) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off = offset; guint32 len; guint str_len; guint32 e...
static guint32 parse_wbxml_tag_defined (proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, guint32 offset, guint32 str_tbl, guint8 *level, guint8 *codepage_stag, guint8 *codepage_attr, const wbxml_decoding *map) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off...
static guint32 parse_wbxml_tag_defined (proto_tree *tree, tvbuff_t *tvb, guint32 offset, guint32 str_tbl, guint8 *level, guint8 *codepage_stag, guint8 *codepage_attr, const wbxml_decoding *map) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off = offset; guint8 tag_save_known = 0; const char *ta...
static guint32 parse_wbxml_tag_defined (proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, guint32 offset, guint32 str_tbl, guint8 *level, guint8 *codepage_stag, guint8 *codepage_attr, const wbxml_decoding *map) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off...
static guint32 parse_wbxml_tag_defined (proto_tree *tree, tvbuff_t *tvb, guint32 offset, guint32 str_tbl, guint8 *level, guint8 *codepage_stag, guint8 *codepage_attr, const wbxml_decoding *map) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off = offset; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */...
static guint32 parse_wbxml_tag_defined (proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, guint32 offset, guint32 str_tbl, guint8 *level, guint8 *codepage_stag, guint8 *codepage_attr, const wbxml_decoding *map) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off...
-static guint32 parse_wbxml_tag_defined (proto_tree *tree, tvbuff_t *tvb, guint32 offset, guint32 str_tbl, guint8 *level, guint8 *codepage_stag, guint8 *codepage_attr, const wbxml_decoding *map) { +static guint32 parse_wbxml_tag_defined (proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, guint32 offset, guint32 str_t...
CVE-2016-6512
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-wbxml.c
proto_register_wbxml
void proto_register_wbxml(void) { module_t *wbxml_module; static hf_register_info hf[] = { { &hf_wbxml_version, { "Version", "wbxml.version", FT_UT8, BASE_HEX|BASE_EXT_STRG, &vals_wbxml_versions_ext, 0x00, "WBXML Version", HFILL } }, { &hf_wbxm...
void proto_register_wbxml(void) { module_t *wbxml_module; static hf_register_info hf[] = { { &hf_wbxml_version, { "Version", "wbxml.version", FT_UT8, BASE_HEX|BASE_EXT_STRG, &vals_wbxml_versions_ext, 0x00, "WBXML Version", HFILL } }, { &hf_wbxm...
void proto_register_wbxml(void) { module_t *wbxml_module; static hf_register_info hf[] = { { &hf_wbxml_version, { "Version", "wbxml.version", FT_UT8, BASE_HEX|BASE_EXT_STRG, &vals_wbxml_versions_ext, 0x00, "WBXML Version", HFILL } }, { &hf_wbxm...
void proto_register_wbxml(void) { module_t *wbxml_module; static hf_register_info hf[] = { { &hf_wbxml_version, { "Version", "wbxml.version", FT_UT8, BASE_HEX|BASE_EXT_STRG, &vals_wbxml_versions_ext, 0x00, "WBXML Version", HFILL } }, { &hf_wbxm...
void proto_register_wbxml(void) { static gint *ett[] = { &ett_wbxml, &ett_wbxml_str_tbl, &ett_wbxml_content, &ett_wbxml_tags, &ett_wbxml_string_table_item, }; static ei_register_info ei[] = { { &ei_wbxml_data_not_shown, { "wbxml.data_not_shown", PI_PROTOCOL, PI_NOTE, "Data representation not...
void proto_register_wbxml(void) { static gint *ett[] = { &ett_wbxml, &ett_wbxml_str_tbl, &ett_wbxml_content, &ett_wbxml_tags, &ett_wbxml_string_table_item, }; static ei_register_info ei[] = { { &ei_wbxml_data_not_shown, { "wbxml.data_not_shown", PI_PROTOCOL, PI_NOTE, "Data representation not...
void proto_register_wbxml(void) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ static gint *ett[] = { &ett_wbxml, &ett_wbxml_str_tbl, &ett_wbxml_content, &ett_wbxml_tags, &ett_wbxml_string_table_item, }; static ei_register_info ei[] = { { &ei_wbxml_data_not_shown, { "wbxml.data_not_show...
void proto_register_wbxml(void) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ static gint *ett[] = { &ett_wbxml, &ett_wbxml_str_tbl, &ett_wbxml_content, &ett_wbxml_tags, &ett_wbxml_string_table_item, }; static ei_register_info ei[] = { { &ei_wbxml_data_not_shown, { "wbxml.data_not_show...
void proto_register_wbxml(void) { static gint *ett[] = { &ett_wbxml, &ett_wbxml_str_tbl, &ett_wbxml_content, &ett_wbxml_tags, &ett_wbxml_string_table_item, }; static ei_register_info ei[] = { - { &ei_wbxml_data_not_shown, { "wbxml.data_not_shown", PI_PROTOCOL, PI_NOTE, "Data representati...
CVE-2016-6512
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-wbxml.c
sic10_opaque_binary_attr
static char * sic10_opaque_binary_attr(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = NULL; switch (codepage) { case 0: switch (token) { case 0x0A: case 0x10: str =...
static char * sic10_opaque_binary_attr(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = NULL; switch (codepage) { case 0: switch (token) {...
static char * sic10_opaque_binary_attr(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = NULL; switch (codepage) { case 0: switch (token) { case 0x0A: case 0x10: str =...
static char * sic10_opaque_binary_attr(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = NULL; switch (codepage) { case 0: switch (token) {...
static char * sic10_opaque_binary_attr(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = NULL; switch (codepage) { case 0: switch (token) { case 0x10: str = date_time_from_opa...
static char * sic10_opaque_binary_attr(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = NULL; switch (codepage) { case 0: switch (token) {...
static char * sic10_opaque_binary_attr(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = NULL; switch (codepage) { case 0: switch (token) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ ...
static char * sic10_opaque_binary_attr(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = NULL; switch (codepage) { case 0: switch (token) {...
-static char * sic10_opaque_binary_attr(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length) { - guint32 data_len = tvb_get_guintvar(tvb, offset, length); +static char * sic10_opaque_binary_attr(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length, packet_info *pinf...
CVE-2016-6512
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-wbxml.c
sic10_opaque_literal_attr
static char * sic10_opaque_literal_attr(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = NULL; if ( token && ( (strcmp(token, "created") == 0) || (strcmp(token, "si-expires") == 0) ) ) { str = ...
static char * sic10_opaque_literal_attr(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = NULL; if ( token && ( (strcmp(token, "created") == 0) ||...
static char * sic10_opaque_literal_attr(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = NULL; if ( token && ( (strcmp(token, "created") == 0) || (strcmp(token, "si-expires") == 0) ) ) { str = ...
static char * sic10_opaque_literal_attr(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = NULL; if ( token && ( (strcmp(token, "created") == 0) ||...
static char * sic10_opaque_literal_attr(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = NULL; if ( token && ( (strcmp(token, "created") == 0) || (strcmp(token, "si-expires") == 0) ) ) { str = ...
static char * sic10_opaque_literal_attr(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = NULL; if ( token && ( (strcmp(token, "created") == 0) ||...
static char * sic10_opaque_literal_attr(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = NULL; if ( token && ( (strcmp(token, "created") == 0) || (strcmp(token, "si-expires") == 0) ) ) { str = ...
static char * sic10_opaque_literal_attr(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = NULL; if ( token && ( (strcmp(token, "created") == 0) ||...
-static char * sic10_opaque_literal_attr(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length) { - guint32 data_len = tvb_get_guintvar(tvb, offset, length); +static char * sic10_opaque_literal_attr(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length, packe...
CVE-2016-6512
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-wbxml.c
wv_csp10_opaque_binary_tag
static char * wv_csp10_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = NULL; switch (codepage) { case 0: switch (token) { case 0x0B: case 0x0F: case 0x...
static char * wv_csp10_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = NULL; switch (codepage) { case 0: switch (token)...
static char * wv_csp10_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = NULL; switch (codepage) { case 0: switch (token) { case 0x0B: case 0x0F: case 0x...
static char * wv_csp10_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = NULL; switch (codepage) { case 0: switch (token)...
static char * wv_csp10_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = NULL; switch (codepage) { case 0: switch (token) { case 0x3C: str = wv_integer_from_...
static char * wv_csp10_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = NULL; switch (codepage) { case 0: switch (token)...
static char * wv_csp10_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = NULL; switch (codepage) { case 0: switch (token) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ ...
static char * wv_csp10_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = NULL; switch (codepage) { case 0: switch (token)...
-static char * wv_csp10_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length) { - guint32 data_len = tvb_get_guintvar(tvb, offset, length); +static char * wv_csp10_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length, packet_info *...
CVE-2016-6512
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-wbxml.c
wv_csp10_opaque_literal_tag
static char * wv_csp10_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = NULL; if ( token && ( (strcmp(token, "Code") == 0) || (strcmp(token, "ContentSize") == 0) || (strcmp(token, "M...
static char * wv_csp10_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = NULL; if ( token && ( (strcmp(token, "Code") == 0) || ...
static char * wv_csp10_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = NULL; if ( token && ( (strcmp(token, "Code") == 0) || (strcmp(token, "ContentSize") == 0) || (strcmp(token, "M...
static char * wv_csp10_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = NULL; if ( token && ( (strcmp(token, "Code") == 0) || ...
static char * wv_csp10_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = NULL; if ( token && ( (strcmp(token, "Code") == 0) || (strcmp(token, "ContentSize") == 0) || (strcmp(token, "M...
static char * wv_csp10_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = NULL; if ( token && ( (strcmp(token, "Code") == 0) || ...
static char * wv_csp10_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = NULL; if ( token && ( (strcmp(token, "Code") == 0) || (strcmp(token, "ContentSize") == 0) || (strcmp(token, "M...
static char * wv_csp10_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = NULL; if ( token && ( (strcmp(token, "Code") == 0) || ...
-static char * wv_csp10_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length) { - guint32 data_len = tvb_get_guintvar(tvb, offset, length); +static char * wv_csp10_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length, p...
CVE-2016-6512
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-wbxml.c
wv_csp11_opaque_binary_tag
static char * wv_csp11_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = NULL; switch (codepage) { case 0: switch (token) { case 0x0B: case 0x0F: case 0x...
static char * wv_csp11_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = NULL; switch (codepage) { case 0: switch (token)...
static char * wv_csp11_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = NULL; switch (codepage) { case 0: switch (token) { case 0x0B: case 0x0F: case 0x...
static char * wv_csp11_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = NULL; switch (codepage) { case 0: switch (token)...
static char * wv_csp11_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = NULL; switch (codepage) { case 0: switch (token) { case 0x3C: str = wv_integer_from_...
static char * wv_csp11_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = NULL; switch (codepage) { case 0: switch (token)...
static char * wv_csp11_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = NULL; switch (codepage) { case 0: switch (token) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ ...
static char * wv_csp11_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = NULL; switch (codepage) { case 0: switch (token)...
-static char * wv_csp11_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length) { - guint32 data_len = tvb_get_guintvar(tvb, offset, length); +static char * wv_csp11_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length, packet_info *...
CVE-2016-6512
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-wbxml.c
wv_csp11_opaque_literal_tag
static char * wv_csp11_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = NULL; if ( token && ( (strcmp(token, "Code") == 0) || (strcmp(token, "ContentSize") == 0) || (strcmp(token, "M...
static char * wv_csp11_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = NULL; if ( token && ( (strcmp(token, "Code") == 0) || ...
static char * wv_csp11_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = NULL; if ( token && ( (strcmp(token, "Code") == 0) || (strcmp(token, "ContentSize") == 0) || (strcmp(token, "M...
static char * wv_csp11_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = NULL; if ( token && ( (strcmp(token, "Code") == 0) || ...
static char * wv_csp11_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = NULL; if ( token && ( (strcmp(token, "Code") == 0) || (strcmp(token, "ContentSize") == 0) || (strcmp(token, "M...
static char * wv_csp11_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = NULL; if ( token && ( (strcmp(token, "Code") == 0) || ...
static char * wv_csp11_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = NULL; if ( token && ( (strcmp(token, "Code") == 0) || (strcmp(token, "ContentSize") == 0) || (strcmp(token, "M...
static char * wv_csp11_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = NULL; if ( token && ( (strcmp(token, "Code") == 0) || ...
-static char * wv_csp11_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length) { - guint32 data_len = tvb_get_guintvar(tvb, offset, length); +static char * wv_csp11_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length, p...
CVE-2016-6512
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-wbxml.c
wv_csp12_opaque_binary_tag
static char * wv_csp12_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = NULL; switch (codepage) { case 0: switch (token) { case 0x0B: case 0x0F: case 0x...
static char * wv_csp12_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = NULL; switch (codepage) { case 0: switch (token)...
static char * wv_csp12_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = NULL; switch (codepage) { case 0: switch (token) { case 0x0B: case 0x0F: case 0x...
static char * wv_csp12_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = NULL; switch (codepage) { case 0: switch (token)...
static char * wv_csp12_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = NULL; switch (codepage) { case 0: switch (token) { case 0x3C: str = wv_integer_from_...
static char * wv_csp12_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = NULL; switch (codepage) { case 0: switch (token)...
static char * wv_csp12_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = NULL; switch (codepage) { case 0: switch (token) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ ...
static char * wv_csp12_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = NULL; switch (codepage) { case 0: switch (token)...
-static char * wv_csp12_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length) { - guint32 data_len = tvb_get_guintvar(tvb, offset, length); +static char * wv_csp12_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length, packet_info *...
CVE-2016-6512
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-wbxml.c
wv_csp12_opaque_literal_tag
static char * wv_csp12_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = NULL; if ( token && ( (strcmp(token, "Code") == 0) || (strcmp(token, "ContentSize") == 0) || (strcmp(token, "M...
static char * wv_csp12_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = NULL; if ( token && ( (strcmp(token, "Code") == 0) || ...
static char * wv_csp12_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = NULL; if ( token && ( (strcmp(token, "Code") == 0) || (strcmp(token, "ContentSize") == 0) || (strcmp(token, "M...
static char * wv_csp12_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = NULL; if ( token && ( (strcmp(token, "Code") == 0) || ...
static char * wv_csp12_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = NULL; if ( token && ( (strcmp(token, "Code") == 0) || (strcmp(token, "ContentSize") == 0) || (strcmp(token, "M...
static char * wv_csp12_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = NULL; if ( token && ( (strcmp(token, "Code") == 0) || ...
static char * wv_csp12_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = NULL; if ( token && ( (strcmp(token, "Code") == 0) || (strcmp(token, "ContentSize") == 0) || (strcmp(token, "M...
static char * wv_csp12_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = NULL; if ( token && ( (strcmp(token, "Code") == 0) || ...
-static char * wv_csp12_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length) { - guint32 data_len = tvb_get_guintvar(tvb, offset, length); +static char * wv_csp12_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length, p...
CVE-2016-6512
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-wbxml.c
wv_csp13_opaque_binary_tag
static char * wv_csp13_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = NULL; switch (codepage) { case 0: switch (token) { case 0x0B: case 0x0F: case 0x...
static char * wv_csp13_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = NULL; switch (codepage) { case 0: switch (token)...
static char * wv_csp13_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = NULL; switch (codepage) { case 0: switch (token) { case 0x0B: case 0x0F: case 0x...
static char * wv_csp13_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = NULL; switch (codepage) { case 0: switch (token)...
static char * wv_csp13_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = NULL; switch (codepage) { case 0: switch (token) { case 0x3C: str = wv_integer_from_...
static char * wv_csp13_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = NULL; switch (codepage) { case 0: switch (token)...
static char * wv_csp13_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = NULL; switch (codepage) { case 0: switch (token) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ ...
static char * wv_csp13_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = NULL; switch (codepage) { case 0: switch (token)...
-static char * wv_csp13_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length) { - guint32 data_len = tvb_get_guintvar(tvb, offset, length); +static char * wv_csp13_opaque_binary_tag(tvbuff_t *tvb, guint32 offset, guint8 token, guint8 codepage, guint32 *length, packet_info *...
CVE-2016-6512
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-wbxml.c
wv_csp13_opaque_literal_tag
static char * wv_csp13_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = NULL; if ( token && ( (strcmp(token, "Code") == 0) || (strcmp(token, "ContentSize") == 0) || (strcmp(token, "M...
static char * wv_csp13_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = NULL; if ( token && ( (strcmp(token, "Code") == 0) || ...
static char * wv_csp13_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = NULL; if ( token && ( (strcmp(token, "Code") == 0) || (strcmp(token, "ContentSize") == 0) || (strcmp(token, "M...
static char * wv_csp13_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = NULL; if ( token && ( (strcmp(token, "Code") == 0) || ...
static char * wv_csp13_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = NULL; if ( token && ( (strcmp(token, "Code") == 0) || (strcmp(token, "ContentSize") == 0) || (strcmp(token, "M...
static char * wv_csp13_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = NULL; if ( token && ( (strcmp(token, "Code") == 0) || ...
static char * wv_csp13_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length) { guint32 data_len = tvb_get_guintvar(tvb, offset, length); char *str = NULL; if ( token && ( (strcmp(token, "Code") == 0) || (strcmp(token, "ContentSize") == 0) || (strcmp(token, "M...
static char * wv_csp13_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length, packet_info *pinfo) { guint32 data_len = tvb_get_guintvar(tvb, offset, length, pinfo, &ei_wbxml_oversized_uintvar); char *str = NULL; if ( token && ( (strcmp(token, "Code") == 0) || ...
-static char * wv_csp13_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length) { - guint32 data_len = tvb_get_guintvar(tvb, offset, length); +static char * wv_csp13_opaque_literal_tag(tvbuff_t *tvb, guint32 offset, const char *token, guint8 codepage, guint32 *length, p...
CVE-2016-6512
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-wsp.c
dissect_sir
static int dissect_sir(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data ) { guint8 version; guint32 val_len; guint32 val_len_save; guint32 len; guint32 offset = 0; guint32 i; tvbuff_t *tmp_tvb; proto_tree *subtree; proto_item *ti; col_append_str(pinfo->cinfo, COL_F...
static int dissect_sir(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data ) { guint8 version; guint32 val_len; guint32 val_len_save; guint32 len; guint32 offset = 0; guint32 i; tvbuff_t *tmp_tvb; proto_tree *subtree; proto_item *ti; col_append_str(pinfo->cinfo, COL_F...
static void dissect_sir(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint8 version; guint32 val_len; guint32 val_len_save; guint32 len; guint32 offset = 0; guint32 i; tvbuff_t *tmp_tvb; proto_tree *subtree; proto_item *ti; col_append_str(pinfo->cinfo, COL_FO, ": WAP Se...
static void dissect_sir(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint8 version; guint32 val_len; guint32 val_len_save; guint32 len; guint32 offset = 0; guint32 i; tvbuff_t *tmp_tvb; proto_tree *subtree; proto_item *ti; col_append_str(pinfo->cinfo, COL_FO, ": WAP Se...
static int dissect_sir(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data ) { ti = proto_tree_add_item(tree, hf_sir_section, tvb, 0, -1, ENC_NA); subtree = proto_item_add_subtree(ti, ett_sir); version = tvb_get_guint8(tvb, 0); proto_tree_add_uint(subtree, hf_sir_version, tvb, 0, 1, version)...
static int dissect_sir(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data ) { ti = proto_tree_add_item(tree, hf_sir_section, tvb, 0, -1, ENC_NA); subtree = proto_item_add_subtree(ti, ett_sir); version = tvb_get_guint8(tvb, 0); proto_tree_add_uint(subtree, hf_sir_version, tvb, 0, 1, version)...
static void dissect_sir(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ ti = proto_tree_add_item(tree, hf_sir_section, tvb, 0, -1, ENC_NA); subtree = proto_item_add_subtree(ti, ett_sir); version = tvb_get_guint8(tvb, 0); proto_tree_add_uint(subtre...
static void dissect_sir(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ ti = proto_tree_add_item(tree, hf_sir_section, tvb, 0, -1, ENC_NA); subtree = proto_item_add_subtree(ti, ett_sir); version = tvb_get_guint8(tvb, 0); proto_tree_add_uint(subtre...
static int dissect_sir(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data ) { ti = proto_tree_add_item(tree, hf_sir_section, tvb, 0, -1, ENC_NA); subtree = proto_item_add_subtree(ti, ett_sir); version = tvb_get_guint8(tvb, 0); proto_tree_add_uint(subtree, hf_sir_version, tvb, 0, 1, ver...
CVE-2016-6512
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-wsp.c
dissect_wsp_common
static void dissect_wsp_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, dissector_handle_t dissector_handle, gboolean is_connectionless) { int offset = 0; guint8 pdut; guint count = 0; guint value = 0; guint uriLength = 0; guint uriStart = 0; guint capabilityLength = 0; guint...
static void dissect_wsp_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, dissector_handle_t dissector_handle, gboolean is_connectionless) { int offset = 0; guint8 pdut; guint count = 0; guint value = 0; guint uriLength = 0; guint uriStart = 0; guint capabilityLength = 0; guint...
static void dissect_wsp_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, dissector_handle_t dissector_handle, gboolean is_connectionless) { int offset = 0; guint8 pdut; guint count = 0; guint value = 0; guint uriLength = 0; guint uriStart = 0; guint capabilityLength = 0; guint...
static void dissect_wsp_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, dissector_handle_t dissector_handle, gboolean is_connectionless) { int offset = 0; guint8 pdut; guint count = 0; guint value = 0; guint uriLength = 0; guint uriStart = 0; guint capabilityLength = 0; guint...
static void dissect_wsp_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, dissector_handle_t dissector_handle, gboolean is_connectionless) { int offset = 0; proto_tree *wsp_tree = NULL; if (is_connectionless) { offset++; }; pdut = tvb_get_guint8 (tvb, offset); if (tree) { ...
static void dissect_wsp_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, dissector_handle_t dissector_handle, gboolean is_connectionless) { int offset = 0; proto_tree *wsp_tree = NULL; if (is_connectionless) { offset++; }; pdut = tvb_get_guint8 (tvb, offset); if (tree) { ...
static void dissect_wsp_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, dissector_handle_t dissector_handle, gboolean is_connectionless) { int offset = 0; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ proto_tree *wsp_tree = NULL; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ if (is_conne...
static void dissect_wsp_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, dissector_handle_t dissector_handle, gboolean is_connectionless) { int offset = 0; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ proto_tree *wsp_tree = NULL; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ if (is_conne...
static void dissect_wsp_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, dissector_handle_t dissector_handle, gboolean is_connectionless) { int offset = 0; proto_tree *wsp_tree = NULL; if (is_connectionless) { offset++; }; pdut = tvb_get_guint8 (tvb, offset); if (tree)...
CVE-2016-6513
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-wbxml.c
parse_wbxml_tag_defined
static guint32 parse_wbxml_tag_defined (proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, guint32 offset, guint32 str_tbl, guint8 *level, guint8 *codepage_stag, guint8 *codepage_attr, const wbxml_decoding *map) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off...
static guint32 parse_wbxml_tag_defined (proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, guint32 offset, guint32 str_tbl, guint8 *level, guint8 *codepage_stag, guint8 *codepage_attr, const wbxml_decoding *map) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off...
static guint32 parse_wbxml_tag_defined (proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, guint32 offset, guint32 str_tbl, guint8 *level, guint8 *codepage_stag, guint8 *codepage_attr, const wbxml_decoding *map) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off...
static guint32 parse_wbxml_tag_defined (proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, guint32 offset, guint32 str_tbl, guint8 *level, guint8 *codepage_stag, guint8 *codepage_attr, const wbxml_decoding *map) { guint32 tvb_len = tvb_reported_length (tvb); guint32 off...
static guint32 parse_wbxml_tag_defined (proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, guint32 offset, guint32 str_tbl, guint8 *level, guint8 *codepage_stag, guint8 *codepage_attr, const wbxml_decoding *map) { guint32 tvb_len = tvb_reported_length (tvb); guint8 pars...
static guint32 parse_wbxml_tag_defined (proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, guint32 offset, guint32 str_tbl, guint8 *level, guint8 *codepage_stag, guint8 *codepage_attr, const wbxml_decoding *map) { guint32 tvb_len = tvb_reported_length (tvb); guint8 pars...
static guint32 parse_wbxml_tag_defined (proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, guint32 offset, guint32 str_tbl, guint8 *level, guint8 *codepage_stag, guint8 *codepage_attr, const wbxml_decoding *map) { guint32 tvb_len = tvb_reported_length (tvb); /* PLACEHOL...
static guint32 parse_wbxml_tag_defined (proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, guint32 offset, guint32 str_tbl, guint8 *level, guint8 *codepage_stag, guint8 *codepage_attr, const wbxml_decoding *map) { guint32 tvb_len = tvb_reported_length (tvb); /* PLACEHOL...
static guint32 parse_wbxml_tag_defined (proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, guint32 offset, guint32 str_tbl, guint8 *level, guint8 *codepage_stag, guint8 *codepage_attr, const wbxml_decoding *map) { guint32 tvb_len = tvb_reported_length (tvb); guint8 ...
CVE-2016-6513
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-wbxml.c
proto_register_wbxml
void proto_register_wbxml(void) { module_t *wbxml_module; static hf_register_info hf[] = { { &hf_wbxml_version, { "Version", "wbxml.version", FT_UT8, BASE_HEX|BASE_EXT_STRG, &vals_wbxml_versions_ext, 0x00, "WBXML Version", HFILL } }, { &hf_wbxm...
void proto_register_wbxml(void) { module_t *wbxml_module; static hf_register_info hf[] = { { &hf_wbxml_version, { "Version", "wbxml.version", FT_UT8, BASE_HEX|BASE_EXT_STRG, &vals_wbxml_versions_ext, 0x00, "WBXML Version", HFILL } }, { &hf_wbxm...
void proto_register_wbxml(void) { module_t *wbxml_module; static hf_register_info hf[] = { { &hf_wbxml_version, { "Version", "wbxml.version", FT_UT8, BASE_HEX|BASE_EXT_STRG, &vals_wbxml_versions_ext, 0x00, "WBXML Version", HFILL } }, { &hf_wbxm...
void proto_register_wbxml(void) { module_t *wbxml_module; static hf_register_info hf[] = { { &hf_wbxml_version, { "Version", "wbxml.version", FT_UT8, BASE_HEX|BASE_EXT_STRG, &vals_wbxml_versions_ext, 0x00, "WBXML Version", HFILL } }, { &hf_wbxm...
void proto_register_wbxml(void) { static gint *ett[] = { &ett_wbxml, &ett_wbxml_str_tbl, &ett_wbxml_content, &ett_wbxml_tags, &ett_wbxml_string_table_item, }; static ei_register_info ei[] = { { &ei_wbxml_data_not_shown, { "wbxml.data_not_shown", PI_PROTOCOL, PI_NOTE, "Data representation not...
void proto_register_wbxml(void) { static gint *ett[] = { &ett_wbxml, &ett_wbxml_str_tbl, &ett_wbxml_content, &ett_wbxml_tags, &ett_wbxml_string_table_item, }; static ei_register_info ei[] = { { &ei_wbxml_data_not_shown, { "wbxml.data_not_shown", PI_PROTOCOL, PI_NOTE, "Data representation not...
void proto_register_wbxml(void) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ static gint *ett[] = { &ett_wbxml, &ett_wbxml_str_tbl, &ett_wbxml_content, &ett_wbxml_tags, &ett_wbxml_string_table_item, }; static ei_register_info ei[] = { { &ei_wbxml_data_not_shown, { "wbxml.data_not_show...
void proto_register_wbxml(void) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ static gint *ett[] = { &ett_wbxml, &ett_wbxml_str_tbl, &ett_wbxml_content, &ett_wbxml_tags, &ett_wbxml_string_table_item, }; static ei_register_info ei[] = { { &ei_wbxml_data_not_shown, { "wbxml.data_not_show...
void proto_register_wbxml(void) { static gint *ett[] = { &ett_wbxml, &ett_wbxml_str_tbl, &ett_wbxml_content, &ett_wbxml_tags, &ett_wbxml_string_table_item, }; static ei_register_info ei[] = { - { &ei_wbxml_data_not_shown, { "wbxml.data_not_shown", PI_PROTOCOL, PI_NOTE, "Data representati...
CVE-2016-6920
FFmpeg
https://github.com/FFmpeg/FFmpeg
libavcodec/exr.c
decode_block
static int decode_block(AVCodecContext *avctx, void *tdata, int jobnr, int threadnr) { EXRContext *s = avctx->priv_data; AVFrame *const p = s->picture; EXRThreadData *td = &s->thread_data[threadnr]; const uint8_t *channel_buffer[4] = { 0 }; const uint8_t *buf = s->buf; uint64_t line_offset, unco...
static int decode_block(AVCodecContext *avctx, void *tdata, int jobnr, int threadnr) { EXRContext *s = avctx->priv_data; AVFrame *const p = s->picture; EXRThreadData *td = &s->thread_data[threadnr]; const uint8_t *channel_buffer[4] = { 0 }; const uint8_t *buf = s->buf; uint64_t line_offset, unco...
static int decode_block(AVCodecContext *avctx, void *tdata, int jobnr, int threadnr) { EXRContext *s = avctx->priv_data; AVFrame *const p = s->picture; EXRThreadData *td = &s->thread_data[threadnr]; const uint8_t *channel_buffer[4] = { 0 }; const uint8_t *buf = s->buf; uint64_t line_offset, unco...
static int decode_block(AVCodecContext *avctx, void *tdata, int jobnr, int threadnr) { EXRContext *s = avctx->priv_data; AVFrame *const p = s->picture; EXRThreadData *td = &s->thread_data[threadnr]; const uint8_t *channel_buffer[4] = { 0 }; const uint8_t *buf = s->buf; uint64_t line_offset, unco...
static int decode_block(AVCodecContext *avctx, void *tdata, int jobnr, int threadnr) { EXRContext *s = avctx->priv_data; const uint8_t *buf = s->buf; uint8_t *ptr; uint32_t data_size, line, col = 0; uint32_t tileX, tileY, tileLevelX, tileLevelY; const uint8_t *src; int axmax = (avctx->width ...
static int decode_block(AVCodecContext *avctx, void *tdata, int jobnr, int threadnr) { EXRContext *s = avctx->priv_data; const uint8_t *buf = s->buf; uint8_t *ptr; uint32_t data_size; uint64_t line, col = 0; uint64_t tileX, tileY, tileLevelX, tileLevelY; const uint8_t *src; int axmax = (...
static int decode_block(AVCodecContext *avctx, void *tdata, int jobnr, int threadnr) { EXRContext *s = avctx->priv_data; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ const uint8_t *buf = s->buf; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ uint8_t *ptr; uint32_t data_size, line, col = 0; u...
static int decode_block(AVCodecContext *avctx, void *tdata, int jobnr, int threadnr) { EXRContext *s = avctx->priv_data; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ const uint8_t *buf = s->buf; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ uint8_t *ptr; uint32_t data_size; uint64_t line, c...
static int decode_block(AVCodecContext *avctx, void *tdata, int jobnr, int threadnr) { EXRContext *s = avctx->priv_data; const uint8_t *buf = s->buf; uint8_t *ptr; - uint32_t data_size, line, col = 0; - uint32_t tileX, tileY, tileLevelX, tileLevelY; + uint32_t data_size; + uint64_t line, col...
CVE-2016-7056
OpenSSL
https://github.com/openssl/openssl
crypto/ec/ec_lib.c
EC_GROUP_clear_free
void EC_GROUP_clear_free(EC_GROUP *group) { if (!group) { return; } if (group->meth->group_clear_finish != 0) { group->meth->group_clear_finish(group); } else if (group->meth->group_finish != 0) { group->meth->group_finish(group); } EC_EX_DATA_clear_free_all_data(&group->...
void EC_GROUP_clear_free(EC_GROUP *group) { if (!group) { return; } if (group->meth->group_clear_finish != 0) { group->meth->group_clear_finish(group); } else if (group->meth->group_finish != 0) { group->meth->group_finish(group); } EC_EX_DATA_clear_free_all_data(&group->...
void EC_GROUP_clear_free(EC_GROUP *group) { if (!group) { return; } if (group->meth->group_clear_finish != 0) { group->meth->group_clear_finish(group); } else if (group->meth->group_finish != 0) { group->meth->group_finish(group); } EC_EX_DATA_clear_free_all_data(&group->...
void EC_GROUP_clear_free(EC_GROUP *group) { if (!group) { return; } if (group->meth->group_clear_finish != 0) { group->meth->group_clear_finish(group); } else if (group->meth->group_finish != 0) { group->meth->group_finish(group); } EC_EX_DATA_clear_free_all_data(&group->...
void EC_GROUP_clear_free(EC_GROUP *group) { if (!group) { return; } if (group->meth->group_clear_finish != 0) { group->meth->group_clear_finish(group); } else if (group->meth->group_finish != 0) { group->meth->group_finish(group); } EC_EX_DATA_clear_free_all_data(&group->...
void EC_GROUP_clear_free(EC_GROUP *group) { if (!group) { return; } if (group->meth->group_clear_finish != 0) { group->meth->group_clear_finish(group); } else if (group->meth->group_finish != 0) { group->meth->group_finish(group); } EC_EX_DATA_clear_free_all_data(&group->...
void EC_GROUP_clear_free(EC_GROUP *group) { if (!group) { return; } if (group->meth->group_clear_finish != 0) { group->meth->group_clear_finish(group); } else if (group->meth->group_finish != 0) { group->meth->group_finish(group); } EC_EX_DATA_clear_free_all_data(&group->...
void EC_GROUP_clear_free(EC_GROUP *group) { if (!group) { return; } if (group->meth->group_clear_finish != 0) { group->meth->group_clear_finish(group); } else if (group->meth->group_finish != 0) { group->meth->group_finish(group); } EC_EX_DATA_clear_free_all_data(&group->...
void EC_GROUP_clear_free(EC_GROUP *group) { if (!group) { return; } if (group->meth->group_clear_finish != 0) { group->meth->group_clear_finish(group); } else if (group->meth->group_finish != 0) { group->meth->group_finish(group); } EC_EX_DATA_clear_free_all_dat...
CVE-2016-7056
OpenSSL
https://github.com/openssl/openssl
crypto/ec/ec_lib.c
EC_GROUP_copy
int EC_GROUP_copy(EC_GROUP *dest, const EC_GROUP *src) { EC_EXTRA_DATA *d; if (dest->meth->group_copy == 0) { ECerr(EC_F_EC_GROUP_COPY, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED); return 0; } if (dest->meth != src->meth) { ECerr(EC_F_EC_GROUP_COPY, EC_R_COMPATIBLE_OBJECTS); retur...
int EC_GROUP_copy(EC_GROUP *dest, const EC_GROUP *src) { EC_EXTRA_DATA *d; if (dest->meth->group_copy == 0) { ECerr(EC_F_EC_GROUP_COPY, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED); return 0; } if (dest->meth != src->meth) { ECerr(EC_F_EC_GROUP_COPY, EC_R_COMPATIBLE_OBJECTS); retur...
int EC_GROUP_copy(EC_GROUP *dest, const EC_GROUP *src) { EC_EXTRA_DATA *d; if (dest->meth->group_copy == 0) { ECerr(EC_F_EC_GROUP_COPY, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED); return 0; } if (dest->meth != src->meth) { ECerr(EC_F_EC_GROUP_COPY, EC_R_COMPATIBLE_OBJECTS); retur...
int EC_GROUP_copy(EC_GROUP *dest, const EC_GROUP *src) { EC_EXTRA_DATA *d; if (dest->meth->group_copy == 0) { ECerr(EC_F_EC_GROUP_COPY, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED); return 0; } if (dest->meth != src->meth) { ECerr(EC_F_EC_GROUP_COPY, EC_R_COMPATIBLE_OBJECTS); retur...
int EC_GROUP_copy(EC_GROUP *dest, const EC_GROUP *src) { if (dest == src) { return 1; } for (d = src->extra_data; d != NULL; d = d->next) { } if (src->generator != NULL) { if (dest->generator == NULL) { dest->generator = EC_POT_new(dest); if (dest->generator =...
int EC_GROUP_copy(EC_GROUP *dest, const EC_GROUP *src) { if (dest == src) { return 1; } for (d = src->extra_data; d != NULL; d = d->next) { } if (src->mont_data != NULL) { if (dest->mont_data == NULL) { dest->mont_data = BN_MONT_CTX_new(); if (dest->mont_data ...
int EC_GROUP_copy(EC_GROUP *dest, const EC_GROUP *src) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ if (dest == src) { return 1; } /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ for (d = src->extra_data; d != NULL; d = d->next) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ } ...
int EC_GROUP_copy(EC_GROUP *dest, const EC_GROUP *src) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ if (dest == src) { return 1; } /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ for (d = src->extra_data; d != NULL; d = d->next) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ } ...
int EC_GROUP_copy(EC_GROUP *dest, const EC_GROUP *src) { if (dest == src) { return 1; } for (d = src->extra_data; d != NULL; d = d->next) { + } + if (src->mont_data != NULL) { + if (dest->mont_data == NULL) { + dest->mont_data = BN_MONT_CTX_new(); + if (dest->...
CVE-2016-7056
OpenSSL
https://github.com/openssl/openssl
crypto/ec/ec_lib.c
EC_GROUP_free
void EC_GROUP_free(EC_GROUP *group) { if (!group) { return; } if (group->meth->group_finish != 0) { group->meth->group_finish(group); } EC_EX_DATA_free_all_data(&group->extra_data); if (group->generator != NULL) { EC_POT_free(group->generator); } BN_free(&group->o...
void EC_GROUP_free(EC_GROUP *group) { if (!group) { return; } if (group->meth->group_finish != 0) { group->meth->group_finish(group); } EC_EX_DATA_free_all_data(&group->extra_data); if (group->mont_data) { BN_MONT_CTX_free(group->mont_data); } if (group->generator...
void EC_GROUP_free(EC_GROUP *group) { if (!group) { return; } if (group->meth->group_finish != 0) { group->meth->group_finish(group); } EC_EX_DATA_free_all_data(&group->extra_data); if (group->generator != NULL) { EC_POT_free(group->generator); } BN_free(&group->o...
void EC_GROUP_free(EC_GROUP *group) { if (!group) { return; } if (group->meth->group_finish != 0) { group->meth->group_finish(group); } EC_EX_DATA_free_all_data(&group->extra_data); if (group->mont_data) { BN_MONT_CTX_free(group->mont_data); } if (group->generator...
void EC_GROUP_free(EC_GROUP *group) { if (!group) { return; } if (group->meth->group_finish != 0) { group->meth->group_finish(group); } EC_EX_DATA_free_all_data(&group->extra_data); OPENSSL_free(group); }
void EC_GROUP_free(EC_GROUP *group) { if (!group) { return; } if (group->meth->group_finish != 0) { group->meth->group_finish(group); } EC_EX_DATA_free_all_data(&group->extra_data); if (group->mont_data) { BN_MONT_CTX_free(group->mont_data); } OPENSSL_free(group);...
void EC_GROUP_free(EC_GROUP *group) { if (!group) { return; } if (group->meth->group_finish != 0) { group->meth->group_finish(group); } EC_EX_DATA_free_all_data(&group->extra_data); /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ OPENSSL_free(group); }
void EC_GROUP_free(EC_GROUP *group) { if (!group) { return; } if (group->meth->group_finish != 0) { group->meth->group_finish(group); } EC_EX_DATA_free_all_data(&group->extra_data); if (group->mont_data) { BN_MONT_CTX_free(group->mont_data); } /* PLACEHOLDER: DO N...
void EC_GROUP_free(EC_GROUP *group) { if (!group) { return; } if (group->meth->group_finish != 0) { group->meth->group_finish(group); } EC_EX_DATA_free_all_data(&group->extra_data); + if (group->mont_data) { + BN_MONT_CTX_free(group->mont_data); + } OPENSSL_...
CVE-2016-7056
OpenSSL
https://github.com/openssl/openssl
crypto/ec/ec_lib.c
EC_GROUP_new
EC_GROUP *EC_GROUP_new(const EC_METHOD *meth) { EC_GROUP *ret; if (meth == NULL) { ECerr(EC_F_EC_GROUP_NEW, EC_R_SLOT_FULL); return NULL; } if (meth->group_init == 0) { ECerr(EC_F_EC_GROUP_NEW, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED); return NULL; } ret = OPENSSL_mallo...
EC_GROUP *EC_GROUP_new(const EC_METHOD *meth) { EC_GROUP *ret; if (meth == NULL) { ECerr(EC_F_EC_GROUP_NEW, EC_R_SLOT_FULL); return NULL; } if (meth->group_init == 0) { ECerr(EC_F_EC_GROUP_NEW, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED); return NULL; } ret = OPENSSL_mallo...
EC_GROUP *EC_GROUP_new(const EC_METHOD *meth) { EC_GROUP *ret; if (meth == NULL) { ECerr(EC_F_EC_GROUP_NEW, EC_R_SLOT_FULL); return NULL; } if (meth->group_init == 0) { ECerr(EC_F_EC_GROUP_NEW, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED); return NULL; } ret = OPENSSL_mallo...
EC_GROUP *EC_GROUP_new(const EC_METHOD *meth) { EC_GROUP *ret; if (meth == NULL) { ECerr(EC_F_EC_GROUP_NEW, EC_R_SLOT_FULL); return NULL; } if (meth->group_init == 0) { ECerr(EC_F_EC_GROUP_NEW, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED); return NULL; } ret = OPENSSL_mallo...
EC_GROUP *EC_GROUP_new(const EC_METHOD *meth) { if (meth == NULL) { return NULL; } ret = OPENSSL_malloc(sizeof *ret); if (ret == NULL) { return NULL; } ret->extra_data = NULL; ret->generator = NULL; if (!meth->group_init(ret)) { OPENSSL_free(ret); return N...
EC_GROUP *EC_GROUP_new(const EC_METHOD *meth) { if (meth == NULL) { return NULL; } ret = OPENSSL_malloc(sizeof *ret); if (ret == NULL) { return NULL; } ret->extra_data = NULL; ret->mont_data = NULL; ret->generator = NULL; if (!meth->group_init(ret)) { OPENSSL_...
EC_GROUP *EC_GROUP_new(const EC_METHOD *meth) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ if (meth == NULL) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ return NULL; } /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ ret = OPENSSL_malloc(sizeof *ret); if (ret == NULL) { /* PL...
EC_GROUP *EC_GROUP_new(const EC_METHOD *meth) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ if (meth == NULL) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ return NULL; } /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ ret = OPENSSL_malloc(sizeof *ret); if (ret == NULL) { /* PL...
EC_GROUP *EC_GROUP_new(const EC_METHOD *meth) { if (meth == NULL) { return NULL; } ret = OPENSSL_malloc(sizeof *ret); if (ret == NULL) { return NULL; } ret->extra_data = NULL; + ret->mont_data = NULL; ret->generator = NULL; if (!meth->group_init(ret)) { ...
CVE-2016-7056
OpenSSL
https://github.com/openssl/openssl
crypto/ec/ec_lib.c
EC_GROUP_set_generator
int EC_GROUP_set_generator(EC_GROUP *group, const EC_POT *generator, const BIGNUM *order, const BIGNUM *cofactor) { if (generator == NULL) { ECerr(EC_F_EC_GROUP_SET_GENERATOR, ERR_R_PASSED_NULL_PARAMETER); return 0 ; } if (group->generator == NULL) { group->generator = EC_POT_new(gro...
int EC_GROUP_set_generator(EC_GROUP *group, const EC_POT *generator, const BIGNUM *order, const BIGNUM *cofactor) { if (generator == NULL) { ECerr(EC_F_EC_GROUP_SET_GENERATOR, ERR_R_PASSED_NULL_PARAMETER); return 0 ; } if (group->generator == NULL) { group->generator = EC_POT_new(gro...
int EC_GROUP_set_generator(EC_GROUP *group, const EC_POT *generator, const BIGNUM *order, const BIGNUM *cofactor) { if (generator == NULL) { ECerr(EC_F_EC_GROUP_SET_GENERATOR, ERR_R_PASSED_NULL_PARAMETER); return 0 ; } if (group->generator == NULL) { group->generator = EC_POT_new(gro...
int EC_GROUP_set_generator(EC_GROUP *group, const EC_POT *generator, const BIGNUM *order, const BIGNUM *cofactor) { if (generator == NULL) { ECerr(EC_F_EC_GROUP_SET_GENERATOR, ERR_R_PASSED_NULL_PARAMETER); return 0 ; } if (group->generator == NULL) { group->generator = EC_POT_new(gro...
int EC_GROUP_set_generator(EC_GROUP *group, const EC_POT *generator, const BIGNUM *order, const BIGNUM *cofactor) { if (generator == NULL) { return 0 ; } if (group->generator == NULL) { group->generator = EC_POT_new(group); } if (cofactor != NULL) { if (!BN_copy(&group->cofac...
int EC_GROUP_set_generator(EC_GROUP *group, const EC_POT *generator, const BIGNUM *order, const BIGNUM *cofactor) { if (generator == NULL) { return 0 ; } if (group->generator == NULL) { group->generator = EC_POT_new(group); } if (cofactor != NULL) { if (!BN_copy(&group->cofac...
int EC_GROUP_set_generator(EC_GROUP *group, const EC_POT *generator, const BIGNUM *order, const BIGNUM *cofactor) { if (generator == NULL) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ return 0 ; } if (group->generator == NULL) { group->generator = EC_POT_new(group); /* PLACEHOLDER...
int EC_GROUP_set_generator(EC_GROUP *group, const EC_POT *generator, const BIGNUM *order, const BIGNUM *cofactor) { if (generator == NULL) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ return 0 ; } if (group->generator == NULL) { group->generator = EC_POT_new(group); /* PLACEHOLDER...
int EC_GROUP_set_generator(EC_GROUP *group, const EC_POT *generator, const BIGNUM *order, const BIGNUM *cofactor) { if (generator == NULL) { return 0 ; } if (group->generator == NULL) { group->generator = EC_POT_new(group); } if (cofactor != NULL) { if (!BN_copy(&gro...
CVE-2016-7056
OpenSSL
https://github.com/openssl/openssl
crypto/ecdsa/ecs_ossl.c
ecdsa_sign_setup
static int ecdsa_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp, const unsigned char *dgst, int dlen) { BN_CTX *ctx = NULL; BIGNUM *k = NULL, *r = NULL, *order = NULL, *X = NULL; EC_POT *tmp_point=NULL; const EC_GROUP *group; int ret = 0; if (eckey == NULL || (group = EC_K...
static int ecdsa_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp, const unsigned char *dgst, int dlen) { BN_CTX *ctx = NULL; BIGNUM *k = NULL, *r = NULL, *order = NULL, *X = NULL; EC_POT *tmp_point=NULL; const EC_GROUP *group; int ret = 0; if (eckey == NULL || (group = EC_K...
static int ecdsa_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp) { BN_CTX *ctx = NULL; BIGNUM *k = NULL, *r = NULL, *order = NULL, *X = NULL; EC_POT *tmp_point=NULL; const EC_GROUP *group; int ret = 0; if (eckey == NULL || (group = EC_KEY_get0_group(eckey)) == NULL) { ...
static int ecdsa_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp) { BN_CTX *ctx = NULL; BIGNUM *k = NULL, *r = NULL, *order = NULL, *X = NULL; EC_POT *tmp_point=NULL; const EC_GROUP *group; int ret = 0; if (eckey == NULL || (group = EC_KEY_get0_group(eckey)) == NULL) { ...
static int ecdsa_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp, const unsigned char *dgst, int dlen) { if (eckey == NULL || (group = EC_KEY_get0_group(eckey)) == NULL) { return 0; } if (ctx_in == NULL) { if ((ctx = BN_CTX_new()) == NULL) { return 0; ...
static int ecdsa_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp, const unsigned char *dgst, int dlen) { if (eckey == NULL || (group = EC_KEY_get0_group(eckey)) == NULL) { return 0; } if (ctx_in == NULL) { if ((ctx = BN_CTX_new()) == NULL) { return 0; ...
static int ecdsa_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ if (eckey == NULL || (group = EC_KEY_get0_group(eckey)) == NULL) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ return 0; } if (ctx_in == NULL) { i...
static int ecdsa_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ if (eckey == NULL || (group = EC_KEY_get0_group(eckey)) == NULL) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ return 0; } if (ctx_in == NULL) { i...
static int ecdsa_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp, const unsigned char *dgst, int dlen) { if (eckey == NULL || (group = EC_KEY_get0_group(eckey)) == NULL) { return 0; } if (ctx_in == NULL) { if ((ctx = BN_CTX_new()) == NULL) { return 0;...
CVE-2016-7092
xen
https://github.com/xen-project/xen
xen/arch/x86/mm.c
get_page_from_l3e
static int get_page_from_l3e( l3_pgentry_t l3e, unsigned long pfn, struct domain *d, int partial) { int rc; if ( !(l3e_get_flags(l3e) & _PAGE_PRESENT) ) { return 1; } if ( unlikely((l3e_get_flags(l3e) & l3_disallow_mask(d))) ) { MEM_LOG("Bad L3 flags %x", l3e_get_flags(l3e) & l3_disallow...
static int get_page_from_l3e( l3_pgentry_t l3e, unsigned long pfn, struct domain *d, int partial) { int rc; if ( !(l3e_get_flags(l3e) & _PAGE_PRESENT) ) { return 1; } if ( unlikely((l3e_get_flags(l3e) & l3_disallow_mask(d))) ) { MEM_LOG("Bad L3 flags %x", l3e_get_flags(l3e) & l3_disallow...
static int get_page_from_l3e( l3_pgentry_t l3e, unsigned long pfn, struct domain *d, int partial) { int rc; if ( !(l3e_get_flags(l3e) & _PAGE_PRESENT) ) { return 1; } if ( unlikely((l3e_get_flags(l3e) & l3_disallow_mask(d))) ) { MEM_LOG("Bad L3 flags %x", l3e_get_flags(l3e) & l3_disallow...
static int get_page_from_l3e( l3_pgentry_t l3e, unsigned long pfn, struct domain *d, int partial) { int rc; if ( !(l3e_get_flags(l3e) & _PAGE_PRESENT) ) { return 1; } if ( unlikely((l3e_get_flags(l3e) & l3_disallow_mask(d))) ) { MEM_LOG("Bad L3 flags %x", l3e_get_flags(l3e) & l3_disallow...
static int get_page_from_l3e( l3_pgentry_t l3e, unsigned long pfn, struct domain *d, int partial) { if ( !(l3e_get_flags(l3e) & _PAGE_PRESENT) ) { return 1; } if ( unlikely((l3e_get_flags(l3e) & l3_disallow_mask(d))) ) { return -EVAL; } rc = get_page_and_type_from_pagenr( l3e_get_pfn...
static int get_page_from_l3e( l3_pgentry_t l3e, unsigned long pfn, struct domain *d, int partial) { if ( !(l3e_get_flags(l3e) & _PAGE_PRESENT) ) { return 1; } if ( unlikely((l3e_get_flags(l3e) & l3_disallow_mask(d))) ) { return -EVAL; } rc = get_page_and_type_from_pagenr( l3e_get_pfn...
static int get_page_from_l3e( l3_pgentry_t l3e, unsigned long pfn, struct domain *d, int partial) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ if ( !(l3e_get_flags(l3e) & _PAGE_PRESENT) ) { return 1; } if ( unlikely((l3e_get_flags(l3e) & l3_disallow_mask(d))) ) { /* PLACEHOLDER: DO NOT DE...
static int get_page_from_l3e( l3_pgentry_t l3e, unsigned long pfn, struct domain *d, int partial) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ if ( !(l3e_get_flags(l3e) & _PAGE_PRESENT) ) { return 1; } if ( unlikely((l3e_get_flags(l3e) & l3_disallow_mask(d))) ) { /* PLACEHOLDER: DO NOT DE...
static int get_page_from_l3e( l3_pgentry_t l3e, unsigned long pfn, struct domain *d, int partial) { if ( !(l3e_get_flags(l3e) & _PAGE_PRESENT) ) { return 1; } if ( unlikely((l3e_get_flags(l3e) & l3_disallow_mask(d))) ) { return -EVAL; } rc = get_page_and_type_from_pagenr( l3e...
CVE-2016-7093
xen/arch/x86/x86_emulate/x86_emulate.c
x86_emulate
int x86_emulate( struct x86_emulate_ctxt *ctxt, const struct x86_emulate_ops *ops) { struct cpu_user_regs _regs = *ctxt->regs; uint8_t b, d, sib, sib_index, sib_base, rex_prefix = 0; uint8_t modrm = 0, modrm_mod = 0, modrm_reg = 0, modrm_rm = 0; enum { ext_none, ext_0f, ext_0f38 } ext = ext_none; un...
int x86_emulate( struct x86_emulate_ctxt *ctxt, const struct x86_emulate_ops *ops) { struct cpu_user_regs _regs = *ctxt->regs; uint8_t b, d, sib, sib_index, sib_base, rex_prefix = 0; uint8_t modrm = 0, modrm_mod = 0, modrm_reg = 0, modrm_rm = 0; enum { ext_none, ext_0f, ext_0f38 } ext = ext_none; un...
int x86_emulate( struct x86_emulate_ctxt *ctxt, const struct x86_emulate_ops *ops) { struct cpu_user_regs _regs = *ctxt->regs; uint8_t b, d, sib, sib_index, sib_base, twobyte = 0, rex_prefix = 0; uint8_t modrm = 0, modrm_mod = 0, modrm_reg = 0, modrm_rm = 0; union vex vex = {}; unsigned int op_bytes...
int x86_emulate( struct x86_emulate_ctxt *ctxt, const struct x86_emulate_ops *ops) { struct cpu_user_regs _regs = *ctxt->regs; uint8_t b, d, sib, sib_index, sib_base, twobyte = 0, rex_prefix = 0; uint8_t modrm = 0, modrm_mod = 0, modrm_reg = 0, modrm_rm = 0; union vex vex = {}; unsigned int op_bytes...
int x86_emulate( struct x86_emulate_ctxt *ctxt, const struct x86_emulate_ops *ops) { if ( op_bytes == 8 ) { return X86EMUL_UNHANDLEABLE; } if ( def_ad_bytes < sizeof(_regs.eip) ) { _regs.eip &= (1UL << (def_ad_bytes * 8)) - 1; } for ( ; ; ) { switch ( b = insn_fetch_type(uint...
int x86_emulate( struct x86_emulate_ctxt *ctxt, const struct x86_emulate_ops *ops) { if ( op_bytes == 8 ) { return X86EMUL_UNHANDLEABLE; } for ( ; ; ) { switch ( b = insn_fetch_type(uint8_t) ) { } } _regs.eflags &= ~EFLG_RF; if ( def_ad_bytes < sizeof(_regs.eip) ) { ...
int x86_emulate( struct x86_emulate_ctxt *ctxt, const struct x86_emulate_ops *ops) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ if ( op_bytes == 8 ) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ return X86EMUL_UNHANDLEABLE; } if ( def_ad_bytes < sizeof(_regs.eip) ) { _regs.eip &...
int x86_emulate( struct x86_emulate_ctxt *ctxt, const struct x86_emulate_ops *ops) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ if ( op_bytes == 8 ) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ return X86EMUL_UNHANDLEABLE; } for ( ; ; ) { switch ( b = insn_fetch_type(uint8_t) )...
int x86_emulate( struct x86_emulate_ctxt *ctxt, const struct x86_emulate_ops *ops) { if ( op_bytes == 8 ) { return X86EMUL_UNHANDLEABLE; - } - if ( def_ad_bytes < sizeof(_regs.eip) ) { - _regs.eip &= (1UL << (def_ad_bytes * 8)) - 1; } for ( ; ; ) { switch ( b = insn_fetch_...
CVE-2016-7094
xen
https://github.com/xen-project/xen
xen/arch/x86/mm/shadow/common.c
hvm_translate_linear_addr
static int hvm_translate_linear_addr( enum x86_segment seg, unsigned long offset, unsigned int bytes, enum hvm_access_type access_type, struct sh_emulate_ctxt *sh_ctxt, unsigned long *paddr) { struct segment_register *reg = hvm_get_seg_reg(seg, sh_ctxt); int okay; okay = hvm_virtual_to_linear_addr( seg, reg...
static int hvm_translate_linear_addr( enum x86_segment seg, unsigned long offset, unsigned int bytes, enum hvm_access_type access_type, struct sh_emulate_ctxt *sh_ctxt, unsigned long *paddr) { const struct segment_register *reg; int okay; if ( !is_x86_user_segment(seg) ) { return X86EMUL_UNHANDLEABL...
static int hvm_translate_linear_addr( enum x86_segment seg, unsigned long offset, unsigned int bytes, enum hvm_access_type access_type, struct sh_emulate_ctxt *sh_ctxt, unsigned long *paddr) { struct segment_register *reg = hvm_get_seg_reg(seg, sh_ctxt); int okay; okay = hvm_virtual_to_linear_addr( seg, reg...
static int hvm_translate_linear_addr( enum x86_segment seg, unsigned long offset, unsigned int bytes, enum hvm_access_type access_type, struct sh_emulate_ctxt *sh_ctxt, unsigned long *paddr) { struct segment_register *reg; int okay; if ( !is_x86_user_segment(seg) ) { return X86EMUL_UNHANDLEABLE; ...
static int hvm_translate_linear_addr( enum x86_segment seg, unsigned long offset, unsigned int bytes, enum hvm_access_type access_type, struct sh_emulate_ctxt *sh_ctxt, unsigned long *paddr) { struct segment_register *reg = hvm_get_seg_reg(seg, sh_ctxt); int okay; okay = hvm_virtual_to_linear_addr( seg, reg...
static int hvm_translate_linear_addr( enum x86_segment seg, unsigned long offset, unsigned int bytes, enum hvm_access_type access_type, struct sh_emulate_ctxt *sh_ctxt, unsigned long *paddr) { const struct segment_register *reg; int okay; if ( !is_x86_user_segment(seg) ) { return X86EMUL_UNHANDLEABL...
static int hvm_translate_linear_addr( enum x86_segment seg, unsigned long offset, unsigned int bytes, enum hvm_access_type access_type, struct sh_emulate_ctxt *sh_ctxt, unsigned long *paddr) { struct segment_register *reg = hvm_get_seg_reg(seg, sh_ctxt); int okay; okay = hvm_virtual_to_linear_addr( seg, reg...
static int hvm_translate_linear_addr( enum x86_segment seg, unsigned long offset, unsigned int bytes, enum hvm_access_type access_type, struct sh_emulate_ctxt *sh_ctxt, unsigned long *paddr) { struct segment_register *reg; int okay; if ( !is_x86_user_segment(seg) ) { return X86EMUL_UNHANDLEABLE; ...
static int hvm_translate_linear_addr( enum x86_segment seg, unsigned long offset, unsigned int bytes, enum hvm_access_type access_type, struct sh_emulate_ctxt *sh_ctxt, unsigned long *paddr) { - struct segment_register *reg = hvm_get_seg_reg(seg, sh_ctxt); + const struct segment_register *reg; int okay; + ...
CVE-2016-7116
QEMU
https://github.com/qemu/qemu
hw/9pfs/9p.c
v9fs_attach
static void v9fs_attach(void *opaque) { V9fsPDU *pdu = opaque; V9fsState *s = pdu->s; int32_t fid, afid, n_uname; V9fsString uname, aname; V9fsFidState *fidp; size_t offset = 7; V9fsQID qid; ssize_t err; v9fs_string_init(&uname); v9fs_string_init(&aname); err = pdu_unmarshal(...
static void v9fs_attach(void *opaque) { V9fsPDU *pdu = opaque; V9fsState *s = pdu->s; int32_t fid, afid, n_uname; V9fsString uname, aname; V9fsFidState *fidp; size_t offset = 7; V9fsQID qid; ssize_t err; v9fs_string_init(&uname); v9fs_string_init(&aname); err = pdu_unmarshal(...
static void v9fs_attach(void *opaque) { V9fsPDU *pdu = opaque; V9fsState *s = pdu->s; int32_t fid, afid, n_uname; V9fsString uname, aname; V9fsFidState *fidp; size_t offset = 7; V9fsQID qid; ssize_t err; v9fs_string_init(&uname); v9fs_string_init(&aname); err = pdu_unmarshal(...
static void v9fs_attach(void *opaque) { V9fsPDU *pdu = opaque; V9fsState *s = pdu->s; int32_t fid, afid, n_uname; V9fsString uname, aname; V9fsFidState *fidp; size_t offset = 7; V9fsQID qid; ssize_t err; v9fs_string_init(&uname); v9fs_string_init(&aname); err = pdu_unmarshal(...
static void v9fs_attach(void *opaque) { V9fsPDU *pdu = opaque; V9fsState *s = pdu->s; size_t offset = 7; err = pdu_unmarshal(pdu, offset, "ddssd", &fid, &afid, &uname, &aname, &n_uname); trace_v9fs_attach(pdu->tag, pdu->id, fid, afid, uname.data, aname.data); fidp = alloc_fid(s, fid); err +=...
static void v9fs_attach(void *opaque) { V9fsPDU *pdu = opaque; V9fsState *s = pdu->s; size_t offset = 7; err = pdu_unmarshal(pdu, offset, "ddssd", &fid, &afid, &uname, &aname, &n_uname); trace_v9fs_attach(pdu->tag, pdu->id, fid, afid, uname.data, aname.data); fidp = alloc_fid(s, fid); err +=...
static void v9fs_attach(void *opaque) { V9fsPDU *pdu = opaque; V9fsState *s = pdu->s; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ size_t offset = 7; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ err = pdu_unmarshal(pdu, offset, "ddssd", &fid, &afid, &uname, &aname, &n_uname); /* PLACEHOLDE...
static void v9fs_attach(void *opaque) { V9fsPDU *pdu = opaque; V9fsState *s = pdu->s; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ size_t offset = 7; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ err = pdu_unmarshal(pdu, offset, "ddssd", &fid, &afid, &uname, &aname, &n_uname); /* PLACEHOLDE...
static void v9fs_attach(void *opaque) { V9fsPDU *pdu = opaque; V9fsState *s = pdu->s; size_t offset = 7; err = pdu_unmarshal(pdu, offset, "ddssd", &fid, &afid, &uname, &aname, &n_uname); trace_v9fs_attach(pdu->tag, pdu->id, fid, afid, uname.data, aname.data); fidp = alloc_fid(s, fid); ...
CVE-2016-7116
QEMU
https://github.com/qemu/qemu
hw/9pfs/9p.c
v9fs_walk
static void v9fs_walk(void *opaque) { int name_idx; V9fsQID *qids = NULL; int i, err = 0; V9fsPath dpath, path; uint16_t nwnames; struct stat stbuf; size_t offset = 7; int32_t fid, newfid; V9fsString *wnames = NULL; V9fsFidState *fidp; V9fsFidState *newfidp = NULL; V9fsPD...
static void v9fs_walk(void *opaque) { int name_idx; V9fsQID *qids = NULL; int i, err = 0; V9fsPath dpath, path; uint16_t nwnames; struct stat stbuf; size_t offset = 7; int32_t fid, newfid; V9fsString *wnames = NULL; V9fsFidState *fidp; V9fsFidState *newfidp = NULL; V9fsPD...
static void v9fs_walk(void *opaque) { int name_idx; V9fsQID *qids = NULL; int i, err = 0; V9fsPath dpath, path; uint16_t nwnames; struct stat stbuf; size_t offset = 7; int32_t fid, newfid; V9fsString *wnames = NULL; V9fsFidState *fidp; V9fsFidState *newfidp = NULL; V9fsPD...
static void v9fs_walk(void *opaque) { int name_idx; V9fsQID *qids = NULL; int i, err = 0; V9fsPath dpath, path; uint16_t nwnames; struct stat stbuf; size_t offset = 7; int32_t fid, newfid; V9fsString *wnames = NULL; V9fsFidState *fidp; V9fsFidState *newfidp = NULL; V9fsPD...
static void v9fs_walk(void *opaque) { V9fsQID *qids = NULL; size_t offset = 7; V9fsPDU *pdu = opaque; V9fsState *s = pdu->s; err = pdu_unmarshal(pdu, offset, "ddw", &fid, &newfid, &nwnames); if (err < 0) { return ; } offset += err; trace_v9fs_walk(pdu->tag, pdu->id, fid, newf...
static void v9fs_walk(void *opaque) { V9fsQID *qids = NULL; size_t offset = 7; V9fsPDU *pdu = opaque; V9fsState *s = pdu->s; V9fsQID qid; err = pdu_unmarshal(pdu, offset, "ddw", &fid, &newfid, &nwnames); if (err < 0) { return ; } offset += err; trace_v9fs_walk(pdu->tag, p...
static void v9fs_walk(void *opaque) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ V9fsQID *qids = NULL; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ size_t offset = 7; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ V9fsPDU *pdu = opaque; V9fsState *s = pdu->s; err = pdu_unmarshal(pdu, ...
static void v9fs_walk(void *opaque) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ V9fsQID *qids = NULL; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ size_t offset = 7; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ V9fsPDU *pdu = opaque; V9fsState *s = pdu->s; V9fsQID qid; err = pd...
static void v9fs_walk(void *opaque) { V9fsQID *qids = NULL; size_t offset = 7; V9fsPDU *pdu = opaque; V9fsState *s = pdu->s; + V9fsQID qid; err = pdu_unmarshal(pdu, offset, "ddw", &fid, &newfid, &nwnames); if (err < 0) { return ; } offset += err; trace_v9fs_walk...
CVE-2016-7155
QEMU
https://github.com/qemu/qemu
hw/scsi/vmw_pvscsi.c
pvscsi_dbg_dump_tx_rings_config
static void pvscsi_dbg_dump_tx_rings_config(PVSCSICmdDescSetupRings *rc) { int i; trace_pvscsi_tx_rings_ppn("Rings State", rc->ringsStatePPN); trace_pvscsi_tx_rings_num_pages("Request Ring", rc->reqRingNumPages); for (i = 0; i < rc->reqRingNumPages; i++) { trace_pvscsi_tx_rings_ppn("Request Ring...
static void pvscsi_dbg_dump_tx_rings_config(PVSCSICmdDescSetupRings *rc) { int i; trace_pvscsi_tx_rings_ppn("Rings State", rc->ringsStatePPN); trace_pvscsi_tx_rings_num_pages("Request Ring", rc->reqRingNumPages); for (i = 0; i < rc->reqRingNumPages; i++) { trace_pvscsi_tx_rings_ppn("Request Ring...
static void pvscsi_dbg_dump_tx_rings_config(PVSCSICmdDescSetupRings *rc) { int i; trace_pvscsi_tx_rings_ppn("Rings State", rc->ringsStatePPN); trace_pvscsi_tx_rings_num_pages("Request Ring", rc->reqRingNumPages); for (i = 0; i < rc->reqRingNumPages; i++) { trace_pvscsi_tx_rings_ppn("Request Ring...
static void pvscsi_dbg_dump_tx_rings_config(PVSCSICmdDescSetupRings *rc) { int i; trace_pvscsi_tx_rings_ppn("Rings State", rc->ringsStatePPN); trace_pvscsi_tx_rings_num_pages("Request Ring", rc->reqRingNumPages); for (i = 0; i < rc->reqRingNumPages; i++) { trace_pvscsi_tx_rings_ppn("Request Ring...
static void pvscsi_dbg_dump_tx_rings_config(PVSCSICmdDescSetupRings *rc) { for (i = 0; i < rc->reqRingNumPages; i++) { trace_pvscsi_tx_rings_ppn("Request Ring", rc->reqRingPPNs[i]); } for (i = 0; i < rc->cmpRingNumPages; i++) { trace_pvscsi_tx_rings_ppn("Confirm Ring", rc->reqRingPPNs[i]); ...
static void pvscsi_dbg_dump_tx_rings_config(PVSCSICmdDescSetupRings *rc) { for (i = 0; i < rc->reqRingNumPages; i++) { trace_pvscsi_tx_rings_ppn("Request Ring", rc->reqRingPPNs[i]); } for (i = 0; i < rc->cmpRingNumPages; i++) { trace_pvscsi_tx_rings_ppn("Confirm Ring", rc->cmpRingPPNs[i]); ...
static void pvscsi_dbg_dump_tx_rings_config(PVSCSICmdDescSetupRings *rc) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ for (i = 0; i < rc->reqRingNumPages; i++) { trace_pvscsi_tx_rings_ppn("Request Ring", rc->reqRingPPNs[i]); } /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ for (i = 0; i < ...
static void pvscsi_dbg_dump_tx_rings_config(PVSCSICmdDescSetupRings *rc) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ for (i = 0; i < rc->reqRingNumPages; i++) { trace_pvscsi_tx_rings_ppn("Request Ring", rc->reqRingPPNs[i]); } /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ for (i = 0; i < ...
static void pvscsi_dbg_dump_tx_rings_config(PVSCSICmdDescSetupRings *rc) { for (i = 0; i < rc->reqRingNumPages; i++) { trace_pvscsi_tx_rings_ppn("Request Ring", rc->reqRingPPNs[i]); } for (i = 0; i < rc->cmpRingNumPages; i++) { - trace_pvscsi_tx_rings_ppn("Confirm Ring", rc->reqRingPPNs[...
CVE-2016-7155
QEMU
https://github.com/qemu/qemu
hw/scsi/vmw_pvscsi.c
pvscsi_on_cmd_setup_rings
static uint64_t pvscsi_on_cmd_setup_rings(PVSCSIState *s) { PVSCSICmdDescSetupRings *rc = (PVSCSICmdDescSetupRings *) s->curr_cmd_data; trace_pvscsi_on_cmd_arrived("PVSCSI_CMD_SETUP_RGS"); pvscsi_dbg_dump_tx_rings_config(rc); if (pvscsi_ring_init_data(&s->rings, rc) < 0) { return PVSCSI_COMMAND_...
static uint64_t pvscsi_on_cmd_setup_rings(PVSCSIState *s) { PVSCSICmdDescSetupRings *rc = (PVSCSICmdDescSetupRings *) s->curr_cmd_data; trace_pvscsi_on_cmd_arrived("PVSCSI_CMD_SETUP_RGS"); if (!rc->reqRingNumPages || rc->reqRingNumPages > PVSCSI_SETUP_RGS_MAX_NUM_PAGES || !rc->cmpRingNumPages || rc->cmpRing...
static uint64_t pvscsi_on_cmd_setup_rings(PVSCSIState *s) { PVSCSICmdDescSetupRings *rc = (PVSCSICmdDescSetupRings *) s->curr_cmd_data; trace_pvscsi_on_cmd_arrived("PVSCSI_CMD_SETUP_RGS"); pvscsi_dbg_dump_tx_rings_config(rc); if (pvscsi_ring_init_data(&s->rings, rc) < 0) { return PVSCSI_COMMAND_...
static uint64_t pvscsi_on_cmd_setup_rings(PVSCSIState *s) { PVSCSICmdDescSetupRings *rc = (PVSCSICmdDescSetupRings *) s->curr_cmd_data; trace_pvscsi_on_cmd_arrived("PVSCSI_CMD_SETUP_RGS"); if (!rc->reqRingNumPages || rc->reqRingNumPages > PVSCSI_SETUP_RGS_MAX_NUM_PAGES || !rc->cmpRingNumPages || rc->cmpRing...
static uint64_t pvscsi_on_cmd_setup_rings(PVSCSIState *s) { PVSCSICmdDescSetupRings *rc = (PVSCSICmdDescSetupRings *) s->curr_cmd_data; trace_pvscsi_on_cmd_arrived("PVSCSI_CMD_SETUP_RGS"); pvscsi_dbg_dump_tx_rings_config(rc); if (pvscsi_ring_init_data(&s->rings, rc) < 0) { return PVSCSI_COMMAND_...
static uint64_t pvscsi_on_cmd_setup_rings(PVSCSIState *s) { PVSCSICmdDescSetupRings *rc = (PVSCSICmdDescSetupRings *) s->curr_cmd_data; trace_pvscsi_on_cmd_arrived("PVSCSI_CMD_SETUP_RGS"); if (!rc->reqRingNumPages || rc->reqRingNumPages > PVSCSI_SETUP_RGS_MAX_NUM_PAGES || !rc->cmpRingNumPages || rc->cmpRing...
static uint64_t pvscsi_on_cmd_setup_rings(PVSCSIState *s) { PVSCSICmdDescSetupRings *rc = (PVSCSICmdDescSetupRings *) s->curr_cmd_data; trace_pvscsi_on_cmd_arrived("PVSCSI_CMD_SETUP_RGS"); pvscsi_dbg_dump_tx_rings_config(rc); if (pvscsi_ring_init_data(&s->rings, rc) < 0) { return PVSCSI_COMMAND_...
static uint64_t pvscsi_on_cmd_setup_rings(PVSCSIState *s) { PVSCSICmdDescSetupRings *rc = (PVSCSICmdDescSetupRings *) s->curr_cmd_data; trace_pvscsi_on_cmd_arrived("PVSCSI_CMD_SETUP_RGS"); if (!rc->reqRingNumPages || rc->reqRingNumPages > PVSCSI_SETUP_RGS_MAX_NUM_PAGES || !rc->cmpRingNumPages || rc->cmpRing...
static uint64_t pvscsi_on_cmd_setup_rings(PVSCSIState *s) { PVSCSICmdDescSetupRings *rc = (PVSCSICmdDescSetupRings *) s->curr_cmd_data; trace_pvscsi_on_cmd_arrived("PVSCSI_CMD_SETUP_RGS"); - pvscsi_dbg_dump_tx_rings_config(rc); - if (pvscsi_ring_init_data(&s->rings, rc) < 0) { + if (!rc->reqRingNumP...
CVE-2016-7155
QEMU
https://github.com/qemu/qemu
hw/scsi/vmw_pvscsi.c
pvscsi_ring_init_data
static int pvscsi_ring_init_data(PVSCSIRingInfo *m, PVSCSICmdDescSetupRings *ri) { int i; uint32_t txr_len_log2, rxr_len_log2; uint32_t req_ring_size, cmp_ring_size; m->rs_pa = ri->ringsStatePPN << VMW_PAGE_SHIFT; if ((ri->reqRingNumPages > PVSCSI_SETUP_RGS_MAX_NUM_PAGES) || (ri->cmpRingNumPages > P...
static void pvscsi_ring_init_data(PVSCSIRingInfo *m, PVSCSICmdDescSetupRings *ri) { int i; uint32_t txr_len_log2, rxr_len_log2; uint32_t req_ring_size, cmp_ring_size; m->rs_pa = ri->ringsStatePPN << VMW_PAGE_SHIFT; req_ring_size = ri->reqRingNumPages * PVSCSI_MAX_NUM_REQ_ENTRIES_PER_PAGE; cmp_ri...
static int pvscsi_ring_init_data(PVSCSIRingInfo *m, PVSCSICmdDescSetupRings *ri) { int i; uint32_t txr_len_log2, rxr_len_log2; uint32_t req_ring_size, cmp_ring_size; m->rs_pa = ri->ringsStatePPN << VMW_PAGE_SHIFT; if ((ri->reqRingNumPages > PVSCSI_SETUP_RGS_MAX_NUM_PAGES) || (ri->cmpRingNumPages > P...
static void pvscsi_ring_init_data(PVSCSIRingInfo *m, PVSCSICmdDescSetupRings *ri) { int i; uint32_t txr_len_log2, rxr_len_log2; uint32_t req_ring_size, cmp_ring_size; m->rs_pa = ri->ringsStatePPN << VMW_PAGE_SHIFT; req_ring_size = ri->reqRingNumPages * PVSCSI_MAX_NUM_REQ_ENTRIES_PER_PAGE; cmp_ri...
static int pvscsi_ring_init_data(PVSCSIRingInfo *m, PVSCSICmdDescSetupRings *ri) { m->rs_pa = ri->ringsStatePPN << VMW_PAGE_SHIFT; if ((ri->reqRingNumPages > PVSCSI_SETUP_RGS_MAX_NUM_PAGES) || (ri->cmpRingNumPages > PVSCSI_SETUP_RGS_MAX_NUM_PAGES)) { return -1; } req_ring_size = ri->reqRingNumPa...
static void pvscsi_ring_init_data(PVSCSIRingInfo *m, PVSCSICmdDescSetupRings *ri) { m->rs_pa = ri->ringsStatePPN << VMW_PAGE_SHIFT; req_ring_size = ri->reqRingNumPages * PVSCSI_MAX_NUM_REQ_ENTRIES_PER_PAGE; cmp_ring_size = ri->cmpRingNumPages * PVSCSI_MAX_NUM_CMP_ENTRIES_PER_PAGE; txr_len_log2 = pvscsi_...
static int pvscsi_ring_init_data(PVSCSIRingInfo *m, PVSCSICmdDescSetupRings *ri) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ m->rs_pa = ri->ringsStatePPN << VMW_PAGE_SHIFT; if ((ri->reqRingNumPages > PVSCSI_SETUP_RGS_MAX_NUM_PAGES) || (ri->cmpRingNumPages > PVSCSI_SETUP_RGS_MAX_NUM_PAGES)) { ret...
static void pvscsi_ring_init_data(PVSCSIRingInfo *m, PVSCSICmdDescSetupRings *ri) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ m->rs_pa = ri->ringsStatePPN << VMW_PAGE_SHIFT; req_ring_size = ri->reqRingNumPages * PVSCSI_MAX_NUM_REQ_ENTRIES_PER_PAGE; cmp_ring_size = ri->cmpRingNumPages * PVSCSI_MAX_NU...
-static int pvscsi_ring_init_data(PVSCSIRingInfo *m, PVSCSICmdDescSetupRings *ri) { +static void pvscsi_ring_init_data(PVSCSIRingInfo *m, PVSCSICmdDescSetupRings *ri) { m->rs_pa = ri->ringsStatePPN << VMW_PAGE_SHIFT; - if ((ri->reqRingNumPages > PVSCSI_SETUP_RGS_MAX_NUM_PAGES) || (ri->cmpRingNumPages > PVSCSI_S...
CVE-2016-7157
QEMU
https://github.com/qemu/qemu
hw/scsi/mptconfig.c
mptsas_config_ioc_0
static size_t mptsas_config_ioc_0(MPTSASState *s, uint8_t **data, int address) { PCIDeviceClass *pcic = PCI_DEVICE_GET_CLASS(s); return MPTSAS_CONFIG_PACK(0, MPI_CONFIG_PAGETYPE_IOC, 0x01, "*l*lwwb*b*b*blww", pcic->vendor_id, pcic->device_id, pcic->revision, pcic->subsystem_vendor_id, pcic->subsystem_id); }
static size_t mptsas_config_ioc_0(MPTSASState *s, uint8_t **data, int address) { PCIDeviceClass *pcic = PCI_DEVICE_GET_CLASS(s); return MPTSAS_CONFIG_PACK(0, MPI_CONFIG_PAGETYPE_IOC, 0x01, "*l*lwwb*b*b*blww", pcic->vendor_id, pcic->device_id, pcic->revision, pcic->class_id, pcic->subsystem_vendor_id, pcic->subs...
static size_t mptsas_config_ioc_0(MPTSASState *s, uint8_t **data, int address) { PCIDeviceClass *pcic = PCI_DEVICE_GET_CLASS(s); return MPTSAS_CONFIG_PACK(0, MPI_CONFIG_PAGETYPE_IOC, 0x01, "*l*lwwb*b*b*blww", pcic->vendor_id, pcic->device_id, pcic->revision, pcic->subsystem_vendor_id, pcic->subsystem_id); }
static size_t mptsas_config_ioc_0(MPTSASState *s, uint8_t **data, int address) { PCIDeviceClass *pcic = PCI_DEVICE_GET_CLASS(s); return MPTSAS_CONFIG_PACK(0, MPI_CONFIG_PAGETYPE_IOC, 0x01, "*l*lwwb*b*b*blww", pcic->vendor_id, pcic->device_id, pcic->revision, pcic->class_id, pcic->subsystem_vendor_id, pcic->subs...
static size_t mptsas_config_ioc_0(MPTSASState *s, uint8_t **data, int address) { PCIDeviceClass *pcic = PCI_DEVICE_GET_CLASS(s); return MPTSAS_CONFIG_PACK(0, MPI_CONFIG_PAGETYPE_IOC, 0x01, "*l*lwwb*b*b*blww", pcic->vendor_id, pcic->device_id, pcic->revision, pcic->subsystem_vendor_id, pcic->subsystem_id); }
static size_t mptsas_config_ioc_0(MPTSASState *s, uint8_t **data, int address) { PCIDeviceClass *pcic = PCI_DEVICE_GET_CLASS(s); return MPTSAS_CONFIG_PACK(0, MPI_CONFIG_PAGETYPE_IOC, 0x01, "*l*lwwb*b*b*blww", pcic->vendor_id, pcic->device_id, pcic->revision, pcic->class_id, pcic->subsystem_vendor_id, pcic->subs...
static size_t mptsas_config_ioc_0(MPTSASState *s, uint8_t **data, int address) { PCIDeviceClass *pcic = PCI_DEVICE_GET_CLASS(s); return MPTSAS_CONFIG_PACK(0, MPI_CONFIG_PAGETYPE_IOC, 0x01, "*l*lwwb*b*b*blww", pcic->vendor_id, pcic->device_id, pcic->revision, pcic->subsystem_vendor_id, pcic->subsystem_id); }
static size_t mptsas_config_ioc_0(MPTSASState *s, uint8_t **data, int address) { PCIDeviceClass *pcic = PCI_DEVICE_GET_CLASS(s); return MPTSAS_CONFIG_PACK(0, MPI_CONFIG_PAGETYPE_IOC, 0x01, "*l*lwwb*b*b*blww", pcic->vendor_id, pcic->device_id, pcic->revision, pcic->class_id, pcic->subsystem_vendor_id, pcic->subs...
static size_t mptsas_config_ioc_0(MPTSASState *s, uint8_t **data, int address) { PCIDeviceClass *pcic = PCI_DEVICE_GET_CLASS(s); - return MPTSAS_CONFIG_PACK(0, MPI_CONFIG_PAGETYPE_IOC, 0x01, "*l*lwwb*b*b*blww", pcic->vendor_id, pcic->device_id, pcic->revision, pcic->subsystem_vendor_id, pcic->subsystem_id); + ...
CVE-2016-7157
QEMU
https://github.com/qemu/qemu
hw/scsi/mptconfig.c
mptsas_config_manufacturing_1
static size_t mptsas_config_manufacturing_1(MPTSASState *s, uint8_t **data, int address) { return MPTSAS_CONFIG_PACK(1, MPI_CONFIG_PAGETYPE_MANUFACTURG, 0x00, "s256"); }
static size_t mptsas_config_manufacturing_1(MPTSASState *s, uint8_t **data, int address) { return MPTSAS_CONFIG_PACK(1, MPI_CONFIG_PAGETYPE_MANUFACTURG, 0x00, "*s256"); }
static size_t mptsas_config_manufacturing_1(MPTSASState *s, uint8_t **data, int address) { return MPTSAS_CONFIG_PACK(1, MPI_CONFIG_PAGETYPE_MANUFACTURG, 0x00, "s256"); }
static size_t mptsas_config_manufacturing_1(MPTSASState *s, uint8_t **data, int address) { return MPTSAS_CONFIG_PACK(1, MPI_CONFIG_PAGETYPE_MANUFACTURG, 0x00, "*s256"); }
static size_t mptsas_config_manufacturing_1(MPTSASState *s, uint8_t **data, int address) { return MPTSAS_CONFIG_PACK(1, MPI_CONFIG_PAGETYPE_MANUFACTURG, 0x00, "s256"); }
static size_t mptsas_config_manufacturing_1(MPTSASState *s, uint8_t **data, int address) { return MPTSAS_CONFIG_PACK(1, MPI_CONFIG_PAGETYPE_MANUFACTURG, 0x00, "*s256"); }
static size_t mptsas_config_manufacturing_1(MPTSASState *s, uint8_t **data, int address) { return MPTSAS_CONFIG_PACK(1, MPI_CONFIG_PAGETYPE_MANUFACTURG, 0x00, "s256"); }
static size_t mptsas_config_manufacturing_1(MPTSASState *s, uint8_t **data, int address) { return MPTSAS_CONFIG_PACK(1, MPI_CONFIG_PAGETYPE_MANUFACTURG, 0x00, "*s256"); }
static size_t mptsas_config_manufacturing_1(MPTSASState *s, uint8_t **data, int address) { - return MPTSAS_CONFIG_PACK(1, MPI_CONFIG_PAGETYPE_MANUFACTURG, 0x00, "s256"); + return MPTSAS_CONFIG_PACK(1, MPI_CONFIG_PAGETYPE_MANUFACTURG, 0x00, "*s256"); }
CVE-2016-7175
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-qnet6.c
dissect_qnet6_lr
static int dissect_qnet6_lr(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, gint * poffset, guint encoding) { proto_item *ti; proto_tree *stree, *srctree, *dstree, *sstree = NULL; guint32 total_len, off, len, rlen; gint lr_start, i, hf_index_off = -1, hf_index_len = -1, hf_index = -1; guint8...
static int dissect_qnet6_lr(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, gint * poffset, guint encoding) { proto_item *ti; proto_tree *stree, *srctree, *dstree, *sstree = NULL; guint32 total_len, off, len, rlen; gint lr_start, i, hf_index_off = -1, hf_index_len = -1, hf_index = -1; guint8...
static int dissect_qnet6_lr(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, gint * poffset, guint encoding) { proto_item *ti; proto_tree *stree, *srctree, *dstree, *sstree = NULL; guint32 total_len, off, len, rlen; gint lr_start, i, hf_index_off = -1, hf_index_len = -1, hf_index = -1; guint8...
static int dissect_qnet6_lr(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, gint * poffset, guint encoding) { proto_item *ti; proto_tree *stree, *srctree, *dstree, *sstree = NULL; guint32 total_len, off, len, rlen; gint lr_start, i, hf_index_off = -1, hf_index_len = -1, hf_index = -1; guint8...
static int dissect_qnet6_lr(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, gint * poffset, guint encoding) { proto_tree *stree, *srctree, *dstree, *sstree = NULL; gint lr_start, i, hf_index_off = -1, hf_index_len = -1, hf_index = -1; col_set_str(pinfo->cinfo, COL_PROTOCOL, "QNET_LR"); rlen = tv...
static int dissect_qnet6_lr(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, gint * poffset, guint encoding) { proto_tree *stree, *srctree, *dstree, *sstree = NULL; gint lr_start, i, hf_index_off = -1, hf_index_len = -1, hf_index = -1; col_set_str(pinfo->cinfo, COL_PROTOCOL, "QNET_LR"); rlen = tv...
static int dissect_qnet6_lr(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, gint * poffset, guint encoding) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ proto_tree *stree, *srctree, *dstree, *sstree = NULL; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ gint lr_start, i, hf_index_off = -1, hf_...
static int dissect_qnet6_lr(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, gint * poffset, guint encoding) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ proto_tree *stree, *srctree, *dstree, *sstree = NULL; /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ gint lr_start, i, hf_index_off = -1, hf_...
static int dissect_qnet6_lr(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, gint * poffset, guint encoding) { proto_tree *stree, *srctree, *dstree, *sstree = NULL; gint lr_start, i, hf_index_off = -1, hf_index_len = -1, hf_index = -1; col_set_str(pinfo->cinfo, COL_PROTOCOL, "QNET_LR"); rlen...
CVE-2016-7175
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-qnet6.c
proto_register_qnet6
void proto_register_qnet6(void) { static hf_register_info hf[] = { { &hf_qnet6_l4_padding, { "Padding", "qnet6.l4.padding", FT_UT16, BASE_HEX, NULL, 0, NULL, HFILL } }, { &hf_qnet6_l4_ver, { "Version", "qnet6.l4.ver", FT_UT8, BASE_D...
void proto_register_qnet6(void) { static hf_register_info hf[] = { { &hf_qnet6_l4_padding, { "Padding", "qnet6.l4.padding", FT_UT16, BASE_HEX, NULL, 0, NULL, HFILL } }, { &hf_qnet6_l4_ver, { "Version", "qnet6.l4.ver", FT_UT8, BASE_D...
void proto_register_qnet6(void) { static hf_register_info hf[] = { { &hf_qnet6_l4_padding, { "Padding", "qnet6.l4.padding", FT_UT16, BASE_HEX, NULL, 0, NULL, HFILL } }, { &hf_qnet6_l4_ver, { "Version", "qnet6.l4.ver", FT_UT8, BASE_D...
void proto_register_qnet6(void) { static hf_register_info hf[] = { { &hf_qnet6_l4_padding, { "Padding", "qnet6.l4.padding", FT_UT16, BASE_HEX, NULL, 0, NULL, HFILL } }, { &hf_qnet6_l4_ver, { "Version", "qnet6.l4.ver", FT_UT8, BASE_D...
void proto_register_qnet6(void) { static hf_register_info hf_lr[] = { { &hf_qnet6_lr_ver, { "Version", "qnet6.lr.ver", FT_UT8, BASE_DEC, VALS(qnet6_lr_ver_vals), 0, "Lan Resolver Version", HFILL } }, { &hf_qnet6_lr_type, { "Type", "...
void proto_register_qnet6(void) { static hf_register_info hf_lr[] = { { &hf_qnet6_lr_ver, { "Version", "qnet6.lr.ver", FT_UT8, BASE_DEC, VALS(qnet6_lr_ver_vals), 0, "Lan Resolver Version", HFILL } }, { &hf_qnet6_lr_type, { "Type", "...
void proto_register_qnet6(void) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ static hf_register_info hf_lr[] = { { &hf_qnet6_lr_ver, { "Version", "qnet6.lr.ver", FT_UT8, BASE_DEC, VALS(qnet6_lr_ver_vals), 0, "Lan Resolver Version", HFILL } }, { ...
void proto_register_qnet6(void) { /* PLACEHOLDER: DO NOT DELETE THIS COMMENT */ static hf_register_info hf_lr[] = { { &hf_qnet6_lr_ver, { "Version", "qnet6.lr.ver", FT_UT8, BASE_DEC, VALS(qnet6_lr_ver_vals), 0, "Lan Resolver Version", HFILL } }, { ...
void proto_register_qnet6(void) { static hf_register_info hf_lr[] = { { &hf_qnet6_lr_ver, { "Version", "qnet6.lr.ver", FT_UT8, BASE_DEC, VALS(qnet6_lr_ver_vals), 0, "Lan Resolver Version", HFILL } }, { &hf_qnet6_lr_type, { ...
CVE-2016-7176
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-h225.c
dissect_h225_Alerting_UUIE
static int dissect_h225_Alerting_UUIE(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) { h225_packet_info* h225_pi; offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_h225_Alerting_UUIE, Alerting_UUIE_sequence); h225_pi = (h225_packet_info*)p_get_proto_data(wme...
static int dissect_h225_Alerting_UUIE(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) { h225_packet_info* h225_pi; offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_h225_Alerting_UUIE, Alerting_UUIE_sequence); h225_pi = (h225_packet_info*)p_get_proto_data(wme...
static int dissect_h225_Alerting_UUIE(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_h225_Alerting_UUIE, Alerting_UUIE_sequence); h225_pi->cs_type = H225_ALERTG; if (contains_faststart == TRUE ) { g...
static int dissect_h225_Alerting_UUIE(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_h225_Alerting_UUIE, Alerting_UUIE_sequence); h225_pi->cs_type = H225_ALERTG; if (contains_faststart) { char temp[...
static int dissect_h225_Alerting_UUIE(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_h225_Alerting_UUIE, Alerting_UUIE_sequence); h225_pi = (h225_packet_info*)p_get_proto_data(wmem_packet_scope(), actx->pinfo, ...
static int dissect_h225_Alerting_UUIE(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_h225_Alerting_UUIE, Alerting_UUIE_sequence); h225_pi = (h225_packet_info*)p_get_proto_data(wmem_packet_scope(), actx->pinfo, ...
static int dissect_h225_Alerting_UUIE(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_h225_Alerting_UUIE, Alerting_UUIE_sequence); h225_pi->cs_type = H225_ALERTG; if (contains_faststart == TRUE ) { g...
static int dissect_h225_Alerting_UUIE(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_h225_Alerting_UUIE, Alerting_UUIE_sequence); h225_pi->cs_type = H225_ALERTG; if (contains_faststart) { char temp[...
static int dissect_h225_Alerting_UUIE(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_h225_Alerting_UUIE, Alerting_UUIE_sequence); h225_pi = (h225_packet_info*)p_get_proto_data(wmem_packet_scope(), actx->pinf...
CVE-2016-7176
Wireshark
https://github.com/wireshark/wireshark
epan/dissectors/packet-h225.c
dissect_h225_CallProceeding_UUIE
static int dissect_h225_CallProceeding_UUIE(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) { h225_packet_info* h225_pi; offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_h225_CallProceeding_UUIE, CallProceeding_UUIE_sequence); h225_pi = (h225_packet_info*)p_...
static int dissect_h225_CallProceeding_UUIE(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) { h225_packet_info* h225_pi; offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_h225_CallProceeding_UUIE, CallProceeding_UUIE_sequence); h225_pi = (h225_packet_info*)p_...
static int dissect_h225_CallProceeding_UUIE(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_h225_CallProceeding_UUIE, CallProceeding_UUIE_sequence); h225_pi->cs_type = H225_CALL_PROCEDG; if (contains_faststa...
static int dissect_h225_CallProceeding_UUIE(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_h225_CallProceeding_UUIE, CallProceeding_UUIE_sequence); h225_pi->cs_type = H225_CALL_PROCEDG; if (contains_faststa...
static int dissect_h225_CallProceeding_UUIE(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_h225_CallProceeding_UUIE, CallProceeding_UUIE_sequence); h225_pi = (h225_packet_info*)p_get_proto_data(wmem_packet_scop...
static int dissect_h225_CallProceeding_UUIE(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_h225_CallProceeding_UUIE, CallProceeding_UUIE_sequence); h225_pi = (h225_packet_info*)p_get_proto_data(wmem_packet_scop...
static int dissect_h225_CallProceeding_UUIE(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_h225_CallProceeding_UUIE, CallProceeding_UUIE_sequence); h225_pi->cs_type = H225_CALL_PROCEDG; if (contains_faststa...
static int dissect_h225_CallProceeding_UUIE(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_h225_CallProceeding_UUIE, CallProceeding_UUIE_sequence); h225_pi->cs_type = H225_CALL_PROCEDG; if (contains_faststa...
static int dissect_h225_CallProceeding_UUIE(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index ) { offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_h225_CallProceeding_UUIE, CallProceeding_UUIE_sequence); h225_pi = (h225_packet_info*)p_get_proto_data(wmem_packet_s...