cve_id stringlengths 13 16 | repo stringclasses 12
values | repo_url stringclasses 10
values | file_path stringlengths 7 62 | function_name stringlengths 4 52 | pa stringlengths 50 341k | pb stringlengths 33 341k | px stringlengths 50 338k | py stringlengths 33 338k | pa_sliced stringlengths 31 44.3k | pb_sliced stringlengths 31 44.6k | px_sliced stringlengths 51 45.8k | py_sliced stringlengths 33 46.9k | patch_sliced stringlengths 0 46.8k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CVE-2018-13304 | FFmpeg | https://github.com/FFmpeg/FFmpeg | libavcodec/h263dec.c | ff_h263_decode_frame | int ff_h263_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) {
const uint8_t *buf = avpkt->data;
int buf_size = avpkt->size;
MpegEncContext *s = avctx->priv_data;
int ret;
int slice_ret = 0;
AVFrame *pict = data;
if (buf_size == 0) {
if (s->low_delay =... | int ff_h263_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) {
const uint8_t *buf = avpkt->data;
int buf_size = avpkt->size;
MpegEncContext *s = avctx->priv_data;
int ret;
int slice_ret = 0;
AVFrame *pict = data;
if (buf_size == 0) {
if (s->low_delay =... | int ff_h263_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) {
const uint8_t *buf = avpkt->data;
int buf_size = avpkt->size;
MpegEncContext *s = avctx->priv_data;
int ret;
int slice_ret = 0;
AVFrame *pict = data;
if (buf_size == 0) {
if (s->low_delay =... | int ff_h263_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) {
const uint8_t *buf = avpkt->data;
int buf_size = avpkt->size;
MpegEncContext *s = avctx->priv_data;
int ret;
int slice_ret = 0;
AVFrame *pict = data;
if (buf_size == 0) {
if (s->low_delay =... | int ff_h263_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) {
const uint8_t *buf = avpkt->data;
int buf_size = avpkt->size;
MpegEncContext *s = avctx->priv_data;
if (buf_size == 0) {
if (s->low_delay == 0 && s->next_picture_ptr) {
if ((ret = av_frame_... | int ff_h263_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) {
const uint8_t *buf = avpkt->data;
int buf_size = avpkt->size;
MpegEncContext *s = avctx->priv_data;
if (buf_size == 0) {
if (s->low_delay == 0 && s->next_picture_ptr) {
if ((ret = av_frame_... | int ff_h263_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) {
const uint8_t *buf = avpkt->data;
int buf_size = avpkt->size;
MpegEncContext *s = avctx->priv_data;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (buf_size == 0) {
if (s->low_delay == 0 && s->ne... | int ff_h263_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) {
const uint8_t *buf = avpkt->data;
int buf_size = avpkt->size;
MpegEncContext *s = avctx->priv_data;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (buf_size == 0) {
if (s->low_delay == 0 && s->ne... | int ff_h263_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) {
const uint8_t *buf = avpkt->data;
int buf_size = avpkt->size;
MpegEncContext *s = avctx->priv_data;
if (buf_size == 0) {
if (s->low_delay == 0 && s->next_picture_ptr) {
if ((ret = av... |
CVE-2018-13304 | FFmpeg | https://github.com/FFmpeg/FFmpeg | libavcodec/h263dec.c | h263_get_format | static enum AVPixelFormat h263_get_format(AVCodecContext *avctx) {
if (avctx->bits_per_raw_sample > 8) {
av_assert1(avctx->profile == FF_PROFILE_MPEG4_SIMPLE_STUDIO);
return avctx->pix_fmt;
}
if (avctx->codec->id == AV_CODEC_ID_MSS2) {
return AV_PIX_FMT_YUV420P;
}
if (CONFIG_... | static enum AVPixelFormat h263_get_format(AVCodecContext *avctx) {
MpegEncContext *s = avctx->priv_data;
if (avctx->bits_per_raw_sample > 8) {
av_assert1(s->studio_profile);
return avctx->pix_fmt;
}
if (avctx->codec->id == AV_CODEC_ID_MSS2) {
return AV_PIX_FMT_YUV420P;
}
... | static enum AVPixelFormat h263_get_format(AVCodecContext *avctx) {
if (avctx->bits_per_raw_sample > 8) {
av_assert1(avctx->profile == FF_PROFILE_MPEG4_SIMPLE_STUDIO);
return avctx->pix_fmt;
}
if (avctx->codec->id == AV_CODEC_ID_MSS2) {
return AV_PIX_FMT_YUV420P;
}
if (CONFIG_... | static enum AVPixelFormat h263_get_format(AVCodecContext *avctx) {
MpegEncContext *s = avctx->priv_data;
if (avctx->bits_per_raw_sample > 8) {
av_assert1(s->studio_profile);
return avctx->pix_fmt;
}
if (avctx->codec->id == AV_CODEC_ID_MSS2) {
return AV_PIX_FMT_YUV420P;
}
... | static enum AVPixelFormat h263_get_format(AVCodecContext *avctx) {
if (avctx->bits_per_raw_sample > 8) {
av_assert1(avctx->profile == FF_PROFILE_MPEG4_SIMPLE_STUDIO);
return avctx->pix_fmt;
}
}
| static enum AVPixelFormat h263_get_format(AVCodecContext *avctx) {
MpegEncContext *s = avctx->priv_data;
if (avctx->bits_per_raw_sample > 8) {
av_assert1(s->studio_profile);
return avctx->pix_fmt;
}
}
| static enum AVPixelFormat h263_get_format(AVCodecContext *avctx) {
if (avctx->bits_per_raw_sample > 8) {
av_assert1(avctx->profile == FF_PROFILE_MPEG4_SIMPLE_STUDIO);
return avctx->pix_fmt;
}
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
}
| static enum AVPixelFormat h263_get_format(AVCodecContext *avctx) {
MpegEncContext *s = avctx->priv_data;
if (avctx->bits_per_raw_sample > 8) {
av_assert1(s->studio_profile);
return avctx->pix_fmt;
}
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
} | static enum AVPixelFormat h263_get_format(AVCodecContext *avctx) {
+ MpegEncContext *s = avctx->priv_data;
if (avctx->bits_per_raw_sample > 8) {
- av_assert1(avctx->profile == FF_PROFILE_MPEG4_SIMPLE_STUDIO);
+ av_assert1(s->studio_profile);
return avctx->pix_fmt;
}
} |
CVE-2018-13304 | FFmpeg | https://github.com/FFmpeg/FFmpeg | libavcodec/mpeg4videodec.c | ff_mpeg4_decode_picture_header | int ff_mpeg4_decode_picture_header(Mpeg4DecContext *ctx, GetBitContext *gb) {
MpegEncContext *s = &ctx->m;
unsigned startcode, v;
int ret;
int vol = 0;
align_get_bits(gb);
if (!s->studio_profile && s->avctx->bits_per_raw_sample != 8) {
s->avctx->bits_per_raw_sample = 0;
}
if (s->... | int ff_mpeg4_decode_picture_header(Mpeg4DecContext *ctx, GetBitContext *gb) {
MpegEncContext *s = &ctx->m;
unsigned startcode, v;
int ret;
int vol = 0;
align_get_bits(gb);
if (!s->studio_profile && s->avctx->bits_per_raw_sample != 8) {
s->avctx->bits_per_raw_sample = 0;
}
if (s->... | int ff_mpeg4_decode_picture_header(Mpeg4DecContext *ctx, GetBitContext *gb) {
MpegEncContext *s = &ctx->m;
unsigned startcode, v;
int ret;
int vol = 0;
align_get_bits(gb);
if (!s->studio_profile && s->avctx->bits_per_raw_sample != 8) {
s->avctx->bits_per_raw_sample = 0;
}
if (s->... | int ff_mpeg4_decode_picture_header(Mpeg4DecContext *ctx, GetBitContext *gb) {
MpegEncContext *s = &ctx->m;
unsigned startcode, v;
int ret;
int vol = 0;
align_get_bits(gb);
if (!s->studio_profile && s->avctx->bits_per_raw_sample != 8) {
s->avctx->bits_per_raw_sample = 0;
}
if (s->... | int ff_mpeg4_decode_picture_header(Mpeg4DecContext *ctx, GetBitContext *gb) {
for (;;) {
if (startcode >= 0x120 && startcode <= 0x12F) {
} else if (startcode == USER_DATA_STARTCODE) {
} else if (startcode == GOP_STARTCODE) {
} else if (startcode == VOS_STARTCODE) {
if (pr... | int ff_mpeg4_decode_picture_header(Mpeg4DecContext *ctx, GetBitContext *gb) {
for (;;) {
if (startcode >= 0x120 && startcode <= 0x12F) {
} else if (startcode == USER_DATA_STARTCODE) {
} else if (startcode == GOP_STARTCODE) {
} else if (startcode == VOS_STARTCODE) {
if (pr... | int ff_mpeg4_decode_picture_header(Mpeg4DecContext *ctx, GetBitContext *gb) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
for (;;) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (startcode >= 0x120 && startcode <= 0x12F) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
} else if (st... | int ff_mpeg4_decode_picture_header(Mpeg4DecContext *ctx, GetBitContext *gb) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
for (;;) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (startcode >= 0x120 && startcode <= 0x12F) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
} else if (st... | int ff_mpeg4_decode_picture_header(Mpeg4DecContext *ctx, GetBitContext *gb) {
for (;;) {
if (startcode >= 0x120 && startcode <= 0x12F) {
} else if (startcode == USER_DATA_STARTCODE) {
} else if (startcode == GOP_STARTCODE) {
} else if (startcode == VOS_STARTCODE) {
... |
CVE-2018-14339 | Wireshark | https://github.com/wireshark/wireshark | epan/proto.c | proto_tree_add_string | proto_item * proto_tree_add_string(proto_tree *tree, int hfindex, tvbuff_t *tvb, gint start, gint length, const char* value) {
proto_item *pi;
header_field_info *hfinfo;
CHECK_FOR_NULL_TREE(tree);
TRY_TO_FAKE_THIS_ITEM(tree, hfindex, hfinfo);
DISSECTOR_ASSERT_FIELD_TYPE_IS_STRG(hfinfo);
if (hfin... | proto_item * proto_tree_add_string(proto_tree *tree, int hfindex, tvbuff_t *tvb, gint start, gint length, const char* value) {
proto_item *pi;
header_field_info *hfinfo;
gint item_length;
PROTO_REGISTRAR_GET_NTH(hfindex, hfinfo);
get_hfi_length(hfinfo, tvb, start, &length, &item_length, ENC_NA);
... | proto_item * proto_tree_add_string(proto_tree *tree, int hfindex, tvbuff_t *tvb, gint start, gint length, const char* value) {
proto_item *pi;
header_field_info *hfinfo;
CHECK_FOR_NULL_TREE(tree);
TRY_TO_FAKE_THIS_ITEM(tree, hfindex, hfinfo);
DISSECTOR_ASSERT_FIELD_TYPE_IS_STRG(hfinfo);
if (hfin... | proto_item * proto_tree_add_string(proto_tree *tree, int hfindex, tvbuff_t *tvb, gint start, gint length, const char* value) {
proto_item *pi;
header_field_info *hfinfo;
gint item_length;
PROTO_REGISTRAR_GET_NTH(hfindex, hfinfo);
get_hfi_length(hfinfo, tvb, start, &length, &item_length, ENC_NA);
... | proto_item * proto_tree_add_string(proto_tree *tree, int hfindex, tvbuff_t *tvb, gint start, gint length, const char* value) {
header_field_info *hfinfo;
CHECK_FOR_NULL_TREE(tree);
TRY_TO_FAKE_THIS_ITEM(tree, hfindex, hfinfo);
DISSECTOR_ASSERT_FIELD_TYPE_IS_STRG(hfinfo);
pi = proto_tree_add_pi(tree,... | proto_item * proto_tree_add_string(proto_tree *tree, int hfindex, tvbuff_t *tvb, gint start, gint length, const char* value) {
header_field_info *hfinfo;
gint item_length;
PROTO_REGISTRAR_GET_NTH(hfindex, hfinfo);
get_hfi_length(hfinfo, tvb, start, &length, &item_length, ENC_NA);
if (item_length != ... | proto_item * proto_tree_add_string(proto_tree *tree, int hfindex, tvbuff_t *tvb, gint start, gint length, const char* value) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
header_field_info *hfinfo;
CHECK_FOR_NULL_TREE(tree);
TRY_TO_FAKE_THIS_ITEM(tree, hfindex, hfinfo);
DISSECTOR_ASSERT_FIELD_TYPE... | proto_item * proto_tree_add_string(proto_tree *tree, int hfindex, tvbuff_t *tvb, gint start, gint length, const char* value) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
header_field_info *hfinfo;
gint item_length;
PROTO_REGISTRAR_GET_NTH(hfindex, hfinfo);
get_hfi_length(hfinfo, tvb, start, &leng... | proto_item * proto_tree_add_string(proto_tree *tree, int hfindex, tvbuff_t *tvb, gint start, gint length, const char* value) {
header_field_info *hfinfo;
+ gint item_length;
+ PROTO_REGISTRAR_GET_NTH(hfindex, hfinfo);
+ get_hfi_length(hfinfo, tvb, start, &length, &item_length, ENC_NA);
+ if (item_leng... |
CVE-2018-14340 | Wireshark | https://github.com/wireshark/wireshark | epan/tvbuff_zlib.c | tvb_uncompress | tvbuff_t * tvb_uncompress(tvbuff_t *tvb, const int offset, int comprlen) {
gint err;
guint bytes_out = 0;
guint8 *compr;
guint8 *uncompr = NULL;
tvbuff_t *uncompr_tvb = NULL;
z_streamp strm;
Bytef *strmbuf;
guint inits_done = 0;
gint wbits = MAX_WBITS;
guint8 *next;
guint buf... | tvbuff_t * tvb_uncompress(tvbuff_t *tvb, const int offset, int comprlen) {
gint err;
guint bytes_out = 0;
guint8 *compr;
guint8 *uncompr = NULL;
tvbuff_t *uncompr_tvb = NULL;
z_streamp strm;
Bytef *strmbuf;
guint inits_done = 0;
gint wbits = MAX_WBITS;
guint8 *next;
guint buf... | tvbuff_t * tvb_uncompress(tvbuff_t *tvb, const int offset, int comprlen) {
gint err;
guint bytes_out = 0;
guint8 *compr;
guint8 *uncompr = NULL;
tvbuff_t *uncompr_tvb = NULL;
z_streamp strm;
Bytef *strmbuf;
guint inits_done = 0;
gint wbits = MAX_WBITS;
guint8 *next;
guint buf... | tvbuff_t * tvb_uncompress(tvbuff_t *tvb, const int offset, int comprlen) {
gint err;
guint bytes_out = 0;
guint8 *compr;
guint8 *uncompr = NULL;
tvbuff_t *uncompr_tvb = NULL;
z_streamp strm;
Bytef *strmbuf;
guint inits_done = 0;
gint wbits = MAX_WBITS;
guint8 *next;
guint buf... | tvbuff_t * tvb_uncompress(tvbuff_t *tvb, const int offset, int comprlen) {
guint bytes_in = tvb_captured_length_remaining(tvb, offset);
if (tvb == NULL) {
return NULL;
}
compr = (guint8 *)tvb_memdup(NULL, tvb, offset, comprlen);
if (compr == NULL) {
return NULL;
}
bufsiz = tv... | tvbuff_t * tvb_uncompress(tvbuff_t *tvb, const int offset, int comprlen) {
guint bytes_in = tvb_captured_length_remaining(tvb, offset);
if (tvb == NULL || comprlen <= 0) {
return NULL;
}
compr = (guint8 *)tvb_memdup(NULL, tvb, offset, comprlen);
if (compr == NULL) {
return NULL;
... | tvbuff_t * tvb_uncompress(tvbuff_t *tvb, const int offset, int comprlen) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
guint bytes_in = tvb_captured_length_remaining(tvb, offset);
if (tvb == NULL) {
return NULL;
}
compr = (guint8 *)g_malloc(comprlen);
tvb_memcpy(tvb, compr, offset, com... | tvbuff_t * tvb_uncompress(tvbuff_t *tvb, const int offset, int comprlen) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
guint bytes_in = tvb_captured_length_remaining(tvb, offset);
if (tvb == NULL || comprlen <= 0) {
return NULL;
}
compr = (guint8 *)g_malloc(comprlen);
tvb_memcpy(tvb, c... | tvbuff_t * tvb_uncompress(tvbuff_t *tvb, const int offset, int comprlen) {
guint bytes_in = tvb_captured_length_remaining(tvb, offset);
- if (tvb == NULL) {
+ if (tvb == NULL || comprlen <= 0) {
return NULL;
}
compr = (guint8 *)tvb_memdup(NULL, tvb, offset, comprlen);
if (compr == NU... |
CVE-2018-14341 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-dcm.c | dissect_dcm_tag_value | static guint32 dissect_dcm_tag_value(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, dcm_state_pdv_t *pdv, guint32 offset, guint16 grp, guint16 elm, guint32 vl, guint32 vl_max, const gchar* vr,
gchar **tag_value) {
proto_item *pitem = NULL;
guint encoding = (pdv->syntax... | static guint32 dissect_dcm_tag_value(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, dcm_state_pdv_t *pdv, guint32 offset, guint16 grp, guint16 elm, guint32 vl, guint32 vl_max, const gchar* vr,
gchar **tag_value) {
proto_item *pitem = NULL;
guint encoding = (pdv->syntax... | static guint32 dissect_dcm_tag_value(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, dcm_state_pdv_t *pdv, guint32 offset, guint16 grp, guint16 elm, guint32 vl, guint32 vl_max, const gchar* vr,
gchar **tag_value) {
proto_item *pitem = NULL;
gboolean is_little_endian;
... | static guint32 dissect_dcm_tag_value(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, dcm_state_pdv_t *pdv, guint32 offset, guint16 grp, guint16 elm, guint32 vl, guint32 vl_max, const gchar* vr,
gchar **tag_value) {
proto_item *pitem = NULL;
gboolean is_little_endian;
... | static guint32 dissect_dcm_tag_value(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, dcm_state_pdv_t *pdv, guint32 offset, guint16 grp, guint16 elm, guint32 vl, guint32 vl_max, const gchar* vr,
gchar **tag_value) {
guint encoding = (pdv->syntax == DCM_EBE) ? ENC_BIG_ENDIAN ... | static guint32 dissect_dcm_tag_value(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, dcm_state_pdv_t *pdv, guint32 offset, guint16 grp, guint16 elm, guint32 vl, guint32 vl_max, const gchar* vr,
gchar **tag_value) {
guint encoding = (pdv->syntax == DCM_EBE) ? ENC_BIG_ENDIAN ... | static guint32 dissect_dcm_tag_value(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, dcm_state_pdv_t *pdv, guint32 offset, guint16 grp, guint16 elm, guint32 vl, guint32 vl_max, const gchar* vr,
gchar **tag_value) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
gboolean ... | static guint32 dissect_dcm_tag_value(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, dcm_state_pdv_t *pdv, guint32 offset, guint16 grp, guint16 elm, guint32 vl, guint32 vl_max, const gchar* vr,
gchar **tag_value) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
gboolean ... | static guint32 dissect_dcm_tag_value(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, dcm_state_pdv_t *pdv, guint32 offset, guint16 grp, guint16 elm, guint32 vl, guint32 vl_max, const gchar* vr,
gchar **tag_value) {
guint encoding = (pdv->syntax == DCM_EBE) ? ENC_BIG_ENDI... |
CVE-2018-14342 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-bgp.c | dissect_bgp_path_attr | static void dissect_bgp_path_attr(proto_tree *subtree, tvbuff_t *tvb, guint16 path_attr_len, guint tvb_off, packet_info *pinfo) {
guint8 bgpa_flags;
guint8 bgpa_type;
gint o;
gint q=0;
gint end=0;
int advance;
proto_item *ti;
proto_item *ti_communities;
proto_item *ti_community;
... | static void dissect_bgp_path_attr(proto_tree *subtree, tvbuff_t *tvb, guint16 path_attr_len, guint tvb_off, packet_info *pinfo) {
guint8 bgpa_flags;
guint8 bgpa_type;
gint o;
gint q=0;
gint end=0;
int advance;
proto_item *ti;
proto_item *ti_communities;
proto_item *ti_community;
... | static void dissect_bgp_path_attr(proto_tree *subtree, tvbuff_t *tvb, guint16 path_attr_len, guint tvb_off, packet_info *pinfo) {
guint8 bgpa_flags;
guint8 bgpa_type;
gint o;
gint q=0;
gint end=0;
int advance;
proto_item *ti;
proto_item *ti_communities;
proto_item *ti_community;
... | static void dissect_bgp_path_attr(proto_tree *subtree, tvbuff_t *tvb, guint16 path_attr_len, guint tvb_off, packet_info *pinfo) {
guint8 bgpa_flags;
guint8 bgpa_type;
gint o;
gint q=0;
gint end=0;
int advance;
proto_item *ti;
proto_item *ti_communities;
proto_item *ti_community;
... | static void dissect_bgp_path_attr(proto_tree *subtree, tvbuff_t *tvb, guint16 path_attr_len, guint tvb_off, packet_info *pinfo) {
int i=0, j, k;
o = tvb_off;
while (i < path_attr_len) {
proto_item *ti_pa, *ti_flags;
int off;
gint alen, aoff, tlen, aoff_save;
guint16 af;
... | static void dissect_bgp_path_attr(proto_tree *subtree, tvbuff_t *tvb, guint16 path_attr_len, guint tvb_off, packet_info *pinfo) {
int i=0, j, k;
o = tvb_off;
while (i < path_attr_len) {
proto_item *ti_pa, *ti_flags;
int off;
gint alen, aoff, tlen, aoff_save;
guint16 af;
... | static void dissect_bgp_path_attr(proto_tree *subtree, tvbuff_t *tvb, guint16 path_attr_len, guint tvb_off, packet_info *pinfo) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
int i=0, j, k;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
o = tvb_off;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
... | static void dissect_bgp_path_attr(proto_tree *subtree, tvbuff_t *tvb, guint16 path_attr_len, guint tvb_off, packet_info *pinfo) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
int i=0, j, k;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
o = tvb_off;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
... | static void dissect_bgp_path_attr(proto_tree *subtree, tvbuff_t *tvb, guint16 path_attr_len, guint tvb_off, packet_info *pinfo) {
int i=0, j, k;
o = tvb_off;
while (i < path_attr_len) {
proto_item *ti_pa, *ti_flags;
int off;
gint alen, aoff, tlen, aoff_save;
guint16 a... |
CVE-2018-14342 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-bgp.c | dissect_bgp_update | static void dissect_bgp_update(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo) {
guint16 hlen;
gint o;
gint end=0;
guint16 len;
proto_item *ti;
proto_tree *subtree;
int i;
hlen = tvb_get_ntohs(tvb, BGP_MARKER_SIZE);
o = BGP_HEADER_SIZE;
len = tvb_get_ntohs(tvb, o);
proto... | static void dissect_bgp_update(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo) {
guint16 hlen;
gint o;
gint end=0;
guint16 len;
proto_item *ti;
proto_tree *subtree;
int i;
hlen = tvb_get_ntohs(tvb, BGP_MARKER_SIZE);
o = BGP_HEADER_SIZE;
len = tvb_get_ntohs(tvb, o);
proto... | static void dissect_bgp_update(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo) {
guint16 hlen;
gint o;
gint end=0;
guint16 len;
proto_item *ti;
proto_tree *subtree;
int i;
hlen = tvb_get_ntohs(tvb, BGP_MARKER_SIZE);
o = BGP_HEADER_SIZE;
len = tvb_get_ntohs(tvb, o);
proto... | static void dissect_bgp_update(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo) {
guint16 hlen;
gint o;
gint end=0;
guint16 len;
proto_item *ti;
proto_tree *subtree;
int i;
hlen = tvb_get_ntohs(tvb, BGP_MARKER_SIZE);
o = BGP_HEADER_SIZE;
len = tvb_get_ntohs(tvb, o);
proto... | static void dissect_bgp_update(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo) {
hlen = tvb_get_ntohs(tvb, BGP_MARKER_SIZE);
o = BGP_HEADER_SIZE;
len = tvb_get_ntohs(tvb, o);
proto_tree_add_item(tree, hf_bgp_update_withdrawn_routes_length, tvb, o, 2, ENC_BIG_ENDIAN);
o += 2;
if (len > 0) {
... | static void dissect_bgp_update(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo) {
hlen = tvb_get_ntohs(tvb, BGP_MARKER_SIZE);
o = BGP_HEADER_SIZE;
len = tvb_get_ntohs(tvb, o);
proto_tree_add_item(tree, hf_bgp_update_withdrawn_routes_length, tvb, o, 2, ENC_BIG_ENDIAN);
o += 2;
if (len > 0) {
... | static void dissect_bgp_update(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
hlen = tvb_get_ntohs(tvb, BGP_MARKER_SIZE);
o = BGP_HEADER_SIZE;
len = tvb_get_ntohs(tvb, o);
proto_tree_add_item(tree, hf_bgp_update_withdrawn_routes_length, tvb, o, 2... | static void dissect_bgp_update(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
hlen = tvb_get_ntohs(tvb, BGP_MARKER_SIZE);
o = BGP_HEADER_SIZE;
len = tvb_get_ntohs(tvb, o);
proto_tree_add_item(tree, hf_bgp_update_withdrawn_routes_length, tvb, o, 2... | static void dissect_bgp_update(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo) {
hlen = tvb_get_ntohs(tvb, BGP_MARKER_SIZE);
o = BGP_HEADER_SIZE;
len = tvb_get_ntohs(tvb, o);
proto_tree_add_item(tree, hf_bgp_update_withdrawn_routes_length, tvb, o, 2, ENC_BIG_ENDIAN);
o += 2;
if (len ... |
CVE-2018-14343 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-ber.c | try_get_ber_length | static int try_get_ber_length(tvbuff_t *tvb, int offset, guint32 *length, gboolean *ind, gint nest_level) {
guint8 oct, len;
guint32 indef_len;
guint32 tmp_length;
gboolean tmp_ind;
int tmp_offset, s_offset;
gint8 tclass;
gboolean tpc;
gint32 ttag;
tmp_length = 0;
tmp_ind = FALSE... | static int try_get_ber_length(tvbuff_t *tvb, int offset, guint32 *length, gboolean *ind, gint nest_level) {
guint8 oct, len;
guint32 indef_len;
guint32 tmp_length;
gboolean tmp_ind;
int tmp_offset, s_offset;
gint8 tclass;
gboolean tpc;
gint32 ttag;
tmp_length = 0;
tmp_ind = FALSE... | static int try_get_ber_length(tvbuff_t *tvb, int offset, guint32 *length, gboolean *ind, gint nest_level) {
guint8 oct, len;
guint32 indef_len;
guint32 tmp_length;
gboolean tmp_ind;
int tmp_offset, s_offset;
gint8 tclass;
gboolean tpc;
gint32 ttag;
tmp_length = 0;
tmp_ind = FALSE... | static int try_get_ber_length(tvbuff_t *tvb, int offset, guint32 *length, gboolean *ind, gint nest_level) {
guint8 oct, len;
guint32 indef_len;
guint32 tmp_length;
gboolean tmp_ind;
int tmp_offset, s_offset;
gint8 tclass;
gboolean tpc;
gint32 ttag;
tmp_length = 0;
tmp_ind = FALSE... | static int try_get_ber_length(tvbuff_t *tvb, int offset, guint32 *length, gboolean *ind, gint nest_level) {
tmp_length = 0;
oct = tvb_get_guint8(tvb, offset);
offset += 1;
if (!(oct & 0x80)) {
tmp_length = oct;
} else {
if (len) {
while (len--) {
oct = tvb... | static int try_get_ber_length(tvbuff_t *tvb, int offset, guint32 *length, gboolean *ind, gint nest_level) {
tmp_length = 0;
oct = tvb_get_guint8(tvb, offset);
offset += 1;
if (!(oct & 0x80)) {
tmp_length = oct;
} else {
if (len) {
while (len--) {
oct = tvb... | static int try_get_ber_length(tvbuff_t *tvb, int offset, guint32 *length, gboolean *ind, gint nest_level) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
tmp_length = 0;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
oct = tvb_get_guint8(tvb, offset);
offset += 1;
if (!(oct & 0x80)) {
tmp... | static int try_get_ber_length(tvbuff_t *tvb, int offset, guint32 *length, gboolean *ind, gint nest_level) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
tmp_length = 0;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
oct = tvb_get_guint8(tvb, offset);
offset += 1;
if (!(oct & 0x80)) {
tmp... | static int try_get_ber_length(tvbuff_t *tvb, int offset, guint32 *length, gboolean *ind, gint nest_level) {
tmp_length = 0;
oct = tvb_get_guint8(tvb, offset);
offset += 1;
if (!(oct & 0x80)) {
tmp_length = oct;
} else {
if (len) {
while (len--) {
... |
CVE-2018-14344 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-ismp.c | dissect_ismp_edp | static void dissect_ismp_edp(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *ismp_tree) {
int neighbors_count = 0;
int tuples_count = 0;
guint16 device_type = 0;
guint16 num_neighbors = 0;
guint16 num_tuples = 0;
guint16 tuple_type = 0;
guint16 tuple_length = 0;
gchar* ipx_add... | static void dissect_ismp_edp(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *ismp_tree) {
int neighbors_count = 0;
int tuples_count = 0;
guint16 device_type = 0;
guint16 num_neighbors = 0;
guint16 num_tuples = 0;
guint16 tuple_type = 0;
guint32 tuple_length = 0;
gchar* ipx_add... | static void dissect_ismp_edp(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *ismp_tree) {
int neighbors_count = 0;
int tuples_count = 0;
guint16 device_type = 0;
guint16 num_neighbors = 0;
guint16 num_tuples = 0;
guint16 tuple_type = 0;
guint16 tuple_length = 0;
proto_item *ed... | static void dissect_ismp_edp(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *ismp_tree) {
int neighbors_count = 0;
int tuples_count = 0;
guint16 device_type = 0;
guint16 num_neighbors = 0;
guint16 num_tuples = 0;
guint16 tuple_type = 0;
guint32 tuple_length = 0;
proto_item *ed... | static void dissect_ismp_edp(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *ismp_tree) {
int neighbors_count = 0;
int tuples_count = 0;
guint16 tuple_type = 0;
guint16 tuple_length = 0;
gchar* ipx_addr_str;
proto_item *edp_ti, *ti;
proto_tree *edp_tree;
col_set_str(pinfo->cin... | static void dissect_ismp_edp(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *ismp_tree) {
int neighbors_count = 0;
int tuples_count = 0;
guint16 tuple_type = 0;
guint32 tuple_length = 0;
gchar* ipx_addr_str;
proto_item *edp_ti;
proto_tree *edp_tree;
col_set_str(pinfo->cinfo, C... | static void dissect_ismp_edp(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *ismp_tree) {
int neighbors_count = 0;
int tuples_count = 0;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
guint16 tuple_type = 0;
guint16 tuple_length = 0;
proto_item *edp_ti, *ti;
proto_tree *edp_tree;
... | static void dissect_ismp_edp(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *ismp_tree) {
int neighbors_count = 0;
int tuples_count = 0;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
guint16 tuple_type = 0;
guint32 tuple_length = 0;
proto_item *edp_ti;
proto_tree *edp_tree;
/*... | static void dissect_ismp_edp(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *ismp_tree) {
int neighbors_count = 0;
int tuples_count = 0;
guint16 tuple_type = 0;
- guint16 tuple_length = 0;
+ guint32 tuple_length = 0;
gchar* ipx_addr_str;
- proto_item *edp_ti, *ti;
+ proto_ite... |
CVE-2018-14367 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-coap.c | dissect_coap | static int dissect_coap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data ) {
gint offset = 0;
proto_item *coap_root;
proto_item *pi;
proto_tree *coap_tree;
guint8 ttype;
guint8 token_len;
guint8 code;
guint8 code_class;
guint16 mid;
gint coap_length;
gch... | static int dissect_coap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data ) {
gint offset = 0;
proto_item *coap_root;
proto_item *pi;
proto_tree *coap_tree;
guint8 ttype;
guint8 token_len;
guint8 code;
guint8 code_class;
guint16 mid;
gint coap_length;
gch... | static int dissect_coap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data ) {
gint offset = 0;
proto_item *coap_root;
proto_item *pi;
proto_tree *coap_tree;
guint8 ttype;
guint8 token_len;
guint8 code;
guint8 code_class;
guint16 mid;
gint coap_length;
gch... | static int dissect_coap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data ) {
gint offset = 0;
proto_item *coap_root;
proto_item *pi;
proto_tree *coap_tree;
guint8 ttype;
guint8 token_len;
guint8 code;
guint8 code_class;
guint16 mid;
gint coap_length;
gch... | static int dissect_coap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data ) {
coap_transaction *coap_trans = NULL;
if (!PFO_FD_VISITED(pinfo)) {
coinfo = wmem_new0(wmem_file_scope(), coap_info);
p_add_proto_data(wmem_file_scope(), pinfo, proto_coap, 0, coinfo);
} else {
... | static int dissect_coap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data ) {
coap_transaction *coap_trans = NULL;
coinfo = (coap_info *)p_get_proto_data(wmem_file_scope(), pinfo, proto_coap, 0);
if (coinfo == NULL) {
coinfo = wmem_new0(wmem_file_scope(), coap_info);
p_a... | static int dissect_coap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data ) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
coap_transaction *coap_trans = NULL;
if (!PFO_FD_VISITED(pinfo)) {
coinfo = wmem_new0(wmem_file_scope(), coap_info);
p_add_proto_data(wmem_file_sco... | static int dissect_coap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data ) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
coap_transaction *coap_trans = NULL;
coinfo = (coap_info *)p_get_proto_data(wmem_file_scope(), pinfo, proto_coap, 0);
if (coinfo == NULL) {
coinfo = wm... | static int dissect_coap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data ) {
coap_transaction *coap_trans = NULL;
- if (!PFO_FD_VISITED(pinfo)) {
+ coinfo = (coap_info *)p_get_proto_data(wmem_file_scope(), pinfo, proto_coap, 0);
+ if (coinfo == NULL) {
coinfo = wmem_new0(wm... |
CVE-2018-14368 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-bzr.c | dissect_prefixed_bencode | static gint dissect_prefixed_bencode(tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree) {
guint32 plen;
proto_tree *prefixed_bencode_tree;
proto_item *ti;
tvbuff_t *subtvb;
plen = tvb_get_ntohl(tvb, offset);
ti = proto_tree_add_item(tree, hf_bzr_prefixed_bencode, tvb, offset, 4 + ... | static gint dissect_prefixed_bencode(tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree) {
guint32 plen;
proto_tree *prefixed_bencode_tree;
proto_item *ti;
tvbuff_t *subtvb;
plen = tvb_get_ntohl(tvb, offset);
ti = proto_tree_add_item(tree, hf_bzr_prefixed_bencode, tvb, offset, -1, ... | static gint dissect_prefixed_bencode(tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree) {
guint32 plen;
proto_tree *prefixed_bencode_tree;
proto_item *ti;
tvbuff_t *subtvb;
plen = tvb_get_ntohl(tvb, offset);
ti = proto_tree_add_item(tree, hf_bzr_prefixed_bencode, tvb, offset, 4 + ... | static gint dissect_prefixed_bencode(tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree) {
guint32 plen;
proto_tree *prefixed_bencode_tree;
proto_item *ti;
tvbuff_t *subtvb;
plen = tvb_get_ntohl(tvb, offset);
ti = proto_tree_add_item(tree, hf_bzr_prefixed_bencode, tvb, offset, -1, ... | static gint dissect_prefixed_bencode(tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree) {
plen = tvb_get_ntohl(tvb, offset);
ti = proto_tree_add_item(tree, hf_bzr_prefixed_bencode, tvb, offset, 4 + plen, ENC_NA);
prefixed_bencode_tree = proto_item_add_subtree(ti, ett_prefixed_bencode);
pr... | static gint dissect_prefixed_bencode(tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree) {
plen = tvb_get_ntohl(tvb, offset);
ti = proto_tree_add_item(tree, hf_bzr_prefixed_bencode, tvb, offset, -1, ENC_NA);
prefixed_bencode_tree = proto_item_add_subtree(ti, ett_prefixed_bencode);
proto_tr... | static gint dissect_prefixed_bencode(tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
plen = tvb_get_ntohl(tvb, offset);
ti = proto_tree_add_item(tree, hf_bzr_prefixed_bencode, tvb, offset, 4 + plen, ENC_NA);
prefixed_bencode_tree = proto_... | static gint dissect_prefixed_bencode(tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
plen = tvb_get_ntohl(tvb, offset);
ti = proto_tree_add_item(tree, hf_bzr_prefixed_bencode, tvb, offset, -1, ENC_NA);
prefixed_bencode_tree = proto_item_a... | static gint dissect_prefixed_bencode(tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree) {
plen = tvb_get_ntohl(tvb, offset);
- ti = proto_tree_add_item(tree, hf_bzr_prefixed_bencode, tvb, offset, 4 + plen, ENC_NA);
+ ti = proto_tree_add_item(tree, hf_bzr_prefixed_bencode, tvb, offset, -1, ENC... |
CVE-2018-14368 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-bzr.c | dissect_prefixed_bytes | static gint dissect_prefixed_bytes(tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree) {
guint32 plen;
proto_tree *prefixed_bytes_tree;
proto_item *ti;
plen = tvb_get_ntohl(tvb, offset);
ti = proto_tree_add_item(tree, hf_bzr_bytes, tvb, offset, 4 + plen, ENC_NA);
prefixed_bytes_tre... | static gint dissect_prefixed_bytes(tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree) {
guint32 plen;
proto_tree *prefixed_bytes_tree;
proto_item *ti;
plen = tvb_get_ntohl(tvb, offset);
ti = proto_tree_add_item(tree, hf_bzr_bytes, tvb, offset, -1, ENC_NA);
prefixed_bytes_tree = pr... | static gint dissect_prefixed_bytes(tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree) {
guint32 plen;
proto_tree *prefixed_bytes_tree;
proto_item *ti;
plen = tvb_get_ntohl(tvb, offset);
ti = proto_tree_add_item(tree, hf_bzr_bytes, tvb, offset, 4 + plen, ENC_NA);
prefixed_bytes_tre... | static gint dissect_prefixed_bytes(tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree) {
guint32 plen;
proto_tree *prefixed_bytes_tree;
proto_item *ti;
plen = tvb_get_ntohl(tvb, offset);
ti = proto_tree_add_item(tree, hf_bzr_bytes, tvb, offset, -1, ENC_NA);
prefixed_bytes_tree = pr... | static gint dissect_prefixed_bytes(tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree) {
plen = tvb_get_ntohl(tvb, offset);
ti = proto_tree_add_item(tree, hf_bzr_bytes, tvb, offset, 4 + plen, ENC_NA);
prefixed_bytes_tree = proto_item_add_subtree(ti, ett_prefixed_bytes);
if (prefixed_bytes_... | static gint dissect_prefixed_bytes(tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree) {
plen = tvb_get_ntohl(tvb, offset);
ti = proto_tree_add_item(tree, hf_bzr_bytes, tvb, offset, -1, ENC_NA);
prefixed_bytes_tree = proto_item_add_subtree(ti, ett_prefixed_bytes);
proto_tree_add_item(prefi... | static gint dissect_prefixed_bytes(tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
plen = tvb_get_ntohl(tvb, offset);
ti = proto_tree_add_item(tree, hf_bzr_bytes, tvb, offset, 4 + plen, ENC_NA);
prefixed_bytes_tree = proto_item_add_subtre... | static gint dissect_prefixed_bytes(tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
plen = tvb_get_ntohl(tvb, offset);
ti = proto_tree_add_item(tree, hf_bzr_bytes, tvb, offset, -1, ENC_NA);
prefixed_bytes_tree = proto_item_add_subtree(ti, ... | static gint dissect_prefixed_bytes(tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree) {
plen = tvb_get_ntohl(tvb, offset);
- ti = proto_tree_add_item(tree, hf_bzr_bytes, tvb, offset, 4 + plen, ENC_NA);
+ ti = proto_tree_add_item(tree, hf_bzr_bytes, tvb, offset, -1, ENC_NA);
prefixed_byte... |
CVE-2018-14368 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-bzr.c | proto_register_bzr | void proto_register_bzr(void) {
static hf_register_info hf[] = {
{
&hf_bzr_packet_kind, {
"Packet kind", "bzr.kind", FT_CHAR, BASE_HEX, VALS(message_part_kind), 0x0, NULL, HFILL
},
}, {
&hf_bzr_packet_protocol_version, {
"Protocol v... | void proto_register_bzr(void) {
static hf_register_info hf[] = {
{
&hf_bzr_packet_kind, {
"Packet kind", "bzr.kind", FT_CHAR, BASE_HEX, VALS(message_part_kind), 0x0, NULL, HFILL
},
}, {
&hf_bzr_packet_protocol_version, {
"Protocol v... | void proto_register_bzr(void) {
static hf_register_info hf[] = {
{
&hf_bzr_packet_kind, {
"Packet kind", "bzr.kind", FT_UT8, BASE_DEC, VALS(message_part_kind), 0x0, NULL, HFILL
},
}, {
&hf_bzr_packet_protocol_version, {
"Protocol ve... | void proto_register_bzr(void) {
static hf_register_info hf[] = {
{
&hf_bzr_packet_kind, {
"Packet kind", "bzr.kind", FT_UT8, BASE_DEC, VALS(message_part_kind), 0x0, NULL, HFILL
},
}, {
&hf_bzr_packet_protocol_version, {
"Protocol ve... | void proto_register_bzr(void) {
static hf_register_info hf[] = {
{
&hf_bzr_packet_kind, {
"Packet kind", "bzr.kind", FT_CHAR, BASE_HEX, VALS(message_part_kind), 0x0, NULL, HFILL
},
}, {
&hf_bzr_packet_protocol_version, {
"Protocol v... | void proto_register_bzr(void) {
static hf_register_info hf[] = {
{
&hf_bzr_packet_kind, {
"Packet kind", "bzr.kind", FT_CHAR, BASE_HEX, VALS(message_part_kind), 0x0, NULL, HFILL
},
}, {
&hf_bzr_packet_protocol_version, {
"Protocol v... | void proto_register_bzr(void) {
static hf_register_info hf[] = {
{
&hf_bzr_packet_kind, {
"Packet kind", "bzr.kind", FT_UT8, BASE_DEC, VALS(message_part_kind), 0x0, NULL, HFILL
},
}, {
&hf_bzr_packet_protocol_version, {
"Protocol ve... | void proto_register_bzr(void) {
static hf_register_info hf[] = {
{
&hf_bzr_packet_kind, {
"Packet kind", "bzr.kind", FT_UT8, BASE_DEC, VALS(message_part_kind), 0x0, NULL, HFILL
},
}, {
&hf_bzr_packet_protocol_version, {
"Protocol ve... | void proto_register_bzr(void) {
static hf_register_info hf[] = {
{
&hf_bzr_packet_kind, {
"Packet kind", "bzr.kind", FT_CHAR, BASE_HEX, VALS(message_part_kind), 0x0, NULL, HFILL
},
}, {
&hf_bzr_packet_protocol_version, {
"P... |
CVE-2018-14369 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-http2.c | inflate_http2_header_block | static void inflate_http2_header_block(tvbuff_t *tvb, packet_info *pinfo, guint offset, proto_tree *tree, size_t headlen, http2_session_t *h2session, guint8 flags) {
guint8 *headbuf;
proto_tree *header_tree;
proto_item *header, *ti;
guint32 header_name_length;
guint32 header_value_length;
const ... | static void inflate_http2_header_block(tvbuff_t *tvb, packet_info *pinfo, guint offset, proto_tree *tree, size_t headlen, http2_session_t *h2session, guint8 flags) {
guint8 *headbuf;
proto_tree *header_tree;
proto_item *header, *ti;
guint32 header_name_length;
guint32 header_value_length;
const ... | static void inflate_http2_header_block(tvbuff_t *tvb, packet_info *pinfo, guint offset, proto_tree *tree, size_t headlen, http2_session_t *h2session, guint8 flags) {
guint8 *headbuf;
proto_tree *header_tree;
proto_item *header, *ti;
int header_name_length;
int header_value_length;
const gchar *h... | static void inflate_http2_header_block(tvbuff_t *tvb, packet_info *pinfo, guint offset, proto_tree *tree, size_t headlen, http2_session_t *h2session, guint8 flags) {
guint8 *headbuf;
proto_tree *header_tree;
proto_item *header, *ti;
int header_name_length;
int header_value_length;
const gchar *h... | static void inflate_http2_header_block(tvbuff_t *tvb, packet_info *pinfo, guint offset, proto_tree *tree, size_t headlen, http2_session_t *h2session, guint8 flags) {
if(!PFO_FD_VISITED(pinfo)) {
} else {
headers = (wmem_array_t*)wmem_list_frame_data(header_data->current);
}
}
| static void inflate_http2_header_block(tvbuff_t *tvb, packet_info *pinfo, guint offset, proto_tree *tree, size_t headlen, http2_session_t *h2session, guint8 flags) {
if(!PFO_FD_VISITED(pinfo)) {
} else if (header_data->current) {
headers = (wmem_array_t*)wmem_list_frame_data(header_data->current);
}... | static void inflate_http2_header_block(tvbuff_t *tvb, packet_info *pinfo, guint offset, proto_tree *tree, size_t headlen, http2_session_t *h2session, guint8 flags) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if(!PFO_FD_VISITED(pinfo)) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
} else {
... | static void inflate_http2_header_block(tvbuff_t *tvb, packet_info *pinfo, guint offset, proto_tree *tree, size_t headlen, http2_session_t *h2session, guint8 flags) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if(!PFO_FD_VISITED(pinfo)) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
} else if (header... | static void inflate_http2_header_block(tvbuff_t *tvb, packet_info *pinfo, guint offset, proto_tree *tree, size_t headlen, http2_session_t *h2session, guint8 flags) {
if(!PFO_FD_VISITED(pinfo)) {
+ } else if (header_data->current) {
+ headers = (wmem_array_t*)wmem_list_frame_data(header_data->current);
... |
CVE-2018-14395 | FFmpeg | https://github.com/FFmpeg/FFmpeg | libavformat/movenc.c | mov_write_audio_tag | static int mov_write_audio_tag(AVFormatContext *s, AVIOContext *pb, MOVMuxContext *mov, MOVTrack *track) {
int64_t pos = avio_tell(pb);
int version = 0;
uint32_t tag = track->tag;
if (track->mode == MODE_MOV) {
if (track->timescale > UT16_MAX) {
if (mov_get_lpcm_flags(track->par->cod... | static int mov_write_audio_tag(AVFormatContext *s, AVIOContext *pb, MOVMuxContext *mov, MOVTrack *track) {
int64_t pos = avio_tell(pb);
int version = 0;
uint32_t tag = track->tag;
if (track->mode == MODE_MOV) {
if (track->timescale > UT16_MAX || !track->par->channels) {
if (mov_get_l... | static int mov_write_audio_tag(AVFormatContext *s, AVIOContext *pb, MOVMuxContext *mov, MOVTrack *track) {
int64_t pos = avio_tell(pb);
int version = 0;
uint32_t tag = track->tag;
if (track->mode == MODE_MOV) {
if (track->timescale > UT16_MAX) {
if (mov_get_lpcm_flags(track->par->cod... | static int mov_write_audio_tag(AVFormatContext *s, AVIOContext *pb, MOVMuxContext *mov, MOVTrack *track) {
int64_t pos = avio_tell(pb);
int version = 0;
uint32_t tag = track->tag;
if (track->mode == MODE_MOV) {
if (track->timescale > UT16_MAX || !track->par->channels) {
if (mov_get_l... | static int mov_write_audio_tag(AVFormatContext *s, AVIOContext *pb, MOVMuxContext *mov, MOVTrack *track) {
if (track->mode == MODE_MOV) {
if (track->timescale > UT16_MAX) {
} else if (track->audio_vbr || mov_pcm_le_gt16(track->par->codec_id) || mov_pcm_be_gt16(track->par->codec_id) || track->par->co... | static int mov_write_audio_tag(AVFormatContext *s, AVIOContext *pb, MOVMuxContext *mov, MOVTrack *track) {
if (track->mode == MODE_MOV) {
if (track->timescale > UT16_MAX || !track->par->channels) {
} else if (track->audio_vbr || mov_pcm_le_gt16(track->par->codec_id) || mov_pcm_be_gt16(track->par->co... | static int mov_write_audio_tag(AVFormatContext *s, AVIOContext *pb, MOVMuxContext *mov, MOVTrack *track) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (track->mode == MODE_MOV) {
if (track->timescale > UT16_MAX) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
} else if (track->audio_vbr... | static int mov_write_audio_tag(AVFormatContext *s, AVIOContext *pb, MOVMuxContext *mov, MOVTrack *track) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (track->mode == MODE_MOV) {
if (track->timescale > UT16_MAX || !track->par->channels) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
} ... | static int mov_write_audio_tag(AVFormatContext *s, AVIOContext *pb, MOVMuxContext *mov, MOVTrack *track) {
if (track->mode == MODE_MOV) {
- if (track->timescale > UT16_MAX) {
+ if (track->timescale > UT16_MAX || !track->par->channels) {
} else if (track->audio_vbr || mov_pcm_le_gt16(track->... |
CVE-2018-14568 | Suricata | https://github.com/OISF/suricata | src/stream-tcp.c | StreamTcpPacket | int StreamTcpPacket (ThreadVars *tv, Packet *p, StreamTcpThread *stt, PacketQueue *pq) {
SCEnter();
DEBUG_ASSERT_FLOW_LOCKED(p->flow);
SCLogDebug("p->pcap_cnt %"PRIu64, p->pcap_cnt);
if (unlikely(p->flow->thread_id == 0)) {
p->flow->thread_id = (FlowThreadId)tv->id;
} else if (unlikely((Flow... | int StreamTcpPacket (ThreadVars *tv, Packet *p, StreamTcpThread *stt, PacketQueue *pq) {
SCEnter();
DEBUG_ASSERT_FLOW_LOCKED(p->flow);
SCLogDebug("p->pcap_cnt %"PRIu64, p->pcap_cnt);
if (unlikely(p->flow->thread_id == 0)) {
p->flow->thread_id = (FlowThreadId)tv->id;
} else if (unlikely((Flow... | int StreamTcpPacket (ThreadVars *tv, Packet *p, StreamTcpThread *stt, PacketQueue *pq) {
SCEnter();
DEBUG_ASSERT_FLOW_LOCKED(p->flow);
SCLogDebug("p->pcap_cnt %"PRIu64, p->pcap_cnt);
if (unlikely(p->flow->thread_id == 0)) {
p->flow->thread_id = (FlowThreadId)tv->id;
} else if (unlikely((Flow... | int StreamTcpPacket (ThreadVars *tv, Packet *p, StreamTcpThread *stt, PacketQueue *pq) {
SCEnter();
DEBUG_ASSERT_FLOW_LOCKED(p->flow);
SCLogDebug("p->pcap_cnt %"PRIu64, p->pcap_cnt);
if (unlikely(p->flow->thread_id == 0)) {
p->flow->thread_id = (FlowThreadId)tv->id;
} else if (unlikely((Flow... | int StreamTcpPacket (ThreadVars *tv, Packet *p, StreamTcpThread *stt, PacketQueue *pq) {
TcpSession *ssn = (TcpSession *)p->flow->protoctx;
if (ssn != NULL) {
if (PKT_IS_TOSERVER(p)) {
} else if (PKT_IS_TOCLIENT(p)) {
}
if (ssn->flags & STREAMTCP_FLAG_ASYNC && ssn->client.tcp_fla... | int StreamTcpPacket (ThreadVars *tv, Packet *p, StreamTcpThread *stt, PacketQueue *pq) {
TcpSession *ssn = (TcpSession *)p->flow->protoctx;
if (ssn != NULL) {
if (PKT_IS_TOSERVER(p)) {
} else if (PKT_IS_TOCLIENT(p)) {
}
if (ssn->flags & STREAMTCP_FLAG_ASYNC && ssn->client.tcp_fla... | int StreamTcpPacket (ThreadVars *tv, Packet *p, StreamTcpThread *stt, PacketQueue *pq) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
TcpSession *ssn = (TcpSession *)p->flow->protoctx;
if (ssn != NULL) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (PKT_IS_TOSERVER(p)) {
/* PLACEHOLDER:... | int StreamTcpPacket (ThreadVars *tv, Packet *p, StreamTcpThread *stt, PacketQueue *pq) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
TcpSession *ssn = (TcpSession *)p->flow->protoctx;
if (ssn != NULL) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (PKT_IS_TOSERVER(p)) {
/* PLACEHOLDER:... | int StreamTcpPacket (ThreadVars *tv, Packet *p, StreamTcpThread *stt, PacketQueue *pq) {
TcpSession *ssn = (TcpSession *)p->flow->protoctx;
if (ssn != NULL) {
if (PKT_IS_TOSERVER(p)) {
} else if (PKT_IS_TOCLIENT(p)) {
}
if (ssn->flags & STREAMTCP_FLAG_ASYNC && ssn->client.... |
CVE-2018-14568 | Suricata | https://github.com/OISF/suricata | src/stream-tcp.c | StreamTcpPacketSetState | static void StreamTcpPacketSetState(Packet *p, TcpSession *ssn, uint8_t state) {
if (state == ssn->state || PKT_IS_PSEUDOPKT(p)) {
return;
}
ssn->state = state;
switch(ssn->state) {
case TCP_ESTABLISHED:
case TCP_F_WAIT1:
case TCP_F_WAIT2:
case TCP_CLOSG:
case TCP_CLOSE_WAIT:... | static void StreamTcpPacketSetState(Packet *p, TcpSession *ssn, uint8_t state) {
if (state == ssn->state || PKT_IS_PSEUDOPKT(p)) {
return;
}
ssn->pstate = ssn->state;
ssn->state = state;
switch(ssn->state) {
case TCP_ESTABLISHED:
case TCP_F_WAIT1:
case TCP_F_WAIT2:
case TCP_C... | static void StreamTcpPacketSetState(Packet *p, TcpSession *ssn, uint8_t state) {
if (state == ssn->state || PKT_IS_PSEUDOPKT(p)) {
return;
}
ssn->state = state;
switch(ssn->state) {
case TCP_ESTABLISHED:
case TCP_F_WAIT1:
case TCP_F_WAIT2:
case TCP_CLOSG:
case TCP_CLOSE_WAIT:... | static void StreamTcpPacketSetState(Packet *p, TcpSession *ssn, uint8_t state) {
if (state == ssn->state || PKT_IS_PSEUDOPKT(p)) {
return;
}
ssn->pstate = ssn->state;
ssn->state = state;
switch(ssn->state) {
case TCP_ESTABLISHED:
case TCP_F_WAIT1:
case TCP_F_WAIT2:
case TCP_C... | static void StreamTcpPacketSetState(Packet *p, TcpSession *ssn, uint8_t state) {
if (state == ssn->state || PKT_IS_PSEUDOPKT(p)) {
return;
}
ssn->state = state;
}
| static void StreamTcpPacketSetState(Packet *p, TcpSession *ssn, uint8_t state) {
if (state == ssn->state || PKT_IS_PSEUDOPKT(p)) {
return;
}
ssn->pstate = ssn->state;
ssn->state = state;
}
| static void StreamTcpPacketSetState(Packet *p, TcpSession *ssn, uint8_t state) {
if (state == ssn->state || PKT_IS_PSEUDOPKT(p)) {
return;
}
ssn->state = state;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
}
| static void StreamTcpPacketSetState(Packet *p, TcpSession *ssn, uint8_t state) {
if (state == ssn->state || PKT_IS_PSEUDOPKT(p)) {
return;
}
ssn->pstate = ssn->state;
ssn->state = state;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
} | static void StreamTcpPacketSetState(Packet *p, TcpSession *ssn, uint8_t state) {
if (state == ssn->state || PKT_IS_PSEUDOPKT(p)) {
return;
}
+ ssn->pstate = ssn->state;
ssn->state = state;
} |
CVE-2018-14568 | Suricata | https://github.com/OISF/suricata | src/stream-tcp.c | StreamTcpPacketStateSynSent | static int StreamTcpPacketStateSynSent(ThreadVars *tv, Packet *p, StreamTcpThread *stt, TcpSession *ssn, PacketQueue *pq) {
if (ssn == NULL) {
return -1;
}
SCLogDebug("ssn %p: pkt received: %s", ssn, PKT_IS_TOCLIENT(p) ? "toclient":"toserver");
if (p->tcph->th_flags & TH_RST) {
if (!Stre... | static int StreamTcpPacketStateSynSent(ThreadVars *tv, Packet *p, StreamTcpThread *stt, TcpSession *ssn, PacketQueue *pq) {
if (ssn == NULL) {
return -1;
}
SCLogDebug("ssn %p: pkt received: %s", ssn, PKT_IS_TOCLIENT(p) ? "toclient":"toserver");
if (p->tcph->th_flags & TH_RST) {
if (!Stre... | static int StreamTcpPacketStateSynSent(ThreadVars *tv, Packet *p, StreamTcpThread *stt, TcpSession *ssn, PacketQueue *pq) {
if (ssn == NULL) {
return -1;
}
SCLogDebug("ssn %p: pkt received: %s", ssn, PKT_IS_TOCLIENT(p) ? "toclient":"toserver");
if (p->tcph->th_flags & TH_RST) {
if (!Stre... | static int StreamTcpPacketStateSynSent(ThreadVars *tv, Packet *p, StreamTcpThread *stt, TcpSession *ssn, PacketQueue *pq) {
if (ssn == NULL) {
return -1;
}
SCLogDebug("ssn %p: pkt received: %s", ssn, PKT_IS_TOCLIENT(p) ? "toclient":"toserver");
if (p->tcph->th_flags & TH_RST) {
if (!Stre... | static int StreamTcpPacketStateSynSent(ThreadVars *tv, Packet *p, StreamTcpThread *stt, TcpSession *ssn, PacketQueue *pq) {
if (p->tcph->th_flags & TH_RST) {
if (PKT_IS_TOSERVER(p)) {
if (SEQ_EQ(TCP_GET_SEQ(p), ssn->client.isn) && SEQ_EQ(TCP_GET_WDOW(p), 0) && SEQ_EQ(TCP_GET_ACK(p), (ssn->client... | static int StreamTcpPacketStateSynSent(ThreadVars *tv, Packet *p, StreamTcpThread *stt, TcpSession *ssn, PacketQueue *pq) {
if (p->tcph->th_flags & TH_RST) {
if (PKT_IS_TOSERVER(p)) {
if (SEQ_EQ(TCP_GET_SEQ(p), ssn->client.isn) && SEQ_EQ(TCP_GET_WDOW(p), 0) && SEQ_EQ(TCP_GET_ACK(p), (ssn->client... | static int StreamTcpPacketStateSynSent(ThreadVars *tv, Packet *p, StreamTcpThread *stt, TcpSession *ssn, PacketQueue *pq) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (p->tcph->th_flags & TH_RST) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (PKT_IS_TOSERVER(p)) {
if (SEQ_EQ(T... | static int StreamTcpPacketStateSynSent(ThreadVars *tv, Packet *p, StreamTcpThread *stt, TcpSession *ssn, PacketQueue *pq) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (p->tcph->th_flags & TH_RST) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (PKT_IS_TOSERVER(p)) {
if (SEQ_EQ(T... | static int StreamTcpPacketStateSynSent(ThreadVars *tv, Packet *p, StreamTcpThread *stt, TcpSession *ssn, PacketQueue *pq) {
if (p->tcph->th_flags & TH_RST) {
if (PKT_IS_TOSERVER(p)) {
if (SEQ_EQ(TCP_GET_SEQ(p), ssn->client.isn) && SEQ_EQ(TCP_GET_WDOW(p), 0) && SEQ_EQ(TCP_GET_ACK(p), (ssn->cl... |
CVE-2018-15746 | QEMU | https://github.com/qemu/qemu | qemu-seccomp.c | seccomp_start | static int seccomp_start(uint32_t seccomp_opts) {
int rc = 0;
unsigned int i = 0;
scmp_filter_ctx ctx;
ctx = seccomp_init(SCMP_ACT_ALLOW);
if (ctx == NULL) {
rc = -1;
goto seccomp_return;
}
for (i = 0; i < ARRAY_SIZE(blacklist); i++) {
if (!(seccomp_opts & blacklist[i... | static int seccomp_start(uint32_t seccomp_opts) {
int rc = 0;
unsigned int i = 0;
scmp_filter_ctx ctx;
ctx = seccomp_init(SCMP_ACT_ALLOW);
if (ctx == NULL) {
rc = -1;
goto seccomp_return;
}
for (i = 0; i < ARRAY_SIZE(blacklist); i++) {
if (!(seccomp_opts & blacklist[i... | static int seccomp_start(uint32_t seccomp_opts) {
int rc = 0;
unsigned int i = 0;
scmp_filter_ctx ctx;
ctx = seccomp_init(SCMP_ACT_ALLOW);
if (ctx == NULL) {
rc = -1;
goto seccomp_return;
}
for (i = 0; i < ARRAY_SIZE(blacklist); i++) {
if (!(seccomp_opts & blacklist[i... | static int seccomp_start(uint32_t seccomp_opts) {
int rc = 0;
unsigned int i = 0;
scmp_filter_ctx ctx;
ctx = seccomp_init(SCMP_ACT_ALLOW);
if (ctx == NULL) {
rc = -1;
goto seccomp_return;
}
for (i = 0; i < ARRAY_SIZE(blacklist); i++) {
if (!(seccomp_opts & blacklist[i... | static int seccomp_start(uint32_t seccomp_opts) {
ctx = seccomp_init(SCMP_ACT_ALLOW);
if (ctx == NULL) {
goto seccomp_return;
}
for (i = 0; i < ARRAY_SIZE(blacklist); i++) {
rc = seccomp_rule_add_array(ctx, SCMP_ACT_KILL, blacklist[i].num, blacklist[i].narg, blacklist[i].arg_cmp);
... | static int seccomp_start(uint32_t seccomp_opts) {
ctx = seccomp_init(SCMP_ACT_ALLOW);
if (ctx == NULL) {
goto seccomp_return;
}
for (i = 0; i < ARRAY_SIZE(blacklist); i++) {
rc = seccomp_rule_add_array(ctx, SCMP_ACT_TRAP, blacklist[i].num, blacklist[i].narg, blacklist[i].arg_cmp);
... | static int seccomp_start(uint32_t seccomp_opts) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
ctx = seccomp_init(SCMP_ACT_ALLOW);
if (ctx == NULL) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
goto seccomp_return;
}
for (i = 0; i < ARRAY_SIZE(blacklist); i++) {
/* PLACEHOLDER: DO... | static int seccomp_start(uint32_t seccomp_opts) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
ctx = seccomp_init(SCMP_ACT_ALLOW);
if (ctx == NULL) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
goto seccomp_return;
}
for (i = 0; i < ARRAY_SIZE(blacklist); i++) {
/* PLACEHOLDER: DO... | static int seccomp_start(uint32_t seccomp_opts) {
ctx = seccomp_init(SCMP_ACT_ALLOW);
if (ctx == NULL) {
goto seccomp_return;
}
for (i = 0; i < ARRAY_SIZE(blacklist); i++) {
- rc = seccomp_rule_add_array(ctx, SCMP_ACT_KILL, blacklist[i].num, blacklist[i].narg, blacklist[i].arg_cmp);... |
CVE-2018-15822 | FFmpeg | https://github.com/FFmpeg/FFmpeg | libavformat/flvenc.c | flv_write_packet | static int flv_write_packet(AVFormatContext *s, AVPacket *pkt) {
AVIOContext *pb = s->pb;
AVCodecParameters *par = s->streams[pkt->stream_index]->codecpar;
FLVContext *flv = s->priv_data;
FLVStreamContext *sc = s->streams[pkt->stream_index]->priv_data;
unsigned ts;
int size = pkt->size;
uint... | static int flv_write_packet(AVFormatContext *s, AVPacket *pkt) {
AVIOContext *pb = s->pb;
AVCodecParameters *par = s->streams[pkt->stream_index]->codecpar;
FLVContext *flv = s->priv_data;
FLVStreamContext *sc = s->streams[pkt->stream_index]->priv_data;
unsigned ts;
int size = pkt->size;
uint... | static int flv_write_packet(AVFormatContext *s, AVPacket *pkt) {
AVIOContext *pb = s->pb;
AVCodecParameters *par = s->streams[pkt->stream_index]->codecpar;
FLVContext *flv = s->priv_data;
FLVStreamContext *sc = s->streams[pkt->stream_index]->priv_data;
unsigned ts;
int size = pkt->size;
uint... | static int flv_write_packet(AVFormatContext *s, AVPacket *pkt) {
AVIOContext *pb = s->pb;
AVCodecParameters *par = s->streams[pkt->stream_index]->codecpar;
FLVContext *flv = s->priv_data;
FLVStreamContext *sc = s->streams[pkt->stream_index]->priv_data;
unsigned ts;
int size = pkt->size;
uint... | static int flv_write_packet(AVFormatContext *s, AVPacket *pkt) {
AVCodecParameters *par = s->streams[pkt->stream_index]->codecpar;
int64_t cur_offset = avio_tell(pb);
if (par->codec_id == AV_CODEC_ID_VP6F || par->codec_id == AV_CODEC_ID_VP6A || par->codec_id == AV_CODEC_ID_VP6 || par->codec_id == AV_CODEC_I... | static int flv_write_packet(AVFormatContext *s, AVPacket *pkt) {
AVCodecParameters *par = s->streams[pkt->stream_index]->codecpar;
int64_t cur_offset = avio_tell(pb);
if (par->codec_type == AVMEDIA_TYPE_AUDIO && !pkt->size) {
av_log(s, AV_LOG_WARNG, "Empty audio Packet\n");
return AVERROR(EV... | static int flv_write_packet(AVFormatContext *s, AVPacket *pkt) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
AVCodecParameters *par = s->streams[pkt->stream_index]->codecpar;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (par->codec_id == AV_CODEC_ID_VP6F || par->codec_id == AV_CODEC_ID_VP6A || par... | static int flv_write_packet(AVFormatContext *s, AVPacket *pkt) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
AVCodecParameters *par = s->streams[pkt->stream_index]->codecpar;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (par->codec_type == AVMEDIA_TYPE_AUDIO && !pkt->size) {
av_log(s, AV_L... | static int flv_write_packet(AVFormatContext *s, AVPacket *pkt) {
AVCodecParameters *par = s->streams[pkt->stream_index]->codecpar;
int64_t cur_offset = avio_tell(pb);
+ if (par->codec_type == AVMEDIA_TYPE_AUDIO && !pkt->size) {
+ av_log(s, AV_LOG_WARNG, "Empty audio Packet\n");
+ return AVER... |
CVE-2018-16056 | epan/dissectors/packet-btatt.c | dissect_attribute_value | static gint dissect_attribute_value(proto_tree *tree, proto_item *patron_item, packet_info *pinfo, tvbuff_t *old_tvb, gint old_offset, gint length, guint16 handle, bluetooth_uuid_t uuid,
btatt_data_t *att_data) {
proto_item *sub_item;
proto_tree *sub_tree = NULL;
tvbuff_t... | static gint dissect_attribute_value(proto_tree *tree, proto_item *patron_item, packet_info *pinfo, tvbuff_t *old_tvb, gint old_offset, gint length, guint16 handle, bluetooth_uuid_t uuid,
btatt_data_t *att_data) {
proto_item *sub_item;
proto_tree *sub_tree = NULL;
tvbuff_t... | static gint dissect_attribute_value(proto_tree *tree, proto_item *patron_item, packet_info *pinfo, tvbuff_t *old_tvb, gint old_offset, gint length, guint16 handle, bluetooth_uuid_t uuid,
btatt_data_t *att_data) {
proto_item *sub_item;
proto_tree *sub_tree = NULL;
tvbuff_t... | static gint dissect_attribute_value(proto_tree *tree, proto_item *patron_item, packet_info *pinfo, tvbuff_t *old_tvb, gint old_offset, gint length, guint16 handle, bluetooth_uuid_t uuid,
btatt_data_t *att_data) {
proto_item *sub_item;
proto_tree *sub_tree = NULL;
tvbuff_t... | static gint dissect_attribute_value(proto_tree *tree, proto_item *patron_item, packet_info *pinfo, tvbuff_t *old_tvb, gint old_offset, gint length, guint16 handle, bluetooth_uuid_t uuid,
btatt_data_t *att_data) {
switch (uuid.bt_uuid) {
case 0x290A:
if (value >= 1 && ... | static gint dissect_attribute_value(proto_tree *tree, proto_item *patron_item, packet_info *pinfo, tvbuff_t *old_tvb, gint old_offset, gint length, guint16 handle, bluetooth_uuid_t uuid,
btatt_data_t *att_data) {
switch (uuid.bt_uuid) {
case 0x290A:
if (value >= 1 && ... | static gint dissect_attribute_value(proto_tree *tree, proto_item *patron_item, packet_info *pinfo, tvbuff_t *old_tvb, gint old_offset, gint length, guint16 handle, bluetooth_uuid_t uuid,
btatt_data_t *att_data) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
switch (uuid.bt_u... | static gint dissect_attribute_value(proto_tree *tree, proto_item *patron_item, packet_info *pinfo, tvbuff_t *old_tvb, gint old_offset, gint length, guint16 handle, bluetooth_uuid_t uuid,
btatt_data_t *att_data) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
switch (uuid.bt_u... | static gint dissect_attribute_value(proto_tree *tree, proto_item *patron_item, packet_info *pinfo, tvbuff_t *old_tvb, gint old_offset, gint length, guint16 handle, bluetooth_uuid_t uuid,
btatt_data_t *att_data) {
switch (uuid.bt_uuid) {
case 0x290A:
if (value >= ... | ||
CVE-2018-16057 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-ieee80211-radiotap-iter.c | ieee80211_radiotap_iterator_init | int ieee80211_radiotap_iterator_init( struct ieee80211_radiotap_iterator *iterator, struct ieee80211_radiotap_header *radiotap_header, int max_length,
const struct ieee80211_radiotap_vendor_namespaces *vns) {
if (max_length < (int)sizeof(struct ieee80211_radiotap_header)) {
... | int ieee80211_radiotap_iterator_init( struct ieee80211_radiotap_iterator *iterator, struct ieee80211_radiotap_header *radiotap_header, int max_length,
const struct ieee80211_radiotap_vendor_namespaces *vns) {
if (max_length < (int)sizeof(struct ieee80211_radiotap_header)) {
... | int ieee80211_radiotap_iterator_init( struct ieee80211_radiotap_iterator *iterator, struct ieee80211_radiotap_header *radiotap_header, int max_length,
const struct ieee80211_radiotap_vendor_namespaces *vns) {
if (max_length < (int)sizeof(struct ieee80211_radiotap_header)) {
... | int ieee80211_radiotap_iterator_init( struct ieee80211_radiotap_iterator *iterator, struct ieee80211_radiotap_header *radiotap_header, int max_length,
const struct ieee80211_radiotap_vendor_namespaces *vns) {
if (max_length < (int)sizeof(struct ieee80211_radiotap_header)) {
... | int ieee80211_radiotap_iterator_init( struct ieee80211_radiotap_iterator *iterator, struct ieee80211_radiotap_header *radiotap_header, int max_length,
const struct ieee80211_radiotap_vendor_namespaces *vns) {
iterator->_reset_on_ext = 0;
iterator->_next_bitmap = &radiotap_h... | int ieee80211_radiotap_iterator_init( struct ieee80211_radiotap_iterator *iterator, struct ieee80211_radiotap_header *radiotap_header, int max_length,
const struct ieee80211_radiotap_vendor_namespaces *vns) {
iterator->_reset_on_ext = 0;
iterator->_next_ns_data = NULL;
... | int ieee80211_radiotap_iterator_init( struct ieee80211_radiotap_iterator *iterator, struct ieee80211_radiotap_header *radiotap_header, int max_length,
const struct ieee80211_radiotap_vendor_namespaces *vns) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
iterator->_reset_on... | int ieee80211_radiotap_iterator_init( struct ieee80211_radiotap_iterator *iterator, struct ieee80211_radiotap_header *radiotap_header, int max_length,
const struct ieee80211_radiotap_vendor_namespaces *vns) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
iterator->_reset_on... | int ieee80211_radiotap_iterator_init( struct ieee80211_radiotap_iterator *iterator, struct ieee80211_radiotap_header *radiotap_header, int max_length,
const struct ieee80211_radiotap_vendor_namespaces *vns) {
iterator->_reset_on_ext = 0;
+ iterator->_next_ns_data = NULL;
... |
CVE-2018-16057 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-ieee80211-radiotap-iter.c | ieee80211_radiotap_iterator_next | int ieee80211_radiotap_iterator_next( struct ieee80211_radiotap_iterator *iterator) {
while (1) {
int hit = 0;
int pad, align, size, subns;
guint32 oui;
if ((iterator->_arg_index % 32) == IEEE80211_RADIOTAP_EXT && !(iterator->_bitmap_shifter & 1)) {
return -ENOENT;
... | int ieee80211_radiotap_iterator_next( struct ieee80211_radiotap_iterator *iterator) {
while (1) {
int hit = 0;
int pad, align, size, subns;
guint32 oui;
if ((iterator->_arg_index % 32) == IEEE80211_RADIOTAP_EXT && !(iterator->_bitmap_shifter & 1)) {
return -ENOENT;
... | int ieee80211_radiotap_iterator_next( struct ieee80211_radiotap_iterator *iterator) {
while (1) {
int hit = 0;
int pad, align, size, subns;
guint32 oui;
if ((iterator->_arg_index % 32) == IEEE80211_RADIOTAP_EXT && !(iterator->_bitmap_shifter & 1)) {
return -ENOENT;
... | int ieee80211_radiotap_iterator_next( struct ieee80211_radiotap_iterator *iterator) {
while (1) {
int hit = 0;
int pad, align, size, subns;
guint32 oui;
if ((iterator->_arg_index % 32) == IEEE80211_RADIOTAP_EXT && !(iterator->_bitmap_shifter & 1)) {
return -ENOENT;
... | int ieee80211_radiotap_iterator_next( struct ieee80211_radiotap_iterator *iterator) {
while (1) {
int hit = 0;
int pad, align, size, subns;
guint32 oui;
if ((iterator->_arg_index % 32) == IEEE80211_RADIOTAP_EXT && !(iterator->_bitmap_shifter & 1)) {
return -ENOENT;
... | int ieee80211_radiotap_iterator_next( struct ieee80211_radiotap_iterator *iterator) {
while (1) {
int hit = 0;
int pad, align, size, subns;
guint32 oui;
if ((iterator->_arg_index % 32) == IEEE80211_RADIOTAP_EXT && !(iterator->_bitmap_shifter & 1)) {
return -ENOENT;
... | int ieee80211_radiotap_iterator_next( struct ieee80211_radiotap_iterator *iterator) {
while (1) {
int hit = 0;
int pad, align, size, subns;
guint32 oui;
if ((iterator->_arg_index % 32) == IEEE80211_RADIOTAP_EXT && !(iterator->_bitmap_shifter & 1)) {
return -ENOENT;
... | int ieee80211_radiotap_iterator_next( struct ieee80211_radiotap_iterator *iterator) {
while (1) {
int hit = 0;
int pad, align, size, subns;
guint32 oui;
if ((iterator->_arg_index % 32) == IEEE80211_RADIOTAP_EXT && !(iterator->_bitmap_shifter & 1)) {
return -ENOENT;
... | int ieee80211_radiotap_iterator_next( struct ieee80211_radiotap_iterator *iterator) {
while (1) {
int hit = 0;
int pad, align, size, subns;
guint32 oui;
if ((iterator->_arg_index % 32) == IEEE80211_RADIOTAP_EXT && !(iterator->_bitmap_shifter & 1)) {
return -ENOENT;... |
CVE-2018-16058 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-btavdtp.c | dissect_sep | static gint dissect_sep(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gint offset, guint32 interface_id, guint32 adapter_id, guint32 chandle) {
proto_tree *sep_tree;
proto_item *sep_item;
guint i_sep = 1;
guint media_type;
guint type;
guint seid;
guint in_use;
guint items;
gui... | static gint dissect_sep(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gint offset, guint32 interface_id, guint32 adapter_id, guint32 chandle) {
proto_tree *sep_tree;
proto_item *sep_item;
guint i_sep = 1;
guint media_type;
guint type;
guint seid;
guint in_use;
guint items;
gui... | static gint dissect_sep(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gint offset, guint32 interface_id, guint32 adapter_id, guint32 chandle) {
proto_tree *sep_tree;
proto_item *sep_item;
guint i_sep = 1;
guint media_type;
guint type;
guint seid;
guint in_use;
guint items;
gui... | static gint dissect_sep(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gint offset, guint32 interface_id, guint32 adapter_id, guint32 chandle) {
proto_tree *sep_tree;
proto_item *sep_item;
guint i_sep = 1;
guint media_type;
guint type;
guint seid;
guint in_use;
guint items;
gui... | static gint dissect_sep(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gint offset, guint32 interface_id, guint32 adapter_id, guint32 chandle) {
while (tvb_reported_length_remaining(tvb, offset) > 0) {
seid = tvb_get_guint8(tvb, offset);
in_use = seid & 0x02;
seid = seid >> 2;
... | static gint dissect_sep(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gint offset, guint32 interface_id, guint32 adapter_id, guint32 chandle) {
while (tvb_reported_length_remaining(tvb, offset) > 0) {
seid = tvb_get_guint8(tvb, offset);
in_use = seid & 0x02;
seid = seid >> 2;
... | static gint dissect_sep(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gint offset, guint32 interface_id, guint32 adapter_id, guint32 chandle) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
while (tvb_reported_length_remaining(tvb, offset) > 0) {
seid = tvb_get_guint8(tvb, offset);
in_use... | static gint dissect_sep(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gint offset, guint32 interface_id, guint32 adapter_id, guint32 chandle) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
while (tvb_reported_length_remaining(tvb, offset) > 0) {
seid = tvb_get_guint8(tvb, offset);
in_use... | static gint dissect_sep(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gint offset, guint32 interface_id, guint32 adapter_id, guint32 chandle) {
while (tvb_reported_length_remaining(tvb, offset) > 0) {
seid = tvb_get_guint8(tvb, offset);
in_use = seid & 0x02;
seid = seid >> 2;
... |
CVE-2018-16867 | QEMU | https://github.com/qemu/qemu | hw/usb/dev-mtp.c | usb_mtp_write_metadata | static void usb_mtp_write_metadata(MTPState *s) {
MTPData *d = s->data_out;
ObjectInfo *dataset = (ObjectInfo *)d->data;
char *filename;
MTPObject *o;
MTPObject *p = usb_mtp_object_lookup(s, s->dataset.parent_handle);
uint32_t next_handle = s->next_handle;
assert(!s->write_pending);
asse... | static void usb_mtp_write_metadata(MTPState *s) {
MTPData *d = s->data_out;
ObjectInfo *dataset = (ObjectInfo *)d->data;
char *filename;
MTPObject *o;
MTPObject *p = usb_mtp_object_lookup(s, s->dataset.parent_handle);
uint32_t next_handle = s->next_handle;
assert(!s->write_pending);
asse... | static void usb_mtp_write_metadata(MTPState *s) {
MTPData *d = s->data_out;
ObjectInfo *dataset = (ObjectInfo *)d->data;
char *filename = g_new0(char, dataset->length);
MTPObject *o;
MTPObject *p = usb_mtp_object_lookup(s, s->dataset.parent_handle);
uint32_t next_handle = s->next_handle;
ass... | static void usb_mtp_write_metadata(MTPState *s) {
MTPData *d = s->data_out;
ObjectInfo *dataset = (ObjectInfo *)d->data;
char *filename = g_new0(char, dataset->length);
MTPObject *o;
MTPObject *p = usb_mtp_object_lookup(s, s->dataset.parent_handle);
uint32_t next_handle = s->next_handle;
ass... | static void usb_mtp_write_metadata(MTPState *s) {
MTPData *d = s->data_out;
ObjectInfo *dataset = (ObjectInfo *)d->data;
MTPObject *p = usb_mtp_object_lookup(s, s->dataset.parent_handle);
filename = utf16_to_str(dataset->length, dataset->filename);
o = usb_mtp_object_lookup_name(p, filename, dataset... | static void usb_mtp_write_metadata(MTPState *s) {
MTPData *d = s->data_out;
ObjectInfo *dataset = (ObjectInfo *)d->data;
MTPObject *p = usb_mtp_object_lookup(s, s->dataset.parent_handle);
filename = utf16_to_str(dataset->length, dataset->filename);
if (strchr(filename, '/')) {
usb_mtp_queue_... | static void usb_mtp_write_metadata(MTPState *s) {
MTPData *d = s->data_out;
ObjectInfo *dataset = (ObjectInfo *)d->data;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
MTPObject *p = usb_mtp_object_lookup(s, s->dataset.parent_handle);
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
utf16_to_str(dat... | static void usb_mtp_write_metadata(MTPState *s) {
MTPData *d = s->data_out;
ObjectInfo *dataset = (ObjectInfo *)d->data;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
MTPObject *p = usb_mtp_object_lookup(s, s->dataset.parent_handle);
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
utf16_to_str(dat... | static void usb_mtp_write_metadata(MTPState *s) {
MTPData *d = s->data_out;
ObjectInfo *dataset = (ObjectInfo *)d->data;
MTPObject *p = usb_mtp_object_lookup(s, s->dataset.parent_handle);
filename = utf16_to_str(dataset->length, dataset->filename);
+ if (strchr(filename, '/')) {
+ usb_mtp... |
CVE-2018-18225 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-coap.c | dissect_coap | static int dissect_coap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data ) {
gint offset = 0;
proto_item *coap_root;
proto_item *pi;
proto_tree *coap_tree;
guint8 ttype;
guint8 token_len;
guint8 code;
guint8 code_class;
guint16 mid;
gint coap_length;
gch... | static int dissect_coap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data ) {
gint offset = 0;
proto_item *coap_root;
proto_item *pi;
proto_tree *coap_tree;
guint8 ttype;
guint8 token_len;
guint8 code;
guint8 code_class;
guint16 mid;
gint coap_length;
gch... | static int dissect_coap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data ) {
gint offset = 0;
proto_item *coap_root;
proto_item *pi;
proto_tree *coap_tree;
guint8 ttype;
guint8 token_len;
guint8 code;
guint8 code_class;
guint16 mid;
gint coap_length;
gch... | static int dissect_coap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data ) {
gint offset = 0;
proto_item *coap_root;
proto_item *pi;
proto_tree *coap_tree;
guint8 ttype;
guint8 token_len;
guint8 code;
guint8 code_class;
guint16 mid;
gint coap_length;
gch... | static int dissect_coap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data ) {
if (coap_token_str != NULL) {
if (code != 0) {
if (!coap_trans) {
} else {
if ((code_class >= 2) && (code_class <= 5)) {
if (coap_trans->oscore_info)... | static int dissect_coap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data ) {
if (coap_token_str != NULL) {
if (code != 0) {
if (!coap_trans) {
} else {
if ((code_class >= 2) && (code_class <= 5)) {
if (coap_trans->oscore_info)... | static int dissect_coap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data ) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (coap_token_str != NULL) {
if (code != 0) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (!coap_trans) {
/* PLACEHOLDER: DO NOT DELE... | static int dissect_coap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data ) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (coap_token_str != NULL) {
if (code != 0) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (!coap_trans) {
/* PLACEHOLDER: DO NOT DELE... | static int dissect_coap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data ) {
if (coap_token_str != NULL) {
if (code != 0) {
if (!coap_trans) {
} else {
if ((code_class >= 2) && (code_class <= 5)) {
if (coap_trans->oscor... |
CVE-2018-18225 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-coap.c | dissect_coap_opt_object_security | static void dissect_coap_opt_object_security(tvbuff_t *tvb, proto_item *head_item, proto_tree *subtree, gint offset, gint opt_length, packet_info *pinfo, coap_info *coinfo,
coap_common_dissect_t *dissect_hf) {
guint8 flag_byte = 0;
gboolean non_compressed = FALSE;
gboolean expand = FALSE;
gboole... | static void dissect_coap_opt_object_security(tvbuff_t *tvb, proto_item *head_item, proto_tree *subtree, gint offset, gint opt_length, packet_info *pinfo, coap_info *coinfo,
coap_common_dissect_t *dissect_hf) {
guint8 flag_byte = 0;
gboolean non_compressed = FALSE;
gboolean expand = FALSE;
gboole... | static void dissect_coap_opt_object_security(tvbuff_t *tvb, proto_item *head_item, proto_tree *subtree, gint offset, gint opt_length, packet_info *pinfo, coap_info *coinfo,
coap_common_dissect_t *dissect_hf) {
guint8 flag_byte = 0;
gboolean non_compressed = FALSE;
gboolean expand = FALSE;
gboole... | static void dissect_coap_opt_object_security(tvbuff_t *tvb, proto_item *head_item, proto_tree *subtree, gint offset, gint opt_length, packet_info *pinfo, coap_info *coinfo,
coap_common_dissect_t *dissect_hf) {
guint8 flag_byte = 0;
gboolean non_compressed = FALSE;
gboolean expand = FALSE;
gboole... | static void dissect_coap_opt_object_security(tvbuff_t *tvb, proto_item *head_item, proto_tree *subtree, gint offset, gint opt_length, packet_info *pinfo, coap_info *coinfo,
coap_common_dissect_t *dissect_hf) {
coinfo->oscore_info->piv = NULL;
coinfo->oscore_info->kid_context = NULL;
coinfo->oscore_i... | static void dissect_coap_opt_object_security(tvbuff_t *tvb, proto_item *head_item, proto_tree *subtree, gint offset, gint opt_length, packet_info *pinfo, coap_info *coinfo,
coap_common_dissect_t *dissect_hf) {
coinfo->oscore_info->piv = NULL;
coinfo->oscore_info->piv_len = 0;
coinfo->oscore_info->ki... | static void dissect_coap_opt_object_security(tvbuff_t *tvb, proto_item *head_item, proto_tree *subtree, gint offset, gint opt_length, packet_info *pinfo, coap_info *coinfo,
coap_common_dissect_t *dissect_hf) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
coinfo->oscore_info->piv = NULL;
coinfo->osc... | static void dissect_coap_opt_object_security(tvbuff_t *tvb, proto_item *head_item, proto_tree *subtree, gint offset, gint opt_length, packet_info *pinfo, coap_info *coinfo,
coap_common_dissect_t *dissect_hf) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
coinfo->oscore_info->piv = NULL;
coinfo->osc... | static void dissect_coap_opt_object_security(tvbuff_t *tvb, proto_item *head_item, proto_tree *subtree, gint offset, gint opt_length, packet_info *pinfo, coap_info *coinfo,
coap_common_dissect_t *dissect_hf) {
coinfo->oscore_info->piv = NULL;
+ coinfo->oscore_info->piv_len = 0;
coinfo->oscore_inf... |
CVE-2018-18226 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-steam-ihs-discovery.c | steamdiscover_dissect_body_authrequest | static void steamdiscover_dissect_body_authrequest(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gint offset, gint bytes_left) {
guint len;
gint64 value;
protobuf_desc_t pb = { tvb, offset, bytes_left };
protobuf_tag_t tag = { 0, 0, 0 };
wmem_allocator_t *strpool;
strpool = wmem_allocator... | static void steamdiscover_dissect_body_authrequest(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gint offset, gint bytes_left) {
guint len;
gint64 value;
protobuf_desc_t pb = { tvb, offset, bytes_left };
protobuf_tag_t tag = { 0, 0, 0 };
guint8* devicename;
while (protobuf_iter_next(&pb, ... | static void steamdiscover_dissect_body_authrequest(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gint offset, gint bytes_left) {
guint len;
gint64 value;
protobuf_desc_t pb = { tvb, offset, bytes_left };
protobuf_tag_t tag = { 0, 0, 0 };
wmem_allocator_t *strpool;
strpool = wmem_allocator... | static void steamdiscover_dissect_body_authrequest(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gint offset, gint bytes_left) {
guint len;
gint64 value;
protobuf_desc_t pb = { tvb, offset, bytes_left };
protobuf_tag_t tag = { 0, 0, 0 };
guint8* devicename;
while (protobuf_iter_next(&pb, ... | static void steamdiscover_dissect_body_authrequest(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gint offset, gint bytes_left) {
protobuf_desc_t pb = { tvb, offset, bytes_left };
protobuf_tag_t tag = { 0, 0, 0 };
wmem_allocator_t *strpool;
strpool = wmem_allocator_new(WMEM_ALLOCATOR_SIMPLE);
... | static void steamdiscover_dissect_body_authrequest(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gint offset, gint bytes_left) {
protobuf_desc_t pb = { tvb, offset, bytes_left };
protobuf_tag_t tag = { 0, 0, 0 };
guint8* devicename;
while (protobuf_iter_next(&pb, &tag)) {
switch(tag.field... | static void steamdiscover_dissect_body_authrequest(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gint offset, gint bytes_left) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
protobuf_desc_t pb = { tvb, offset, bytes_left };
protobuf_tag_t tag = { 0, 0, 0 };
wmem_allocator_t *strpool;
strpool... | static void steamdiscover_dissect_body_authrequest(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gint offset, gint bytes_left) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
protobuf_desc_t pb = { tvb, offset, bytes_left };
protobuf_tag_t tag = { 0, 0, 0 };
guint8* devicename;
while (protobu... | static void steamdiscover_dissect_body_authrequest(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gint offset, gint bytes_left) {
protobuf_desc_t pb = { tvb, offset, bytes_left };
protobuf_tag_t tag = { 0, 0, 0 };
- wmem_allocator_t *strpool;
- strpool = wmem_allocator_new(WMEM_ALLOCATOR_SIMPLE);... |
CVE-2018-18226 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-steam-ihs-discovery.c | steamdiscover_dissect_body_status | static void steamdiscover_dissect_body_status(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gint offset, gint bytes_left) {
gint64 value;
gint len;
gint len2;
protobuf_desc_t pb = { tvb, offset, bytes_left };
protobuf_desc_t pb2 = { tvb, 0, 0 };
protobuf_tag_t tag = { 0, 0, 0 };
wmem_... | static void steamdiscover_dissect_body_status(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gint offset, gint bytes_left) {
gint64 value;
gint len;
gint len2;
protobuf_desc_t pb = { tvb, offset, bytes_left };
protobuf_desc_t pb2 = { tvb, 0, 0 };
protobuf_tag_t tag = { 0, 0, 0 };
guint... | static void steamdiscover_dissect_body_status(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gint offset, gint bytes_left) {
gint64 value;
gint len;
gint len2;
protobuf_desc_t pb = { tvb, offset, bytes_left };
protobuf_desc_t pb2 = { tvb, 0, 0 };
protobuf_tag_t tag = { 0, 0, 0 };
wmem_... | static void steamdiscover_dissect_body_status(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gint offset, gint bytes_left) {
gint64 value;
gint len;
gint len2;
protobuf_desc_t pb = { tvb, offset, bytes_left };
protobuf_desc_t pb2 = { tvb, 0, 0 };
protobuf_tag_t tag = { 0, 0, 0 };
guint... | static void steamdiscover_dissect_body_status(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gint offset, gint bytes_left) {
protobuf_desc_t pb = { tvb, offset, bytes_left };
protobuf_tag_t tag = { 0, 0, 0 };
wmem_allocator_t* strpool;
guint8 *hostname;
strpool = wmem_allocator_new(WMEM_ALLOCA... | static void steamdiscover_dissect_body_status(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gint offset, gint bytes_left) {
protobuf_desc_t pb = { tvb, offset, bytes_left };
protobuf_tag_t tag = { 0, 0, 0 };
guint8 *hostname;
nstime_t timestamp;
while (protobuf_iter_next(&pb, &tag)) {
... | static void steamdiscover_dissect_body_status(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gint offset, gint bytes_left) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
protobuf_desc_t pb = { tvb, offset, bytes_left };
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
protobuf_tag_t tag = { 0, 0, 0 ... | static void steamdiscover_dissect_body_status(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gint offset, gint bytes_left) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
protobuf_desc_t pb = { tvb, offset, bytes_left };
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
protobuf_tag_t tag = { 0, 0, 0 ... | static void steamdiscover_dissect_body_status(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gint offset, gint bytes_left) {
protobuf_desc_t pb = { tvb, offset, bytes_left };
protobuf_tag_t tag = { 0, 0, 0 };
- wmem_allocator_t* strpool;
guint8 *hostname;
- strpool = wmem_allocator_new(WMEM_... |
CVE-2018-18227 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-mswsp.c | dissect_CPMConnect | static int dissect_CPMConnect(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, gboolean in, void *private_data) {
proto_item *ti;
proto_tree *tree;
gint offset = 16;
guint len;
guint32 version;
struct message_data *data = NULL;
struct mswsp_ct *ct = NULL;
ti = proto_tree_add_i... | static int dissect_CPMConnect(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, gboolean in, void *private_data) {
proto_item *ti;
proto_tree *tree;
gint offset = 16;
guint len;
guint32 version;
struct message_data *data = NULL;
struct mswsp_ct *ct = NULL;
ti = proto_tree_add_i... | static int dissect_CPMConnect(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, gboolean in, void *private_data) {
proto_item *ti;
proto_tree *tree;
gint offset = 16;
guint len;
guint32 version;
struct message_data *data = NULL;
struct mswsp_ct *ct = NULL;
ti = proto_tree_add_i... | static int dissect_CPMConnect(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, gboolean in, void *private_data) {
proto_item *ti;
proto_tree *tree;
gint offset = 16;
guint len;
guint32 version;
struct message_data *data = NULL;
struct mswsp_ct *ct = NULL;
ti = proto_tree_add_i... | static int dissect_CPMConnect(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, gboolean in, void *private_data) {
gint offset = 16;
ti = proto_tree_add_item(parent_tree, hf_mswsp_msg, tvb, offset, -1, ENC_NA);
tree = proto_item_add_subtree(ti, ett_mswsp_msg);
ti = proto_tree_add_item_ret_uint... | static int dissect_CPMConnect(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, gboolean in, void *private_data) {
gint offset = 16;
ti = proto_tree_add_item(parent_tree, hf_mswsp_msg, tvb, offset, -1, ENC_NA);
tree = proto_item_add_subtree(ti, ett_mswsp_msg);
ti = proto_tree_add_item_ret_uint... | static int dissect_CPMConnect(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, gboolean in, void *private_data) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
gint offset = 16;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
ti = proto_tree_add_item(parent_tree, hf_mswsp_msg, tvb, offset, -1, ... | static int dissect_CPMConnect(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, gboolean in, void *private_data) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
gint offset = 16;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
ti = proto_tree_add_item(parent_tree, hf_mswsp_msg, tvb, offset, -1, ... | static int dissect_CPMConnect(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, gboolean in, void *private_data) {
gint offset = 16;
ti = proto_tree_add_item(parent_tree, hf_mswsp_msg, tvb, offset, -1, ENC_NA);
tree = proto_item_add_subtree(ti, ett_mswsp_msg);
ti = proto_tree_add_item_ret... |
CVE-2018-18227 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-mswsp.c | dissect_CPMCreateQuery | static int dissect_CPMCreateQuery(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, gboolean in, void *data ) {
gint offset = 16;
proto_item *item;
proto_tree *tree;
item = proto_tree_add_item(parent_tree, hf_mswsp_msg, tvb, offset, -1, ENC_NA);
tree = proto_item_add_subtree(item, ett_msws... | static int dissect_CPMCreateQuery(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, gboolean in, void *data ) {
gint offset = 16;
proto_item *item;
proto_tree *tree;
item = proto_tree_add_item(parent_tree, hf_mswsp_msg, tvb, offset, -1, ENC_NA);
tree = proto_item_add_subtree(item, ett_msws... | static int dissect_CPMCreateQuery(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, gboolean in, void *data ) {
gint offset = 16;
proto_item *item;
proto_tree *tree;
item = proto_tree_add_item(parent_tree, hf_mswsp_msg, tvb, offset, -1, ENC_NA);
tree = proto_item_add_subtree(item, ett_msws... | static int dissect_CPMCreateQuery(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, gboolean in, void *data ) {
gint offset = 16;
proto_item *item;
proto_tree *tree;
item = proto_tree_add_item(parent_tree, hf_mswsp_msg, tvb, offset, -1, ENC_NA);
tree = proto_item_add_subtree(item, ett_msws... | static int dissect_CPMCreateQuery(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, gboolean in, void *data ) {
gint offset = 16;
item = proto_tree_add_item(parent_tree, hf_mswsp_msg, tvb, offset, -1, ENC_NA);
tree = proto_item_add_subtree(item, ett_mswsp_msg);
if (in) {
proto_tree *pa... | static int dissect_CPMCreateQuery(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, gboolean in, void *data ) {
gint offset = 16;
item = proto_tree_add_item(parent_tree, hf_mswsp_msg, tvb, offset, -1, ENC_NA);
tree = proto_item_add_subtree(item, ett_mswsp_msg);
if (in) {
proto_tree *pa... | static int dissect_CPMCreateQuery(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, gboolean in, void *data ) {
gint offset = 16;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
item = proto_tree_add_item(parent_tree, hf_mswsp_msg, tvb, offset, -1, ENC_NA);
tree = proto_item_add_subtree(item, et... | static int dissect_CPMCreateQuery(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, gboolean in, void *data ) {
gint offset = 16;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
item = proto_tree_add_item(parent_tree, hf_mswsp_msg, tvb, offset, -1, ENC_NA);
tree = proto_item_add_subtree(item, et... | static int dissect_CPMCreateQuery(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, gboolean in, void *data ) {
gint offset = 16;
item = proto_tree_add_item(parent_tree, hf_mswsp_msg, tvb, offset, -1, ENC_NA);
tree = proto_item_add_subtree(item, ett_mswsp_msg);
if (in) {
proto_tr... |
CVE-2018-18227 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-mswsp.c | dissect_CPMGetRows | static int dissect_CPMGetRows(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, gboolean in, void *private_data) {
struct mswsp_ct *ct = NULL;
gint offset = 16;
proto_item *item;
proto_tree *tree;
proto_tree *seek_tree;
guint32 eType = 0;
item = proto_tree_add_item(parent_tree, hf_... | static int dissect_CPMGetRows(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, gboolean in, void *private_data) {
struct mswsp_ct *ct = NULL;
gint offset = 16;
proto_item *item;
proto_tree *tree;
proto_tree *seek_tree;
guint32 eType = 0;
item = proto_tree_add_item(parent_tree, hf_... | static int dissect_CPMGetRows(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, gboolean in, void *private_data) {
struct mswsp_ct *ct = NULL;
gint offset = 16;
proto_item *item;
proto_tree *tree;
proto_tree *seek_tree;
guint32 eType = 0;
item = proto_tree_add_item(parent_tree, hf_... | static int dissect_CPMGetRows(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, gboolean in, void *private_data) {
struct mswsp_ct *ct = NULL;
gint offset = 16;
proto_item *item;
proto_tree *tree;
proto_tree *seek_tree;
guint32 eType = 0;
item = proto_tree_add_item(parent_tree, hf_... | static int dissect_CPMGetRows(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, gboolean in, void *private_data) {
gint offset = 16;
item = proto_tree_add_item(parent_tree, hf_mswsp_msg, tvb, offset, in ? 0 : -1, ENC_NA);
tree = proto_item_add_subtree(item, ett_mswsp_msg);
ct = get_create_conv... | static int dissect_CPMGetRows(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, gboolean in, void *private_data) {
gint offset = 16;
item = proto_tree_add_item(parent_tree, hf_mswsp_msg, tvb, offset, in ? 0 : -1, ENC_NA);
tree = proto_item_add_subtree(item, ett_mswsp_msg);
ct = get_create_conv... | static int dissect_CPMGetRows(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, gboolean in, void *private_data) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
gint offset = 16;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
item = proto_tree_add_item(parent_tree, hf_mswsp_msg, tvb, offset, in... | static int dissect_CPMGetRows(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, gboolean in, void *private_data) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
gint offset = 16;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
item = proto_tree_add_item(parent_tree, hf_mswsp_msg, tvb, offset, in... | static int dissect_CPMGetRows(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, gboolean in, void *private_data) {
gint offset = 16;
item = proto_tree_add_item(parent_tree, hf_mswsp_msg, tvb, offset, in ? 0 : -1, ENC_NA);
tree = proto_item_add_subtree(item, ett_mswsp_msg);
ct = get_create... |
CVE-2018-18227 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-mswsp.c | dissect_CPMSetBindings | static int dissect_CPMSetBindings(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, gboolean in, void *private_data) {
gint offset = 16;
struct CPMSetBindingsIn request;
col_append_str(pinfo->cinfo, COL_FO, "SetBindings");
if (in) {
struct mswsp_ct *ct = NULL;
struct message_da... | static int dissect_CPMSetBindings(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, gboolean in, void *private_data) {
gint offset = 16;
struct CPMSetBindingsIn request;
col_append_str(pinfo->cinfo, COL_FO, "SetBindings");
if (in) {
struct mswsp_ct *ct = NULL;
struct message_da... | static int dissect_CPMSetBindings(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, gboolean in, void *private_data) {
gint offset = 16;
struct CPMSetBindingsIn request;
col_append_str(pinfo->cinfo, COL_FO, "SetBindings");
if (in) {
struct mswsp_ct *ct = NULL;
struct message_da... | static int dissect_CPMSetBindings(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, gboolean in, void *private_data) {
gint offset = 16;
struct CPMSetBindingsIn request;
col_append_str(pinfo->cinfo, COL_FO, "SetBindings");
if (in) {
struct mswsp_ct *ct = NULL;
struct message_da... | static int dissect_CPMSetBindings(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, gboolean in, void *private_data) {
gint offset = 16;
if (in) {
ti = proto_tree_add_item(parent_tree, hf_mswsp_msg, tvb, offset, -1, ENC_NA);
tree = proto_item_add_subtree(ti, ett_mswsp_msg);
pro... | static int dissect_CPMSetBindings(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, gboolean in, void *private_data) {
gint offset = 16;
if (in) {
ti = proto_tree_add_item(parent_tree, hf_mswsp_msg, tvb, offset, -1, ENC_NA);
tree = proto_item_add_subtree(ti, ett_mswsp_msg);
pro... | static int dissect_CPMSetBindings(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, gboolean in, void *private_data) {
gint offset = 16;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (in) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
ti = proto_tree_add_item(parent_tree, hf_mswsp_... | static int dissect_CPMSetBindings(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, gboolean in, void *private_data) {
gint offset = 16;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (in) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
ti = proto_tree_add_item(parent_tree, hf_mswsp_... | static int dissect_CPMSetBindings(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, gboolean in, void *private_data) {
gint offset = 16;
if (in) {
ti = proto_tree_add_item(parent_tree, hf_mswsp_msg, tvb, offset, -1, ENC_NA);
tree = proto_item_add_subtree(ti, ett_mswsp_msg);
... |
CVE-2018-18227 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-mswsp.c | parse_CBaseStorageVariant | static int parse_CBaseStorageVariant(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CBaseStorageVariant *value, const char *text) {
int i, len;
proto_item *ti, *ti_type, *ti_val;
proto_tree *tree, *tr;
enum vType highType;
ZERO_STRUCT(*value);
tree = proto_tree_... | static int parse_CBaseStorageVariant(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CBaseStorageVariant *value, const char *text) {
int i, len;
proto_item *ti, *ti_type, *ti_val;
proto_tree *tree, *tr;
enum vType highType;
ZERO_STRUCT(*value);
... | static int parse_CBaseStorageVariant(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CBaseStorageVariant *value, const char *text) {
int i, len;
proto_item *ti, *ti_type, *ti_val;
proto_tree *tree, *tr;
enum vType highType;
ZERO_STRUCT(*value);
tree = proto_tree_... | static int parse_CBaseStorageVariant(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CBaseStorageVariant *value, const char *text) {
int i, len;
proto_item *ti, *ti_type, *ti_val;
proto_tree *tree, *tr;
enum vType highType;
ZERO_STRUCT(*value);
... | static int parse_CBaseStorageVariant(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CBaseStorageVariant *value, const char *text) {
tree = proto_tree_add_subtree(parent_tree, tvb, offset, 0, ett_CBaseStorageVariant, &ti, text);
parse_vType(tvb, offset, &value->vType);
value... | static int parse_CBaseStorageVariant(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CBaseStorageVariant *value, const char *text) {
tree = proto_tree_add_subtree(parent_tree, tvb, offset, 0, ett_CBaseStorageVariant, &ti, text);
value->vType = tvb_get_letohs(... | static int parse_CBaseStorageVariant(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CBaseStorageVariant *value, const char *text) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
tree = proto_tree_add_subtree(parent_tree, tvb, offset, 0, ett_CBaseStorageVariant, &ti, text);
... | static int parse_CBaseStorageVariant(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CBaseStorageVariant *value, const char *text) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
tree = proto_tree_add_subtree(parent_tree, tvb, offset, 0, ett_CBaseStorageVaria... | -static int parse_CBaseStorageVariant(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CBaseStorageVariant *value, const char *text) {
+static int parse_CBaseStorageVariant(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CBaseStorageVa... |
CVE-2018-18227 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-mswsp.c | parse_CCategSpec | int parse_CCategSpec(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
proto_item *item;
proto_tree *tree;
va_list ap;
guint32 type;
const char *txt;
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
va_end(ap);
... | int parse_CCategSpec(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
proto_item *item;
proto_tree *tree;
va_list ap;
guint32 type;
const char *txt;
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap)... | int parse_CCategSpec(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
proto_item *item;
proto_tree *tree;
va_list ap;
guint32 type;
const char *txt;
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
va_end(ap);
... | int parse_CCategSpec(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
proto_item *item;
proto_tree *tree;
va_list ap;
guint32 type;
const char *txt;
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap)... | int parse_CCategSpec(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
tree = proto_tree_add_subtree(parent_tree, tvb, offset, 0, ett_CCategSpec, &item, txt);
type = tvb_get_letohl... | int parse_CCategSpec(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
tree = proto_tree_add_subtree(parent_tree, tvb, offset, 0, ett_CCategSpec, &item, txt);
t... | int parse_CCategSpec(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
tree = proto_... | int parse_CCategSpec(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT ... | -int parse_CCategSpec(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
+int parse_CCategSpec(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_... |
CVE-2018-18227 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-mswsp.c | parse_CCategorizationSpec | int parse_CCategorizationSpec(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
proto_item *item;
proto_tree *tree;
const char *txt;
va_list ap;
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
va_end(ap);
tree = ... | int parse_CCategorizationSpec(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
proto_item *item;
proto_tree *tree;
const char *txt;
va_list ap;
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
va_... | int parse_CCategorizationSpec(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
proto_item *item;
proto_tree *tree;
const char *txt;
va_list ap;
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
va_end(ap);
tree = ... | int parse_CCategorizationSpec(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
proto_item *item;
proto_tree *tree;
const char *txt;
va_list ap;
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
va_... | int parse_CCategorizationSpec(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
tree = proto_tree_add_subtree(parent_tree, tvb, offset, 0, ett_CCategorizationSpec, &item, txt);
off... | int parse_CCategorizationSpec(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
tree = proto_tree_add_subtree(parent_tree, tvb, offset, 0, ett_CCategorizationSpec, ... | int parse_CCategorizationSpec(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
tree... | int parse_CCategorizationSpec(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
/* PLACEHOLDER: DO NOT DELETE THIS... | -int parse_CCategorizationSpec(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
+int parse_CCategorizationSpec(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
va_start(ap, fmt);
txt = wmem_st... |
CVE-2018-18227 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-mswsp.c | parse_CCoercionRestriction | static int parse_CCoercionRestriction(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CCoercionRestriction *v, const char *fmt, ...) {
proto_tree *tree;
proto_item *item;
const char *txt;
va_list ap;
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(... | static int parse_CCoercionRestriction(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CCoercionRestriction *v, const char *fmt, ...) {
proto_tree *tree;
proto_item *item;
const char *txt;
va_list ap;
va_start(ap, fmt);
txt = wmem_strdup_vprint... | static int parse_CCoercionRestriction(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CCoercionRestriction *v, const char *fmt, ...) {
proto_tree *tree;
proto_item *item;
const char *txt;
va_list ap;
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(... | static int parse_CCoercionRestriction(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CCoercionRestriction *v, const char *fmt, ...) {
proto_tree *tree;
proto_item *item;
const char *txt;
va_list ap;
va_start(ap, fmt);
txt = wmem_strdup_vprint... | static int parse_CCoercionRestriction(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CCoercionRestriction *v, const char *fmt, ...) {
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
tree = proto_tree_add_subtree(parent_tree, tvb, offset, 0, ett_C... | static int parse_CCoercionRestriction(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CCoercionRestriction *v, const char *fmt, ...) {
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
tree = proto_tree_add_subtree(parent_tree, t... | static int parse_CCoercionRestriction(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CCoercionRestriction *v, const char *fmt, ...) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
/* PLACEHOLDER... | static int parse_CCoercionRestriction(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CCoercionRestriction *v, const char *fmt, ...) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap)... | -static int parse_CCoercionRestriction(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CCoercionRestriction *v, const char *fmt, ...) {
+static int parse_CCoercionRestriction(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CCoercionRe... |
CVE-2018-18227 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-mswsp.c | parse_CDbProp | static int parse_CDbProp(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct GuidPropertySet *propset, const char *fmt, ...) {
static const value_string EMPTY_VS[] = {{0, NULL}};
const value_string *vs = (propset && propset->id_map) ? propset->id_map : EMPTY_VS;
guint32 id, opt,... | static int parse_CDbProp(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct GuidPropertySet *propset, const char *fmt, ...) {
static const value_string EMPTY_VS[] = {{0, NULL}};
const value_string *vs = (propset && propset->id_map) ? propset->id_map : EMPTY_VS;
... | static int parse_CDbProp(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct GuidPropertySet *propset, const char *fmt, ...) {
static const value_string EMPTY_VS[] = {{0, NULL}};
const value_string *vs = (propset && propset->id_map) ? propset->id_map : EMPTY_VS;
guint32 id, opt,... | static int parse_CDbProp(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct GuidPropertySet *propset, const char *fmt, ...) {
static const value_string EMPTY_VS[] = {{0, NULL}};
const value_string *vs = (propset && propset->id_map) ? propset->id_map : EMPTY_VS;
... | static int parse_CDbProp(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct GuidPropertySet *propset, const char *fmt, ...) {
static const value_string EMPTY_VS[] = {{0, NULL}};
const value_string *vs = (propset && propset->id_map) ? propset->id_map : EMPTY_VS;
va_start(ap, fmt... | static int parse_CDbProp(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct GuidPropertySet *propset, const char *fmt, ...) {
static const value_string EMPTY_VS[] = {{0, NULL}};
const value_string *vs = (propset && propset->id_map) ? propset->id_map : EMPTY_VS;
... | static int parse_CDbProp(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct GuidPropertySet *propset, const char *fmt, ...) {
static const value_string EMPTY_VS[] = {{0, NULL}};
const value_string *vs = (propset && propset->id_map) ? propset->id_map : EMPTY_VS;
/* PLACEHOLDER: ... | static int parse_CDbProp(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct GuidPropertySet *propset, const char *fmt, ...) {
static const value_string EMPTY_VS[] = {{0, NULL}};
const value_string *vs = (propset && propset->id_map) ? propset->id_map : EMPTY_VS;
... | -static int parse_CDbProp(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct GuidPropertySet *propset, const char *fmt, ...) {
+static int parse_CDbProp(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct GuidPropertySet *propset, const char... |
CVE-2018-18227 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-mswsp.c | parse_CDbPropSet | static int parse_CDbPropSet(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
int i, num;
e_guid_t guid;
struct GuidPropertySet *pset;
proto_item *item;
proto_tree *tree;
const char *txt;
va_list ap;
va_start(ap, fmt);
txt = wmem_strdup... | static int parse_CDbPropSet(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
int i, num;
e_guid_t guid;
struct GuidPropertySet *pset;
proto_item *item;
proto_tree *tree;
const char *txt;
va_list ap;
va_start(ap, fmt);
... | static int parse_CDbPropSet(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
int i, num;
e_guid_t guid;
struct GuidPropertySet *pset;
proto_item *item;
proto_tree *tree;
const char *txt;
va_list ap;
va_start(ap, fmt);
txt = wmem_strdup... | static int parse_CDbPropSet(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
int i, num;
e_guid_t guid;
struct GuidPropertySet *pset;
proto_item *item;
proto_tree *tree;
const char *txt;
va_list ap;
va_start(ap, fmt);
... | static int parse_CDbPropSet(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
tree = proto_tree_add_subtree(parent_tree, tvb, offset, 0, ett_CDbPropSet, &item, txt);
offset = parse... | static int parse_CDbPropSet(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
tree = proto_tree_add_subtree(parent_tree, tvb, offset, 0, ett_CDbPropSet, &item, txt)... | static int parse_CDbPropSet(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
tree =... | static int parse_CDbPropSet(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
/* PLACEHOLDER: DO NOT DELETE THIS C... | -static int parse_CDbPropSet(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
+static int parse_CDbPropSet(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
va_start(ap, fmt);
txt = wmem_strdup... |
CVE-2018-18227 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-mswsp.c | parse_CInGroupSortAggregSet | static int parse_CInGroupSortAggregSet(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
proto_item *item;
proto_tree *tree;
va_list ap;
enum CInGroupSortAggregSet_type type;
const char *txt;
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_pa... | static int parse_CInGroupSortAggregSet(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
proto_item *item;
proto_tree *tree;
va_list ap;
enum CInGroupSortAggregSet_type type;
const char *txt;
va_start(ap, fmt);
txt = wmem_st... | static int parse_CInGroupSortAggregSet(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
proto_item *item;
proto_tree *tree;
va_list ap;
enum CInGroupSortAggregSet_type type;
const char *txt;
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_pa... | static int parse_CInGroupSortAggregSet(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
proto_item *item;
proto_tree *tree;
va_list ap;
enum CInGroupSortAggregSet_type type;
const char *txt;
va_start(ap, fmt);
txt = wmem_st... | static int parse_CInGroupSortAggregSet(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
tree = proto_tree_add_subtree(parent_tree, tvb, offset, 0, ett_CInGroupSortAggregSet, &item, tx... | static int parse_CInGroupSortAggregSet(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
tree = proto_tree_add_subtree(parent_tree, tvb, offset, 0, ett_CInGroupSort... | static int parse_CInGroupSortAggregSet(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */... | static int parse_CInGroupSortAggregSet(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
/* PLACEHOLDER: DO NOT DE... | -static int parse_CInGroupSortAggregSet(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
+static int parse_CInGroupSortAggregSet(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
va_start(ap, fmt);
... |
CVE-2018-18227 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-mswsp.c | parse_CInGroupSortAggregSets | static int parse_CInGroupSortAggregSets(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
guint32 cCount, i;
proto_item *item;
proto_tree *tree;
const char *txt;
va_list ap;
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt,... | static int parse_CInGroupSortAggregSets(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
guint32 cCount, i;
proto_item *item;
proto_tree *tree;
const char *txt;
va_list ap;
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_... | static int parse_CInGroupSortAggregSets(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
guint32 cCount, i;
proto_item *item;
proto_tree *tree;
const char *txt;
va_list ap;
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt,... | static int parse_CInGroupSortAggregSets(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
guint32 cCount, i;
proto_item *item;
proto_tree *tree;
const char *txt;
va_list ap;
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_... | static int parse_CInGroupSortAggregSets(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
tree = proto_tree_add_subtree(parent_tree, tvb, offset, 0, ett_CInGroupSortAggregSets, &item, ... | static int parse_CInGroupSortAggregSets(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
tree = proto_tree_add_subtree(parent_tree, tvb, offset, 0, ett_CInGroupSor... | static int parse_CInGroupSortAggregSets(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT *... | static int parse_CInGroupSortAggregSets(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
/* PLACEHOLDER: DO NOT D... | -static int parse_CInGroupSortAggregSets(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
+static int parse_CInGroupSortAggregSets(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
va_start(ap, fmt)... |
CVE-2018-18227 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-mswsp.c | parse_CNodeRestriction | static int parse_CNodeRestriction(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CNodeRestriction *v, const char *fmt, ...) {
proto_tree *tree;
proto_item *item;
unsigned i;
const char *txt;
va_list ap;
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packe... | static int parse_CNodeRestriction(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CNodeRestriction *v, const char *fmt, ...) {
proto_tree *tree;
proto_item *item;
unsigned i;
const char *txt;
va_list ap;
va_start(ap, fmt);
txt = wmem_strdu... | static int parse_CNodeRestriction(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CNodeRestriction *v, const char *fmt, ...) {
proto_tree *tree;
proto_item *item;
unsigned i;
const char *txt;
va_list ap;
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packe... | static int parse_CNodeRestriction(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CNodeRestriction *v, const char *fmt, ...) {
proto_tree *tree;
proto_item *item;
unsigned i;
const char *txt;
va_list ap;
va_start(ap, fmt);
txt = wmem_strdu... | static int parse_CNodeRestriction(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CNodeRestriction *v, const char *fmt, ...) {
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
tree = proto_tree_add_subtree(parent_tree, tvb, offset, 0, ett_CNodeRest... | static int parse_CNodeRestriction(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CNodeRestriction *v, const char *fmt, ...) {
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
tree = proto_tree_add_subtree(parent_tree, tvb, offs... | static int parse_CNodeRestriction(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CNodeRestriction *v, const char *fmt, ...) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
/* PLACEHOLDER: DO NOT... | static int parse_CNodeRestriction(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CNodeRestriction *v, const char *fmt, ...) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
/*... | -static int parse_CNodeRestriction(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CNodeRestriction *v, const char *fmt, ...) {
+static int parse_CNodeRestriction(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CNodeRestriction *v, co... |
CVE-2018-18227 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-mswsp.c | parse_CPropertyRestriction | static int parse_CPropertyRestriction(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CPropertyRestriction *v, const char *fmt, ...) {
proto_tree *tree;
proto_item *item;
const char *txt, *str = NULL;
va_list ap;
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_... | static int parse_CPropertyRestriction(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CPropertyRestriction *v, const char *fmt, ...) {
proto_tree *tree;
proto_item *item;
const char *txt, *str = NULL;
va_list ap;
va_start(ap, fmt);
txt = wmem_... | static int parse_CPropertyRestriction(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CPropertyRestriction *v, const char *fmt, ...) {
proto_tree *tree;
proto_item *item;
const char *txt, *str = NULL;
va_list ap;
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_... | static int parse_CPropertyRestriction(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CPropertyRestriction *v, const char *fmt, ...) {
proto_tree *tree;
proto_item *item;
const char *txt, *str = NULL;
va_list ap;
va_start(ap, fmt);
txt = wmem_... | static int parse_CPropertyRestriction(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CPropertyRestriction *v, const char *fmt, ...) {
const char *txt, *str = NULL;
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
tree = proto_tree_add_subtree(... | static int parse_CPropertyRestriction(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CPropertyRestriction *v, const char *fmt, ...) {
const char *txt, *str = NULL;
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
tree = pro... | static int parse_CPropertyRestriction(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CPropertyRestriction *v, const char *fmt, ...) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
const char *txt, *str = NULL;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
va_start(ap, f... | static int parse_CPropertyRestriction(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CPropertyRestriction *v, const char *fmt, ...) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
const char *txt, *str = NULL;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT *... | -static int parse_CPropertyRestriction(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CPropertyRestriction *v, const char *fmt, ...) {
+static int parse_CPropertyRestriction(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CPropertyRe... |
CVE-2018-18227 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-mswsp.c | parse_CRangeCategSpec | int parse_CRangeCategSpec(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
proto_item *item;
proto_tree *tree;
va_list ap;
unsigned i;
const char *txt;
guint32 cRange;
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ... | int parse_CRangeCategSpec(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
proto_item *item;
proto_tree *tree;
va_list ap;
unsigned i;
const char *txt;
guint32 cRange;
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_p... | int parse_CRangeCategSpec(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
proto_item *item;
proto_tree *tree;
va_list ap;
unsigned i;
const char *txt;
guint32 cRange;
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ... | int parse_CRangeCategSpec(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
proto_item *item;
proto_tree *tree;
va_list ap;
unsigned i;
const char *txt;
guint32 cRange;
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_p... | int parse_CRangeCategSpec(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
tree = proto_tree_add_subtree(parent_tree, tvb, offset, 0, ett_CRangeCategSpec, &item, txt);
offset = pa... | int parse_CRangeCategSpec(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
tree = proto_tree_add_subtree(parent_tree, tvb, offset, 0, ett_CRangeCategSpec, &item, t... | int parse_CRangeCategSpec(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
tree = p... | int parse_CRangeCategSpec(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
/* PLACEHOLDER: DO NOT DELETE THIS COM... | -int parse_CRangeCategSpec(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
+int parse_CRangeCategSpec(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
va_start(ap, fmt);
txt = wmem_strdup_vpr... |
CVE-2018-18227 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-mswsp.c | parse_CRestriction | static int parse_CRestriction(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CRestriction *v, const char *fmt, ...) {
proto_tree *tree;
proto_item *item;
const char *str, *txt;
va_list ap;
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap... | static int parse_CRestriction(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CRestriction *v, const char *fmt, ...) {
proto_tree *tree;
proto_item *item;
const char *str, *txt;
va_list ap;
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_pac... | static int parse_CRestriction(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CRestriction *v, const char *fmt, ...) {
proto_tree *tree;
proto_item *item;
const char *str, *txt;
va_list ap;
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap... | static int parse_CRestriction(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CRestriction *v, const char *fmt, ...) {
proto_tree *tree;
proto_item *item;
const char *str, *txt;
va_list ap;
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_pac... | static int parse_CRestriction(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CRestriction *v, const char *fmt, ...) {
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
tree = proto_tree_add_subtree(parent_tree, tvb, offset, 0, ett_CRestriction, &it... | static int parse_CRestriction(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CRestriction *v, const char *fmt, ...) {
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
tree = proto_tree_add_subtree(parent_tree, tvb, offset, 0, e... | static int parse_CRestriction(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CRestriction *v, const char *fmt, ...) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
/* PLACEHOLDER: DO NOT DELETE ... | static int parse_CRestriction(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CRestriction *v, const char *fmt, ...) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
/* PLACEHO... | -static int parse_CRestriction(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CRestriction *v, const char *fmt, ...) {
+static int parse_CRestriction(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CRestriction *v, const char *fmt, .... |
CVE-2018-18227 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-mswsp.c | parse_CRestrictionArray | static int parse_CRestrictionArray(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
guint8 present, count;
proto_tree *tree;
proto_item *item;
const char *txt;
va_list ap;
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ... | static int parse_CRestrictionArray(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
guint8 present, count;
proto_tree *tree;
proto_item *item;
const char *txt;
va_list ap;
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_p... | static int parse_CRestrictionArray(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
guint8 present, count;
proto_tree *tree;
proto_item *item;
const char *txt;
va_list ap;
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ... | static int parse_CRestrictionArray(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
guint8 present, count;
proto_tree *tree;
proto_item *item;
const char *txt;
va_list ap;
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_p... | static int parse_CRestrictionArray(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
tree = proto_tree_add_subtree(parent_tree, tvb, offset, 0, ett_CRestrictionArray, &item, txt);
... | static int parse_CRestrictionArray(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
tree = proto_tree_add_subtree(parent_tree, tvb, offset, 0, ett_CRestrictionArra... | static int parse_CRestrictionArray(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
... | static int parse_CRestrictionArray(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
/* PLACEHOLDER: DO NOT DELETE... | -static int parse_CRestrictionArray(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
+static int parse_CRestrictionArray(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
va_start(ap, fmt);
txt... |
CVE-2018-18227 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-mswsp.c | parse_CTableColumn | static int parse_CTableColumn(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CTableColumn *col, const char *fmt, ...) {
proto_item *item;
proto_tree *tree;
va_list ap;
struct vtype_data *type;
enum vType vtype_val = VT_EMPTY;
enum vType vtype_valhi = VT_EMPTY;
... | static int parse_CTableColumn(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CTableColumn *col, const char *fmt, ...) {
proto_item *item, *ti_type;
proto_tree *tree;
va_list ap;
struct vtype_data *type;
enum vType vtype_val = VT_EMPTY;
enum v... | static int parse_CTableColumn(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CTableColumn *col, const char *fmt, ...) {
static const value_string DBAGGTTYPE[] = {
{0x0, "DBAGGTTYPE_BYNONE"}, {0x1, "DBAGGTTYPE_SUM"}, {0x2, "DBAGGTTYPE_MAX"}, {0x3, "DBAGGTTYPE_M"}, {0x4, "DBA... | static int parse_CTableColumn(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CTableColumn *col, const char *fmt, ...) {
static const value_string DBAGGTTYPE[] = {
{0x0, "DBAGGTTYPE_BYNONE"}, {0x1, "DBAGGTTYPE_SUM"}, {0x2, "DBAGGTTYPE_MAX"}, {0x3, "DBAGGT... | static int parse_CTableColumn(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CTableColumn *col, const char *fmt, ...) {
proto_item *item;
proto_tree *tree;
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
tree = proto_tree_add_subtree(pare... | static int parse_CTableColumn(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CTableColumn *col, const char *fmt, ...) {
proto_item *item, *ti_type;
proto_tree *tree;
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
tree... | static int parse_CTableColumn(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CTableColumn *col, const char *fmt, ...) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
proto_item *item;
proto_tree *tree;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
va_start(ap, fmt);... | static int parse_CTableColumn(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CTableColumn *col, const char *fmt, ...) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
proto_item *item, *ti_type;
proto_tree *tree;
/* PLACEHOLDER: DO NOT DELETE THIS COM... | -static int parse_CTableColumn(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CTableColumn *col, const char *fmt, ...) {
- proto_item *item;
+static int parse_CTableColumn(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, struct CTableColu... |
CVE-2018-18227 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-mswsp.c | parse_PropertySetArray | static int parse_PropertySetArray(tvbuff_t *tvb, int offset, int size_offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
const int offset_in = offset;
guint32 size, num;
int i;
proto_tree *tree;
proto_item *item;
const char *txt;
va_list ap;
va_start(ap, fmt);... | static int parse_PropertySetArray(tvbuff_t *tvb, packet_info *pinfo, int offset, int size_offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
const int offset_in = offset;
guint32 size, num;
int i;
proto_tree *tree;
proto_item *item;
const char *txt;
va_list ap;
... | static int parse_PropertySetArray(tvbuff_t *tvb, int offset, int size_offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
const int offset_in = offset;
guint32 size, num;
int i;
proto_tree *tree;
proto_item *item;
const char *txt;
va_list ap;
va_start(ap, fmt);... | static int parse_PropertySetArray(tvbuff_t *tvb, packet_info *pinfo, int offset, int size_offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
const int offset_in = offset;
guint32 size, num;
int i;
proto_tree *tree;
proto_item *item;
const char *txt;
va_list ap;
... | static int parse_PropertySetArray(tvbuff_t *tvb, int offset, int size_offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
tree = proto_tree_add_subtree(parent_tree, tvb, offset, 0, ett_CDbPropSet_Array, &i... | static int parse_PropertySetArray(tvbuff_t *tvb, packet_info *pinfo, int offset, int size_offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
tree = proto_tree_add_subtree(parent_tree, tvb, offset, 0, ett_... | static int parse_PropertySetArray(tvbuff_t *tvb, int offset, int size_offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
/* PLACEHOLDER: DO NOT DELETE THI... | static int parse_PropertySetArray(tvbuff_t *tvb, packet_info *pinfo, int offset, int size_offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
/* PLACEHOLDE... | -static int parse_PropertySetArray(tvbuff_t *tvb, int offset, int size_offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
+static int parse_PropertySetArray(tvbuff_t *tvb, packet_info *pinfo, int offset, int size_offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
... |
CVE-2018-18227 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-mswsp.c | parse_RANGEBOUNDARY | int parse_RANGEBOUNDARY(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
guint32 ulType;
guint8 labelPresent;
proto_item *item;
proto_tree *tree;
const char *txt;
struct CBaseStorageVariant prval;
va_list ap;
va_start(ap, fmt);
txt = w... | int parse_RANGEBOUNDARY(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
guint32 ulType;
guint8 labelPresent;
proto_item *item;
proto_tree *tree;
const char *txt;
struct CBaseStorageVariant prval;
va_list ap;
va_start(a... | int parse_RANGEBOUNDARY(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
guint32 ulType;
guint8 labelPresent;
proto_item *item;
proto_tree *tree;
const char *txt;
struct CBaseStorageVariant prval;
va_list ap;
va_start(ap, fmt);
txt = w... | int parse_RANGEBOUNDARY(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
guint32 ulType;
guint8 labelPresent;
proto_item *item;
proto_tree *tree;
const char *txt;
struct CBaseStorageVariant prval;
va_list ap;
va_start(a... | int parse_RANGEBOUNDARY(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
tree =proto_tree_add_subtree (parent_tree, tvb, offset, 0, ett_RANGEBOUNDARY, &item, txt);
ulType = tvb_ge... | int parse_RANGEBOUNDARY(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
tree =proto_tree_add_subtree (parent_tree, tvb, offset, 0, ett_RANGEBOUNDARY, &item, txt);... | int parse_RANGEBOUNDARY(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
tree =prot... | int parse_RANGEBOUNDARY(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_scope(), fmt, ap);
/* PLACEHOLDER: DO NOT DELETE THIS COMME... | -int parse_RANGEBOUNDARY(tvbuff_t *tvb, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
+int parse_RANGEBOUNDARY(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, proto_tree *pad_tree, const char *fmt, ...) {
va_start(ap, fmt);
txt = wmem_strdup_vprintf... |
CVE-2018-18227 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-mswsp.c | parse_RowsBuffer | static int parse_RowsBuffer(tvbuff_t *tvb, int offset, guint32 num_rows, struct CPMSetBindingsIn *bindingsin, struct rows_data *rowsin, gboolean is64bit, proto_tree *parent_tree, const char *fmt,
...) {
proto_tree *tree;
proto_item *item;
guint32 num;
const char *txt;
va_... | static int parse_RowsBuffer(tvbuff_t *tvb, packet_info *pinfo, int offset, guint32 num_rows, struct CPMSetBindingsIn *bindingsin, struct rows_data *rowsin, gboolean is64bit, proto_tree *parent_tree,
const char *fmt, ...) {
proto_tree *tree;
proto_item *item;
guint32 num;
cons... | static int parse_RowsBuffer(tvbuff_t *tvb, int offset, guint32 num_rows, struct CPMSetBindingsIn *bindingsin, struct rows_data *rowsin, gboolean is64bit, proto_tree *parent_tree, const char *fmt,
...) {
proto_tree *tree;
proto_item *item;
guint32 num;
const char *txt;
va_... | static int parse_RowsBuffer(tvbuff_t *tvb, packet_info *pinfo, int offset, guint32 num_rows, struct CPMSetBindingsIn *bindingsin, struct rows_data *rowsin, gboolean is64bit, proto_tree *parent_tree,
const char *fmt, ...) {
proto_tree *tree;
proto_item *item;
guint32 num;
cons... | static int parse_RowsBuffer(tvbuff_t *tvb, int offset, guint32 num_rows, struct CPMSetBindingsIn *bindingsin, struct rows_data *rowsin, gboolean is64bit, proto_tree *parent_tree, const char *fmt,
...) {
proto_tree *tree;
va_start(ap, fmt);
txt = wmem_strdup_vprintf(wmem_packet_sc... | static int parse_RowsBuffer(tvbuff_t *tvb, packet_info *pinfo, int offset, guint32 num_rows, struct CPMSetBindingsIn *bindingsin, struct rows_data *rowsin, gboolean is64bit, proto_tree *parent_tree,
const char *fmt, ...) {
proto_tree *tree;
va_start(ap, fmt);
txt = wmem_strdup_vp... | static int parse_RowsBuffer(tvbuff_t *tvb, int offset, guint32 num_rows, struct CPMSetBindingsIn *bindingsin, struct rows_data *rowsin, gboolean is64bit, proto_tree *parent_tree, const char *fmt,
...) {
proto_tree *tree;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
va_start(ap, ... | static int parse_RowsBuffer(tvbuff_t *tvb, packet_info *pinfo, int offset, guint32 num_rows, struct CPMSetBindingsIn *bindingsin, struct rows_data *rowsin, gboolean is64bit, proto_tree *parent_tree,
const char *fmt, ...) {
proto_tree *tree;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT ... | -static int parse_RowsBuffer(tvbuff_t *tvb, int offset, guint32 num_rows, struct CPMSetBindingsIn *bindingsin, struct rows_data *rowsin, gboolean is64bit, proto_tree *parent_tree, const char *fmt,
- ...) {
+static int parse_RowsBuffer(tvbuff_t *tvb, packet_info *pinfo, int offset, guint32 num... |
CVE-2018-18227 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-mswsp.c | parse_RowsBufferCol | static int parse_RowsBufferCol(tvbuff_t *tvb, int offset, guint32 row, guint32 col, struct CPMSetBindingsIn *bindingsin, struct rows_data *rowsin, gboolean b_is_64bit, proto_tree *parent_tree,
const char *fmt, ...) {
proto_tree *tree;
proto_item *item;
guint32 buf_start = offs... | static int parse_RowsBufferCol(tvbuff_t *tvb, packet_info *pinfo, int offset, guint32 row, guint32 col, struct CPMSetBindingsIn *bindingsin, struct rows_data *rowsin, gboolean b_is_64bit,
proto_tree *parent_tree, const char *fmt, ...) {
proto_tree *tree;
proto_item *item;
guin... | static int parse_RowsBufferCol(tvbuff_t *tvb, int offset, guint32 row, guint32 col, struct CPMSetBindingsIn *bindingsin, struct rows_data *rowsin, gboolean b_is_64bit, proto_tree *parent_tree,
const char *fmt, ...) {
proto_tree *tree;
proto_item *item;
guint32 buf_start = offs... | static int parse_RowsBufferCol(tvbuff_t *tvb, packet_info *pinfo, int offset, guint32 row, guint32 col, struct CPMSetBindingsIn *bindingsin, struct rows_data *rowsin, gboolean b_is_64bit,
proto_tree *parent_tree, const char *fmt, ...) {
proto_tree *tree;
proto_item *item;
guin... | static int parse_RowsBufferCol(tvbuff_t *tvb, int offset, guint32 row, guint32 col, struct CPMSetBindingsIn *bindingsin, struct rows_data *rowsin, gboolean b_is_64bit, proto_tree *parent_tree,
const char *fmt, ...) {
proto_tree *tree;
guint32 buf_start = offset;
guint32 buf_of... | static int parse_RowsBufferCol(tvbuff_t *tvb, packet_info *pinfo, int offset, guint32 row, guint32 col, struct CPMSetBindingsIn *bindingsin, struct rows_data *rowsin, gboolean b_is_64bit,
proto_tree *parent_tree, const char *fmt, ...) {
proto_tree *tree;
guint32 buf_start = offset... | static int parse_RowsBufferCol(tvbuff_t *tvb, int offset, guint32 row, guint32 col, struct CPMSetBindingsIn *bindingsin, struct rows_data *rowsin, gboolean b_is_64bit, proto_tree *parent_tree,
const char *fmt, ...) {
proto_tree *tree;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
... | static int parse_RowsBufferCol(tvbuff_t *tvb, packet_info *pinfo, int offset, guint32 row, guint32 col, struct CPMSetBindingsIn *bindingsin, struct rows_data *rowsin, gboolean b_is_64bit,
proto_tree *parent_tree, const char *fmt, ...) {
proto_tree *tree;
/* PLACEHOLDER: DO NOT DEL... | -static int parse_RowsBufferCol(tvbuff_t *tvb, int offset, guint32 row, guint32 col, struct CPMSetBindingsIn *bindingsin, struct rows_data *rowsin, gboolean b_is_64bit, proto_tree *parent_tree,
- const char *fmt, ...) {
+static int parse_RowsBufferCol(tvbuff_t *tvb, packet_info *pinfo, int... |
CVE-2018-18227 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-mswsp.c | parse_VariantCol | static int parse_VariantCol(tvbuff_t *tvb, int offset, proto_tree *parent_tree, guint64 base_address, guint32 length, gboolean is_64bit, struct CRowVariant *variant, const char *fmt, ...) {
proto_tree *tree;
proto_item *item;
va_list ap;
struct vtype_data *vt_type;
const char *modifier = "", *txt;
... | static int parse_VariantCol(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, guint64 base_address, guint32 length, gboolean is_64bit, struct CRowVariant *variant,
const char *fmt, ...) {
proto_tree *tree;
proto_item *item, *ti_type;
va_list ap;
struct v... | static int parse_VariantCol(tvbuff_t *tvb, int offset, proto_tree *parent_tree, guint64 base_address, guint32 length, gboolean is_64bit, struct CRowVariant *variant, const char *fmt, ...) {
proto_tree *tree;
proto_item *item;
va_list ap;
struct vtype_data *vt_type;
const char *modifier = "", *txt;
... | static int parse_VariantCol(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, guint64 base_address, guint32 length, gboolean is_64bit, struct CRowVariant *variant,
const char *fmt, ...) {
proto_tree *tree;
proto_item *item, *ti_type;
va_list ap;
struct v... | static int parse_VariantCol(tvbuff_t *tvb, int offset, proto_tree *parent_tree, guint64 base_address, guint32 length, gboolean is_64bit, struct CRowVariant *variant, const char *fmt, ...) {
proto_tree *tree;
proto_item *item;
va_list ap;
const char *modifier = "", *txt;
va_start(ap, fmt);
txt = ... | static int parse_VariantCol(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, guint64 base_address, guint32 length, gboolean is_64bit, struct CRowVariant *variant,
const char *fmt, ...) {
proto_tree *tree;
proto_item *item, *ti_type;
va_list ap;
const ch... | static int parse_VariantCol(tvbuff_t *tvb, int offset, proto_tree *parent_tree, guint64 base_address, guint32 length, gboolean is_64bit, struct CRowVariant *variant, const char *fmt, ...) {
proto_tree *tree;
proto_item *item;
va_list ap;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
const char *modi... | static int parse_VariantCol(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, guint64 base_address, guint32 length, gboolean is_64bit, struct CRowVariant *variant,
const char *fmt, ...) {
proto_tree *tree;
proto_item *item, *ti_type;
va_list ap;
/* PLACE... | -static int parse_VariantCol(tvbuff_t *tvb, int offset, proto_tree *parent_tree, guint64 base_address, guint32 length, gboolean is_64bit, struct CRowVariant *variant, const char *fmt, ...) {
+static int parse_VariantCol(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_tree *parent_tree, guint64 base_address, guint3... |
CVE-2018-18227 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-mswsp.c | parse_VariantColVector | static int parse_VariantColVector(tvbuff_t *tvb, int offset, proto_tree *tree, guint64 base_address, gboolean is_64bit, struct CRowVariant *variant) {
guint32 i = 0;
guint64 count = 0;
int buf_offset = 0;
proto_tree *sub_tree;
struct vtype_data *vt_list_type = vType_get_type((enum vType)(variant->vt... | static int parse_VariantColVector(tvbuff_t *tvb, int offset, proto_tree *tree, guint64 base_address, gboolean is_64bit, struct CRowVariant *variant, struct vtype_data *vt_list_type) {
guint32 i = 0;
guint64 count = 0;
int buf_offset = 0;
proto_tree *sub_tree;
wmem_strbuf_t *strbuf;
offset = pars... | static int parse_VariantColVector(tvbuff_t *tvb, int offset, proto_tree *tree, guint64 base_address, gboolean is_64bit, struct CRowVariant *variant) {
guint32 i = 0;
guint64 count = 0;
int buf_offset = 0;
proto_tree *sub_tree;
struct vtype_data *vt_list_type = vType_get_type((enum vType)(variant->vt... | static int parse_VariantColVector(tvbuff_t *tvb, int offset, proto_tree *tree, guint64 base_address, gboolean is_64bit, struct CRowVariant *variant, struct vtype_data *vt_list_type) {
guint32 i = 0;
guint64 count = 0;
int buf_offset = 0;
proto_tree *sub_tree;
wmem_strbuf_t *strbuf;
offset = pars... | static int parse_VariantColVector(tvbuff_t *tvb, int offset, proto_tree *tree, guint64 base_address, gboolean is_64bit, struct CRowVariant *variant) {
int buf_offset = 0;
proto_tree *sub_tree;
struct vtype_data *vt_list_type = vType_get_type((enum vType)(variant->vtype & 0x00FF));
wmem_strbuf_t *strbuf;... | static int parse_VariantColVector(tvbuff_t *tvb, int offset, proto_tree *tree, guint64 base_address, gboolean is_64bit, struct CRowVariant *variant, struct vtype_data *vt_list_type) {
int buf_offset = 0;
proto_tree *sub_tree;
wmem_strbuf_t *strbuf;
offset = parse_CRowVariantArrayInfo(tvb, offset, tree, ... | static int parse_VariantColVector(tvbuff_t *tvb, int offset, proto_tree *tree, guint64 base_address, gboolean is_64bit, struct CRowVariant *variant) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
int buf_offset = 0;
proto_tree *sub_tree;
struct vtype_data *vt_list_type = vType_get_type((enum vType)(var... | static int parse_VariantColVector(tvbuff_t *tvb, int offset, proto_tree *tree, guint64 base_address, gboolean is_64bit, struct CRowVariant *variant, struct vtype_data *vt_list_type) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
int buf_offset = 0;
proto_tree *sub_tree;
wmem_strbuf_t *strbuf;
offse... | -static int parse_VariantColVector(tvbuff_t *tvb, int offset, proto_tree *tree, guint64 base_address, gboolean is_64bit, struct CRowVariant *variant) {
+static int parse_VariantColVector(tvbuff_t *tvb, int offset, proto_tree *tree, guint64 base_address, gboolean is_64bit, struct CRowVariant *variant, struct vtype_data ... |
CVE-2018-18227 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-mswsp.c | proto_register_mswsp | void proto_register_mswsp(void) {
expert_module_t* expert_mswsp = NULL;
static hf_register_info hf[] = {
{
&hf_mswsp_hdr, {
"Header", "mswsp.hdr", FT_NONE, BASE_NONE, NULL, 0, "Message header", HFILL
}
}, {
&hf_mswsp_hdr_msg, {
... | void proto_register_mswsp(void) {
expert_module_t* expert_mswsp = NULL;
static hf_register_info hf[] = {
{
&hf_mswsp_hdr, {
"Header", "mswsp.hdr", FT_NONE, BASE_NONE, NULL, 0, "Message header", HFILL
}
}, {
&hf_mswsp_hdr_msg, {
... | void proto_register_mswsp(void) {
expert_module_t* expert_mswsp = NULL;
static hf_register_info hf[] = {
{
&hf_mswsp_hdr, {
"Header", "mswsp.hdr", FT_NONE, BASE_NONE, NULL, 0, "Message header", HFILL
}
}, {
&hf_mswsp_hdr_msg, {
... | void proto_register_mswsp(void) {
expert_module_t* expert_mswsp = NULL;
static hf_register_info hf[] = {
{
&hf_mswsp_hdr, {
"Header", "mswsp.hdr", FT_NONE, BASE_NONE, NULL, 0, "Message header", HFILL
}
}, {
&hf_mswsp_hdr_msg, {
... | void proto_register_mswsp(void) {
static gint *ett[] = {
&ett_mswsp, &ett_mswsp_hdr, &ett_mswsp_msg, &ett_mswsp_pad, &ett_mswsp_property_restriction, &ett_CRestrictionArray, &ett_CBaseStorageVariant, &ett_CBaseStorageVariant_Vector, &ett_CBaseStorageVariant_Array, &ett_CDbColId, &ett_GUID, &ett_CDbProp, &et... | void proto_register_mswsp(void) {
static gint *ett[] = {
&ett_mswsp, &ett_mswsp_hdr, &ett_mswsp_msg, &ett_mswsp_pad, &ett_mswsp_property_restriction, &ett_CRestrictionArray, &ett_CBaseStorageVariant, &ett_CBaseStorageVariant_Vector, &ett_CBaseStorageVariant_Array, &ett_CDbColId, &ett_GUID, &ett_CDbProp, &et... | void proto_register_mswsp(void) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
static gint *ett[] = {
&ett_mswsp, &ett_mswsp_hdr, &ett_mswsp_msg, &ett_mswsp_pad, &ett_mswsp_property_restriction, &ett_CRestrictionArray, &ett_CBaseStorageVariant, &ett_CBaseStorageVariant_Vector, &ett_CBaseStorageVariant_... | void proto_register_mswsp(void) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
static gint *ett[] = {
&ett_mswsp, &ett_mswsp_hdr, &ett_mswsp_msg, &ett_mswsp_pad, &ett_mswsp_property_restriction, &ett_CRestrictionArray, &ett_CBaseStorageVariant, &ett_CBaseStorageVariant_Vector, &ett_CBaseStorageVariant_... | void proto_register_mswsp(void) {
static gint *ett[] = {
&ett_mswsp, &ett_mswsp_hdr, &ett_mswsp_msg, &ett_mswsp_pad, &ett_mswsp_property_restriction, &ett_CRestrictionArray, &ett_CBaseStorageVariant, &ett_CBaseStorageVariant_Vector, &ett_CBaseStorageVariant_Array, &ett_CDbColId, &ett_GUID, &ett_CDbProp, ... |
CVE-2018-18954 | QEMU | https://github.com/qemu/qemu | hw/ppc/pnv_lpc.c | pnv_lpc_do_eccb | static void pnv_lpc_do_eccb(PnvLpcController *lpc, uint64_t cmd) {
unsigned int sz = (cmd & ECCB_CTL_SZ_MASK) >> ECCB_CTL_SZ_LSH;
uint32_t opb_addr = cmd & ECCB_CTL_ADDR_MASK;
uint8_t data[4];
bool success;
if (cmd & ECCB_CTL_READ) {
success = opb_read(lpc, opb_addr, data, sz);
if (s... | static void pnv_lpc_do_eccb(PnvLpcController *lpc, uint64_t cmd) {
unsigned int sz = (cmd & ECCB_CTL_SZ_MASK) >> ECCB_CTL_SZ_LSH;
uint32_t opb_addr = cmd & ECCB_CTL_ADDR_MASK;
uint8_t data[8];
bool success;
if (sz > sizeof(data)) {
qemu_log_mask(LOG_GUEST_ERROR, "ECCB: invalid operation at @... | static void pnv_lpc_do_eccb(PnvLpcController *lpc, uint64_t cmd) {
unsigned int sz = (cmd & ECCB_CTL_SZ_MASK) >> ECCB_CTL_SZ_LSH;
uint32_t opb_addr = cmd & ECCB_CTL_ADDR_MASK;
uint8_t data[4];
bool success;
if (cmd & ECCB_CTL_READ) {
success = opb_read(lpc, opb_addr, data, sz);
if (s... | static void pnv_lpc_do_eccb(PnvLpcController *lpc, uint64_t cmd) {
unsigned int sz = (cmd & ECCB_CTL_SZ_MASK) >> ECCB_CTL_SZ_LSH;
uint32_t opb_addr = cmd & ECCB_CTL_ADDR_MASK;
uint8_t data[8];
bool success;
if (sz > sizeof(data)) {
qemu_log_mask(LOG_GUEST_ERROR, "ECCB: invalid operation at @... | static void pnv_lpc_do_eccb(PnvLpcController *lpc, uint64_t cmd) {
unsigned int sz = (cmd & ECCB_CTL_SZ_MASK) >> ECCB_CTL_SZ_LSH;
uint32_t opb_addr = cmd & ECCB_CTL_ADDR_MASK;
uint8_t data[4];
bool success;
if (cmd & ECCB_CTL_READ) {
success = opb_read(lpc, opb_addr, data, sz);
if (s... | static void pnv_lpc_do_eccb(PnvLpcController *lpc, uint64_t cmd) {
unsigned int sz = (cmd & ECCB_CTL_SZ_MASK) >> ECCB_CTL_SZ_LSH;
uint32_t opb_addr = cmd & ECCB_CTL_ADDR_MASK;
uint8_t data[8];
bool success;
if (sz > sizeof(data)) {
qemu_log_mask(LOG_GUEST_ERROR, "ECCB: invalid operation at @... | static void pnv_lpc_do_eccb(PnvLpcController *lpc, uint64_t cmd) {
unsigned int sz = (cmd & ECCB_CTL_SZ_MASK) >> ECCB_CTL_SZ_LSH;
uint32_t opb_addr = cmd & ECCB_CTL_ADDR_MASK;
uint8_t data[4];
bool success;
if (cmd & ECCB_CTL_READ) {
success = opb_read(lpc, opb_addr, data, sz);
if (s... | static void pnv_lpc_do_eccb(PnvLpcController *lpc, uint64_t cmd) {
unsigned int sz = (cmd & ECCB_CTL_SZ_MASK) >> ECCB_CTL_SZ_LSH;
uint32_t opb_addr = cmd & ECCB_CTL_ADDR_MASK;
uint8_t data[8];
bool success;
if (sz > sizeof(data)) {
qemu_log_mask(LOG_GUEST_ERROR, "ECCB: invalid operation at @... | static void pnv_lpc_do_eccb(PnvLpcController *lpc, uint64_t cmd) {
unsigned int sz = (cmd & ECCB_CTL_SZ_MASK) >> ECCB_CTL_SZ_LSH;
uint32_t opb_addr = cmd & ECCB_CTL_ADDR_MASK;
- uint8_t data[4];
+ uint8_t data[8];
bool success;
+ if (sz > sizeof(data)) {
+ qemu_log_mask(LOG_GUEST_ERROR, ... |
CVE-2018-19591 | glibc | https://github.com/bminor/glibc | sysdeps/unix/sysv/linux/if_index.c | __if_nametoindex | unsigned int __if_nametoindex (const char *ifname) {
__set_errno (ENOSYS);
return 0;
struct ifreq ifr;
int fd = __opensock ();
if (fd < 0) {
return 0;
}
if (strlen (ifname) >= IFNAMSIZ) {
__set_errno (ENODEV);
return 0;
}
strncpy (ifr.ifr_name, ifname, sizeof ... | unsigned int __if_nametoindex (const char *ifname) {
__set_errno (ENOSYS);
return 0;
struct ifreq ifr;
if (strlen (ifname) >= IFNAMSIZ) {
__set_errno (ENODEV);
return 0;
}
strncpy (ifr.ifr_name, ifname, sizeof (ifr.ifr_name));
int fd = __opensock ();
if (fd < 0) {
... | unsigned int __if_nametoindex (const char *ifname) {
__set_errno (ENOSYS);
return 0;
struct ifreq ifr;
int fd = __opensock ();
if (fd < 0) {
return 0;
}
if (strlen (ifname) >= IFNAMSIZ) {
__set_errno (ENODEV);
return 0;
}
strncpy (ifr.ifr_name, ifname, sizeof ... | unsigned int __if_nametoindex (const char *ifname) {
__set_errno (ENOSYS);
return 0;
struct ifreq ifr;
if (strlen (ifname) >= IFNAMSIZ) {
__set_errno (ENODEV);
return 0;
}
strncpy (ifr.ifr_name, ifname, sizeof (ifr.ifr_name));
int fd = __opensock ();
if (fd < 0) {
... | unsigned int __if_nametoindex (const char *ifname) {
struct ifreq ifr;
int fd = __opensock ();
if (fd < 0) {
return 0;
}
if (strlen (ifname) >= IFNAMSIZ) {
return 0;
}
strncpy (ifr.ifr_name, ifname, sizeof (ifr.ifr_name));
if (__ioctl (fd, SIOCGIFDEX, &ifr) < 0) {
... | unsigned int __if_nametoindex (const char *ifname) {
struct ifreq ifr;
if (strlen (ifname) >= IFNAMSIZ) {
return 0;
}
strncpy (ifr.ifr_name, ifname, sizeof (ifr.ifr_name));
int fd = __opensock ();
if (fd < 0) {
return 0;
}
if (__ioctl (fd, SIOCGIFDEX, &ifr) < 0) {
... | unsigned int __if_nametoindex (const char *ifname) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
struct ifreq ifr;
int fd = __opensock ();
if (fd < 0) {
return 0;
}
if (strlen (ifname) >= IFNAMSIZ) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
return 0;
}
strncpy ... | unsigned int __if_nametoindex (const char *ifname) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
struct ifreq ifr;
if (strlen (ifname) >= IFNAMSIZ) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
return 0;
}
strncpy (ifr.ifr_name, ifname, sizeof (ifr.ifr_name));
int fd = __opensock... | unsigned int __if_nametoindex (const char *ifname) {
struct ifreq ifr;
+ if (strlen (ifname) >= IFNAMSIZ) {
+ return 0;
+ }
+ strncpy (ifr.ifr_name, ifname, sizeof (ifr.ifr_name));
int fd = __opensock ();
if (fd < 0) {
return 0;
}
- if (strlen (ifname) >= IFNAMSIZ) {
- ... |
CVE-2018-19622 | 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, old_offset;
guint8 field = 0;
const char *strval;
guint length;
guint count;
guint8 version = 0x80;
proto_item *ti = NULL;
proto_tree *mmse_tree = NULL;
... | 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, old_offset;
guint8 field = 0;
const char *strval;
guint length;
guint count;
guint8 version = 0x80;
proto_item *ti = NULL;
proto_tree *mmse_tree = NULL;
... | static void dissect_mmse(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 pdut, const char *message_type) {
guint offset;
guint8 field = 0;
ti = proto_tree_add_item(tree, proto_mmse, tvb, 0, -1, ENC_NA);
proto_item_append_text(ti, ", Type: %s", message_type);
mmse_tree = proto_item_add_su... | static void dissect_mmse(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 pdut, const char *message_type) {
guint offset, old_offset;
guint8 field = 0;
ti = proto_tree_add_item(tree, proto_mmse, tvb, 0, -1, ENC_NA);
proto_item_append_text(ti, ", Type: %s", message_type);
mmse_tree = proto... | static void dissect_mmse(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 pdut, const char *message_type) {
guint offset;
guint8 field = 0;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
ti = proto_tree_add_item(tree, proto_mmse, tvb, 0, -1, ENC_NA);
proto_item_append_text(ti, ", Type: %s"... | static void dissect_mmse(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 pdut, const char *message_type) {
guint offset, old_offset;
guint8 field = 0;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
ti = proto_tree_add_item(tree, proto_mmse, tvb, 0, -1, ENC_NA);
proto_item_append_text(ti, ... | static void dissect_mmse(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint8 pdut, const char *message_type) {
- guint offset;
+ guint offset, old_offset;
guint8 field = 0;
ti = proto_tree_add_item(tree, proto_mmse, tvb, 0, -1, ENC_NA);
proto_item_append_text(ti, ", Type: %s", message_type... |
CVE-2018-19622 | 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, 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, 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, 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, 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, packet_info *pinfo) {
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);
(*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) {
*byte_count = 1;
} else {
field = tvb_get_guintvar(tvb, offset, byte_count, pinfo, &ei_mmse_oversized_uintvar);
(*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) {
*byte_count = 1;
} else {
field = tvb_get_guintvar(tvb, offset, byte_count, pinfo, &e... | 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) {
*byte_count = 1;
} else {
field = tvb_get_guintvar(tvb, offset, byte_count, pinfo, &e... | 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) {
*byte_count = 1;
} else {
field = tvb_get_guintvar(tvb, offset, byte_count, pinfo, &ei_mmse_oversized_uintvar);
(*byte_c... |
CVE-2018-19623 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-lbmpdm.c | dissect_segment_ofstable | static int dissect_segment_ofstable(tvbuff_t * tvb, int offset, packet_info * pinfo, proto_tree * tree, lbmpdm_offset_table_t * * offset_table, int encoding) {
proto_item * subtree_item = NULL;
proto_tree * subtree = NULL;
int datalen = 0;
int seglen = 0;
int datalen_remaining = 0;
int ofs = 0;
... | static int dissect_segment_ofstable(tvbuff_t * tvb, int offset, packet_info * pinfo, proto_tree * tree, lbmpdm_offset_table_t * * offset_table, int encoding) {
proto_item * subtree_item = NULL;
proto_tree * subtree = NULL;
int datalen = 0;
int seglen = 0;
int ofs = 0;
int field_count = 0;
in... | static int dissect_segment_ofstable(tvbuff_t * tvb, int offset, packet_info * pinfo, proto_tree * tree, lbmpdm_offset_table_t * * offset_table, int encoding) {
proto_item * subtree_item = NULL;
proto_tree * subtree = NULL;
int datalen = 0;
int seglen = 0;
int datalen_remaining = 0;
int ofs = 0;
... | static int dissect_segment_ofstable(tvbuff_t * tvb, int offset, packet_info * pinfo, proto_tree * tree, lbmpdm_offset_table_t * * offset_table, int encoding) {
proto_item * subtree_item = NULL;
proto_tree * subtree = NULL;
int datalen = 0;
int seglen = 0;
int ofs = 0;
int field_count = 0;
in... | static int dissect_segment_ofstable(tvbuff_t * tvb, int offset, packet_info * pinfo, proto_tree * tree, lbmpdm_offset_table_t * * offset_table, int encoding) {
int datalen = 0;
int seglen = 0;
int datalen_remaining = 0;
int ofs = 0;
seglen = lbmpdm_get_segment_length(tvb, offset, encoding, &datalen)... | static int dissect_segment_ofstable(tvbuff_t * tvb, int offset, packet_info * pinfo, proto_tree * tree, lbmpdm_offset_table_t * * offset_table, int encoding) {
int datalen = 0;
int seglen = 0;
int ofs = 0;
seglen = lbmpdm_get_segment_length(tvb, offset, encoding, &datalen);
subtree_item = proto_tree... | static int dissect_segment_ofstable(tvbuff_t * tvb, int offset, packet_info * pinfo, proto_tree * tree, lbmpdm_offset_table_t * * offset_table, int encoding) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
int datalen = 0;
int seglen = 0;
int datalen_remaining = 0;
int ofs = 0;
/* PLACEHOLDER: D... | static int dissect_segment_ofstable(tvbuff_t * tvb, int offset, packet_info * pinfo, proto_tree * tree, lbmpdm_offset_table_t * * offset_table, int encoding) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
int datalen = 0;
int seglen = 0;
int ofs = 0;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
... | static int dissect_segment_ofstable(tvbuff_t * tvb, int offset, packet_info * pinfo, proto_tree * tree, lbmpdm_offset_table_t * * offset_table, int encoding) {
int datalen = 0;
int seglen = 0;
- int datalen_remaining = 0;
int ofs = 0;
seglen = lbmpdm_get_segment_length(tvb, offset, encoding, &da... |
CVE-2018-19624 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-pvfs2.c | dissect_pvfs2_getconfig_response | static int dissect_pvfs2_getconfig_response(tvbuff_t *tvb, proto_tree *parent_tree, int offset, packet_info *pinfo) {
guint32 i;
guint32 total_bytes = 0, total_config_bytes = 0, total_lines = 0;
guint32 bytes_processed = 0;
guint32 length_remaining = 0;
const char *ptr = NULL;
proto_tree *tree, ... | static int dissect_pvfs2_getconfig_response(tvbuff_t *tvb, proto_tree *parent_tree, int offset, packet_info *pinfo) {
guint32 i;
guint32 total_bytes = 0, total_config_bytes = 0, total_lines = 0;
guint32 bytes_processed = 0;
guint32 length_remaining = 0;
const char *ptr = NULL;
proto_tree *tree, ... | static int dissect_pvfs2_getconfig_response(tvbuff_t *tvb, proto_tree *parent_tree, int offset, packet_info *pinfo) {
guint32 i;
guint32 total_bytes = 0, total_config_bytes = 0, total_lines = 0;
guint32 bytes_processed = 0;
guint32 length_remaining = 0;
const char *ptr = NULL;
proto_tree *tree, ... | static int dissect_pvfs2_getconfig_response(tvbuff_t *tvb, proto_tree *parent_tree, int offset, packet_info *pinfo) {
guint32 i;
guint32 total_bytes = 0, total_config_bytes = 0, total_lines = 0;
guint32 bytes_processed = 0;
guint32 length_remaining = 0;
const char *ptr = NULL;
proto_tree *tree, ... | static int dissect_pvfs2_getconfig_response(tvbuff_t *tvb, proto_tree *parent_tree, int offset, packet_info *pinfo) {
tree = proto_tree_add_subtree(parent_tree, tvb, offset, 12, ett_pvfs_server_config, NULL, "Server Config");
total_bytes = tvb_get_letohl(tvb, offset);
proto_tree_add_item(tree, hf_pvfs_getco... | static int dissect_pvfs2_getconfig_response(tvbuff_t *tvb, proto_tree *parent_tree, int offset, packet_info *pinfo) {
tree = proto_tree_add_subtree(parent_tree, tvb, offset, 12, ett_pvfs_server_config, NULL, "Server Config");
total_bytes = tvb_get_letohl(tvb, offset);
proto_tree_add_item(tree, hf_pvfs_getco... | static int dissect_pvfs2_getconfig_response(tvbuff_t *tvb, proto_tree *parent_tree, int offset, packet_info *pinfo) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
tree = proto_tree_add_subtree(parent_tree, tvb, offset, 12, ett_pvfs_server_config, NULL, "Server Config");
total_bytes = tvb_get_letohl(tvb, of... | static int dissect_pvfs2_getconfig_response(tvbuff_t *tvb, proto_tree *parent_tree, int offset, packet_info *pinfo) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
tree = proto_tree_add_subtree(parent_tree, tvb, offset, 12, ett_pvfs_server_config, NULL, "Server Config");
total_bytes = tvb_get_letohl(tvb, of... | static int dissect_pvfs2_getconfig_response(tvbuff_t *tvb, proto_tree *parent_tree, int offset, packet_info *pinfo) {
tree = proto_tree_add_subtree(parent_tree, tvb, offset, 12, ett_pvfs_server_config, NULL, "Server Config");
total_bytes = tvb_get_letohl(tvb, offset);
proto_tree_add_item(tree, hf_pvfs_g... |
CVE-2018-19625 | Wireshark | https://github.com/wireshark/wireshark | epan/tvbuff_composite.c | composite_offset | static guint composite_offset(const tvbuff_t *tvb, const guint counter) {
const struct tvb_composite *composite_tvb = (const struct tvb_composite *) tvb;
const tvbuff_t *member = (const tvbuff_t *)composite_tvb->composite.tvbs->data;
return tvb_offset_from_real_beginning_counter(member, counter);
} | static guint composite_offset(const tvbuff_t *tvb, const guint counter) {
return counter;
} | static guint composite_offset(const tvbuff_t *tvb, const guint counter) {
const struct tvb_composite *composite_tvb = (const struct tvb_composite *) tvb;
const tvbuff_t *member = (const tvbuff_t *)composite_tvb->composite.tvbs->data;
return tvb_offset_from_real_beginning_counter(member, counter);
} | static guint composite_offset(const tvbuff_t *tvb, const guint counter) {
return counter;
} | static guint composite_offset(const tvbuff_t *tvb, const guint counter) {
const struct tvb_composite *composite_tvb = (const struct tvb_composite *) tvb;
const tvbuff_t *member = (const tvbuff_t *)composite_tvb->composite.tvbs->data;
return tvb_offset_from_real_beginning_counter(member, counter);
}
| static guint composite_offset(const tvbuff_t *tvb, const guint counter) {
return counter;
}
| static guint composite_offset(const tvbuff_t *tvb, const guint counter) {
const struct tvb_composite *composite_tvb = (const struct tvb_composite *) tvb;
const tvbuff_t *member = (const tvbuff_t *)composite_tvb->composite.tvbs->data;
return tvb_offset_from_real_beginning_counter(member, counter);
}
| static guint composite_offset(const tvbuff_t *tvb, const guint counter) {
return counter;
} | static guint composite_offset(const tvbuff_t *tvb, const guint counter) {
- const struct tvb_composite *composite_tvb = (const struct tvb_composite *) tvb;
- const tvbuff_t *member = (const tvbuff_t *)composite_tvb->composite.tvbs->data;
- return tvb_offset_from_real_beginning_counter(member, counter);
+ r... |
CVE-2018-19626 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-dcom.c | dissect_dcom_BSTR | int dissect_dcom_BSTR(tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep, int hfindex, gchar *pszStr, guint32 u32MaxStr) {
guint32 u32MaxCount;
guint32 u32ArraySize;
gint strStart, subStart, realOffset;
proto_item *sub_item;
proto_tree *sub_tree;
guin... | int dissect_dcom_BSTR(tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep, int hfindex, gchar *pszStr, guint32 u32MaxStr) {
guint32 u32MaxCount;
guint32 u32ArraySize;
gint strStart, subStart, realOffset;
proto_item *sub_item;
proto_tree *sub_tree;
guin... | int dissect_dcom_BSTR(tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep, int hfindex, gchar *pszStr, guint32 u32MaxStr) {
guint32 u32MaxCount;
guint32 u32ArraySize;
gint strStart, subStart, realOffset;
proto_item *sub_item;
proto_tree *sub_tree;
guin... | int dissect_dcom_BSTR(tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep, int hfindex, gchar *pszStr, guint32 u32MaxStr) {
guint32 u32MaxCount;
guint32 u32ArraySize;
gint strStart, subStart, realOffset;
proto_item *sub_item;
proto_tree *sub_tree;
guin... | int dissect_dcom_BSTR(tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep, int hfindex, gchar *pszStr, guint32 u32MaxStr) {
if ((guint32)offset + u32ArraySize*2 > G_MAXT) {
return offset;
}
}
| int dissect_dcom_BSTR(tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep, int hfindex, gchar *pszStr, guint32 u32MaxStr) {
if ((guint32)offset + u32ArraySize*2 > G_MAXT) {
pszStr[0] = 0;
return offset;
}
}
| int dissect_dcom_BSTR(tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep, int hfindex, gchar *pszStr, guint32 u32MaxStr) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if ((guint32)offset + u32ArraySize*2 > G_MAXT) {
return offset;
}
/* PLACEHOLDER: ... | int dissect_dcom_BSTR(tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep, int hfindex, gchar *pszStr, guint32 u32MaxStr) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if ((guint32)offset + u32ArraySize*2 > G_MAXT) {
pszStr[0] = 0;
return offset;
... | int dissect_dcom_BSTR(tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep, int hfindex, gchar *pszStr, guint32 u32MaxStr) {
if ((guint32)offset + u32ArraySize*2 > G_MAXT) {
+ pszStr[0] = 0;
return offset;
}
} |
CVE-2018-19627 | Wireshark | https://github.com/wireshark/wireshark | wiretap/vwr.c | vwr_read_s3_W_rec | static gboolean vwr_read_s3_W_rec(vwr_t *vwr, wtap_rec *record, Buffer *buf, const guint8 *rec, int rec_size, int IS_TX, int log_mode, int *err, gchar **err_info) {
guint8 *data_ptr;
int bytes_written = 0;
int i;
int stats_offset = 0;
const guint8 *s_start_ptr = NULL,*s_trail_ptr = NULL, *plcp_ptr, ... | static gboolean vwr_read_s3_W_rec(vwr_t *vwr, wtap_rec *record, Buffer *buf, const guint8 *rec, int rec_size, int IS_TX, int log_mode, int *err, gchar **err_info) {
guint8 *data_ptr;
int bytes_written = 0;
int i;
int stats_offset = 0;
const guint8 *s_start_ptr = NULL,*s_trail_ptr = NULL, *plcp_ptr, ... | static gboolean vwr_read_s3_W_rec(vwr_t *vwr, wtap_rec *record, Buffer *buf, const guint8 *rec, int rec_size, int IS_TX, int log_mode, int *err, gchar **err_info) {
guint8 *data_ptr;
int bytes_written = 0;
int i;
int stats_offset = 0;
const guint8 *s_start_ptr = NULL,*s_trail_ptr = NULL, *plcp_ptr, ... | static gboolean vwr_read_s3_W_rec(vwr_t *vwr, wtap_rec *record, Buffer *buf, const guint8 *rec, int rec_size, int IS_TX, int log_mode, int *err, gchar **err_info) {
guint8 *data_ptr;
int bytes_written = 0;
int i;
int stats_offset = 0;
const guint8 *s_start_ptr = NULL,*s_trail_ptr = NULL, *plcp_ptr, ... | static gboolean vwr_read_s3_W_rec(vwr_t *vwr, wtap_rec *record, Buffer *buf, const guint8 *rec, int rec_size, int IS_TX, int log_mode, int *err, gchar **err_info) {
if (IS_TX == 3) {
} else {
if (IS_TX == 4) {
stats_offset = OCTO_RF_MOD_ACTUAL_LEN;
} else {
stats_offset =... | static gboolean vwr_read_s3_W_rec(vwr_t *vwr, wtap_rec *record, Buffer *buf, const guint8 *rec, int rec_size, int IS_TX, int log_mode, int *err, gchar **err_info) {
if (IS_TX == 3) {
} else {
if (IS_TX == 4) {
stats_offset = OCTO_RF_MOD_ACTUAL_LEN;
} else {
stats_offset =... | static gboolean vwr_read_s3_W_rec(vwr_t *vwr, wtap_rec *record, Buffer *buf, const guint8 *rec, int rec_size, int IS_TX, int log_mode, int *err, gchar **err_info) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (IS_TX == 3) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
} else {
if (IS_TX ==... | static gboolean vwr_read_s3_W_rec(vwr_t *vwr, wtap_rec *record, Buffer *buf, const guint8 *rec, int rec_size, int IS_TX, int log_mode, int *err, gchar **err_info) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (IS_TX == 3) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
} else {
if (IS_TX ==... | static gboolean vwr_read_s3_W_rec(vwr_t *vwr, wtap_rec *record, Buffer *buf, const guint8 *rec, int rec_size, int IS_TX, int log_mode, int *err, gchar **err_info) {
if (IS_TX == 3) {
} else {
if (IS_TX == 4) {
stats_offset = OCTO_RF_MOD_ACTUAL_LEN;
} else {
stats_o... |
CVE-2018-19628 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-zbee-zcl-lighting.c | decode_color_temperature | static void decode_color_temperature(gchar *s, guint16 value) {
g_snprintf(s, ITEM_LABEL_LENGTH, "%d [Mired] (%d [K])", value, 1000000/value);
return;
} | static void decode_color_temperature(gchar *s, guint16 value) {
if (value == 0) {
g_snprintf(s, ITEM_LABEL_LENGTH, "%u [Mired]", value);
} else {
g_snprintf(s, ITEM_LABEL_LENGTH, "%u [Mired] (%u [K])", value, 1000000/value);
}
return;
} | static void decode_color_temperature(gchar *s, guint16 value) {
g_snprintf(s, ITEM_LABEL_LENGTH, "%d [Mired] (%d [K])", value, 1000000/value);
return;
} | static void decode_color_temperature(gchar *s, guint16 value) {
if (value == 0) {
g_snprintf(s, ITEM_LABEL_LENGTH, "%u [Mired]", value);
} else {
g_snprintf(s, ITEM_LABEL_LENGTH, "%u [Mired] (%u [K])", value, 1000000/value);
}
return;
} | static void decode_color_temperature(gchar *s, guint16 value) {
g_snprintf(s, ITEM_LABEL_LENGTH, "%d [Mired] (%d [K])", value, 1000000/value);
return;
}
| static void decode_color_temperature(gchar *s, guint16 value) {
if (value == 0) {
g_snprintf(s, ITEM_LABEL_LENGTH, "%u [Mired]", value);
} else {
g_snprintf(s, ITEM_LABEL_LENGTH, "%u [Mired] (%u [K])", value, 1000000/value);
}
return;
}
| static void decode_color_temperature(gchar *s, guint16 value) {
g_snprintf(s, ITEM_LABEL_LENGTH, "%d [Mired] (%d [K])", value, 1000000/value);
return;
}
| static void decode_color_temperature(gchar *s, guint16 value) {
if (value == 0) {
g_snprintf(s, ITEM_LABEL_LENGTH, "%u [Mired]", value);
} else {
g_snprintf(s, ITEM_LABEL_LENGTH, "%u [Mired] (%u [K])", value, 1000000/value);
}
return;
} | static void decode_color_temperature(gchar *s, guint16 value) {
- g_snprintf(s, ITEM_LABEL_LENGTH, "%d [Mired] (%d [K])", value, 1000000/value);
+ if (value == 0) {
+ g_snprintf(s, ITEM_LABEL_LENGTH, "%u [Mired]", value);
+ } else {
+ g_snprintf(s, ITEM_LABEL_LENGTH, "%u [Mired] (%u [K])", value... |
CVE-2018-1999010 | FFmpeg | https://github.com/FFmpeg/FFmpeg | libavformat/mms.c | ff_mms_asf_header_parser | int ff_mms_asf_header_parser(MMSContext *mms) {
uint8_t *p = mms->asf_header;
uint8_t *end;
int flags, stream_id;
mms->stream_num = 0;
if (mms->asf_header_size < sizeof(ff_asf_guid) * 2 + 22 || memcmp(p, ff_asf_header, sizeof(ff_asf_guid))) {
av_log(NULL, AV_LOG_ERROR, "Corrupt stream (inval... | int ff_mms_asf_header_parser(MMSContext *mms) {
uint8_t *p = mms->asf_header;
uint8_t *end;
int flags, stream_id;
mms->stream_num = 0;
if (mms->asf_header_size < sizeof(ff_asf_guid) * 2 + 22 || memcmp(p, ff_asf_header, sizeof(ff_asf_guid))) {
av_log(NULL, AV_LOG_ERROR, "Corrupt stream (inval... | int ff_mms_asf_header_parser(MMSContext *mms) {
uint8_t *p = mms->asf_header;
uint8_t *end;
int flags, stream_id;
mms->stream_num = 0;
if (mms->asf_header_size < sizeof(ff_asf_guid) * 2 + 22 || memcmp(p, ff_asf_header, sizeof(ff_asf_guid))) {
av_log(NULL, AV_LOG_ERROR, "Corrupt stream (inval... | int ff_mms_asf_header_parser(MMSContext *mms) {
uint8_t *p = mms->asf_header;
uint8_t *end;
int flags, stream_id;
mms->stream_num = 0;
if (mms->asf_header_size < sizeof(ff_asf_guid) * 2 + 22 || memcmp(p, ff_asf_header, sizeof(ff_asf_guid))) {
av_log(NULL, AV_LOG_ERROR, "Corrupt stream (inval... | int ff_mms_asf_header_parser(MMSContext *mms) {
uint8_t *p = mms->asf_header;
if (mms->asf_header_size < sizeof(ff_asf_guid) * 2 + 22 || memcmp(p, ff_asf_header, sizeof(ff_asf_guid))) {
return AVERROR_VALIDDATA;
}
end = mms->asf_header + mms->asf_header_size;
p += sizeof(ff_asf_guid) + 14;
... | int ff_mms_asf_header_parser(MMSContext *mms) {
uint8_t *p = mms->asf_header;
if (mms->asf_header_size < sizeof(ff_asf_guid) * 2 + 22 || memcmp(p, ff_asf_header, sizeof(ff_asf_guid))) {
return AVERROR_VALIDDATA;
}
end = mms->asf_header + mms->asf_header_size;
p += sizeof(ff_asf_guid) + 14;
... | int ff_mms_asf_header_parser(MMSContext *mms) {
uint8_t *p = mms->asf_header;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (mms->asf_header_size < sizeof(ff_asf_guid) * 2 + 22 || memcmp(p, ff_asf_header, sizeof(ff_asf_guid))) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
return AVERROR_VAL... | int ff_mms_asf_header_parser(MMSContext *mms) {
uint8_t *p = mms->asf_header;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (mms->asf_header_size < sizeof(ff_asf_guid) * 2 + 22 || memcmp(p, ff_asf_header, sizeof(ff_asf_guid))) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
return AVERROR_VAL... | int ff_mms_asf_header_parser(MMSContext *mms) {
uint8_t *p = mms->asf_header;
if (mms->asf_header_size < sizeof(ff_asf_guid) * 2 + 22 || memcmp(p, ff_asf_header, sizeof(ff_asf_guid))) {
return AVERROR_VALIDDATA;
}
end = mms->asf_header + mms->asf_header_size;
p += sizeof(ff_asf_guid) ... |
CVE-2018-1999011 | FFmpeg | https://github.com/FFmpeg/FFmpeg | libavformat/asfdec_o.c | parse_video_info | static int parse_video_info(AVIOContext *pb, AVStream *st) {
uint16_t size_asf;
uint32_t size_bmp;
unsigned int tag;
st->codecpar->width = avio_rl32(pb);
st->codecpar->height = avio_rl32(pb);
avio_skip(pb, 1);
size_asf = avio_rl16(pb);
tag = ff_get_bmp_header(pb, st, &size_bmp);
st->... | static int parse_video_info(AVIOContext *pb, AVStream *st) {
uint16_t size_asf;
uint32_t size_bmp;
unsigned int tag;
st->codecpar->width = avio_rl32(pb);
st->codecpar->height = avio_rl32(pb);
avio_skip(pb, 1);
size_asf = avio_rl16(pb);
tag = ff_get_bmp_header(pb, st, &size_bmp);
st->... | static int parse_video_info(AVIOContext *pb, AVStream *st) {
uint16_t size_asf;
uint32_t size_bmp;
unsigned int tag;
st->codecpar->width = avio_rl32(pb);
st->codecpar->height = avio_rl32(pb);
avio_skip(pb, 1);
size_asf = avio_rl16(pb);
tag = ff_get_bmp_header(pb, st, &size_bmp);
st->... | static int parse_video_info(AVIOContext *pb, AVStream *st) {
uint16_t size_asf;
uint32_t size_bmp;
unsigned int tag;
st->codecpar->width = avio_rl32(pb);
st->codecpar->height = avio_rl32(pb);
avio_skip(pb, 1);
size_asf = avio_rl16(pb);
tag = ff_get_bmp_header(pb, st, &size_bmp);
st->... | static int parse_video_info(AVIOContext *pb, AVStream *st) {
st->codecpar->width = avio_rl32(pb);
st->codecpar->height = avio_rl32(pb);
avio_skip(pb, 1);
size_asf = avio_rl16(pb);
size_bmp = FFMAX(size_asf, size_bmp);
if (size_bmp > BMP_HEADER_SIZE) {
int ret;
st->codecpar->extra... | static int parse_video_info(AVIOContext *pb, AVStream *st) {
st->codecpar->width = avio_rl32(pb);
st->codecpar->height = avio_rl32(pb);
avio_skip(pb, 1);
size_asf = avio_rl16(pb);
size_bmp = FFMAX(size_asf, size_bmp);
if (size_bmp > BMP_HEADER_SIZE && size_bmp < T_MAX - AV_PUT_BUFFER_PADDG_SIZE)... | static int parse_video_info(AVIOContext *pb, AVStream *st) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
st->codecpar->width = avio_rl32(pb);
st->codecpar->height = avio_rl32(pb);
avio_skip(pb, 1);
size_asf = avio_rl16(pb);
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
size_bmp = FFMAX(siz... | static int parse_video_info(AVIOContext *pb, AVStream *st) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
st->codecpar->width = avio_rl32(pb);
st->codecpar->height = avio_rl32(pb);
avio_skip(pb, 1);
size_asf = avio_rl16(pb);
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
size_bmp = FFMAX(siz... | static int parse_video_info(AVIOContext *pb, AVStream *st) {
st->codecpar->width = avio_rl32(pb);
st->codecpar->height = avio_rl32(pb);
avio_skip(pb, 1);
size_asf = avio_rl16(pb);
size_bmp = FFMAX(size_asf, size_bmp);
- if (size_bmp > BMP_HEADER_SIZE) {
+ if (size_bmp > BMP_HEADER_SIZE &... |
CVE-2018-1999012 | FFmpeg | https://github.com/FFmpeg/FFmpeg | libavformat/pva.c | read_part_of_packet | static int read_part_of_packet(AVFormatContext *s, int64_t *pts, int *len, int *strid, int read_packet) {
AVIOContext *pb = s->pb;
PVAContext *pvactx = s->priv_data;
int syncword, streamid, reserved, flags, length, pts_flag;
int64_t pva_pts = AV_NOPTS_VALUE, startpos;
int ret;
recover:
startpos ... | static int read_part_of_packet(AVFormatContext *s, int64_t *pts, int *len, int *strid, int read_packet) {
AVIOContext *pb = s->pb;
PVAContext *pvactx = s->priv_data;
int syncword, streamid, reserved, flags, length, pts_flag;
int64_t pva_pts = AV_NOPTS_VALUE, startpos;
int ret;
recover:
startpos ... | static int read_part_of_packet(AVFormatContext *s, int64_t *pts, int *len, int *strid, int read_packet) {
AVIOContext *pb = s->pb;
PVAContext *pvactx = s->priv_data;
int syncword, streamid, reserved, flags, length, pts_flag;
int64_t pva_pts = AV_NOPTS_VALUE, startpos;
int ret;
recover:
startpos ... | static int read_part_of_packet(AVFormatContext *s, int64_t *pts, int *len, int *strid, int read_packet) {
AVIOContext *pb = s->pb;
PVAContext *pvactx = s->priv_data;
int syncword, streamid, reserved, flags, length, pts_flag;
int64_t pva_pts = AV_NOPTS_VALUE, startpos;
int ret;
recover:
startpos ... | static int read_part_of_packet(AVFormatContext *s, int64_t *pts, int *len, int *strid, int read_packet) {
AVIOContext *pb = s->pb;
recover:
startpos = avio_tell(pb);
syncword = avio_rb16(pb);
streamid = avio_r8(pb);
avio_r8(pb);
reserved = avio_r8(pb);
flags = avio_r8(pb);
length = avio_... | static int read_part_of_packet(AVFormatContext *s, int64_t *pts, int *len, int *strid, int read_packet) {
AVIOContext *pb = s->pb;
recover:
startpos = avio_tell(pb);
syncword = avio_rb16(pb);
streamid = avio_r8(pb);
avio_r8(pb);
reserved = avio_r8(pb);
flags = avio_r8(pb);
length = avio_... | static int read_part_of_packet(AVFormatContext *s, int64_t *pts, int *len, int *strid, int read_packet) {
AVIOContext *pb = s->pb;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
recover:
startpos = avio_tell(pb);
syncword = avio_rb16(pb);
streamid = avio_r8(pb);
avio_r8(pb);
reserved = avio_r... | static int read_part_of_packet(AVFormatContext *s, int64_t *pts, int *len, int *strid, int read_packet) {
AVIOContext *pb = s->pb;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
recover:
startpos = avio_tell(pb);
syncword = avio_rb16(pb);
streamid = avio_r8(pb);
avio_r8(pb);
reserved = avio_r... | static int read_part_of_packet(AVFormatContext *s, int64_t *pts, int *len, int *strid, int read_packet) {
AVIOContext *pb = s->pb;
recover:
startpos = avio_tell(pb);
syncword = avio_rb16(pb);
streamid = avio_r8(pb);
avio_r8(pb);
reserved = avio_r8(pb);
flags = avio_r8(pb);
leng... |
CVE-2018-1999013 | FFmpeg | https://github.com/FFmpeg/FFmpeg | libavformat/rmdec.c | rm_read_multi | static int rm_read_multi(AVFormatContext *s, AVIOContext *pb, AVStream *st, char *mime) {
int number_of_streams = avio_rb16(pb);
int number_of_mdpr;
int i, ret;
unsigned size2;
for (i = 0; i<number_of_streams; i++)
avio_rb16(pb);
number_of_mdpr = avio_rb16(pb);
if (number_of_mdpr != ... | static int rm_read_multi(AVFormatContext *s, AVIOContext *pb, AVStream *st, char *mime) {
int number_of_streams = avio_rb16(pb);
int number_of_mdpr;
int i, ret;
unsigned size2;
for (i = 0; i<number_of_streams; i++)
avio_rb16(pb);
number_of_mdpr = avio_rb16(pb);
if (number_of_mdpr != ... | static int rm_read_multi(AVFormatContext *s, AVIOContext *pb, AVStream *st, char *mime) {
int number_of_streams = avio_rb16(pb);
int number_of_mdpr;
int i, ret;
unsigned size2;
for (i = 0; i<number_of_streams; i++)
avio_rb16(pb);
number_of_mdpr = avio_rb16(pb);
if (number_of_mdpr != ... | static int rm_read_multi(AVFormatContext *s, AVIOContext *pb, AVStream *st, char *mime) {
int number_of_streams = avio_rb16(pb);
int number_of_mdpr;
int i, ret;
unsigned size2;
for (i = 0; i<number_of_streams; i++)
avio_rb16(pb);
number_of_mdpr = avio_rb16(pb);
if (number_of_mdpr != ... | static int rm_read_multi(AVFormatContext *s, AVIOContext *pb, AVStream *st, char *mime) {
int number_of_streams = avio_rb16(pb);
for (i = 0; i<number_of_streams; i++)
avio_rb16(pb);
number_of_mdpr = avio_rb16(pb);
if (number_of_mdpr != 1) {
avpriv_request_sample(s, "MLTI with multiple (%... | static int rm_read_multi(AVFormatContext *s, AVIOContext *pb, AVStream *st, char *mime) {
int number_of_streams = avio_rb16(pb);
for (i = 0; i<number_of_streams; i++)
avio_rb16(pb);
number_of_mdpr = avio_rb16(pb);
if (number_of_mdpr != 1) {
avpriv_request_sample(s, "MLTI with multiple (%... | static int rm_read_multi(AVFormatContext *s, AVIOContext *pb, AVStream *st, char *mime) {
int number_of_streams = avio_rb16(pb);
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
for (i = 0; i<number_of_streams; i++)
avio_rb16(pb);
number_of_mdpr = avio_rb16(pb);
if (number_of_mdpr != 1) {
... | static int rm_read_multi(AVFormatContext *s, AVIOContext *pb, AVStream *st, char *mime) {
int number_of_streams = avio_rb16(pb);
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
for (i = 0; i<number_of_streams; i++)
avio_rb16(pb);
number_of_mdpr = avio_rb16(pb);
if (number_of_mdpr != 1) {
... | static int rm_read_multi(AVFormatContext *s, AVIOContext *pb, AVStream *st, char *mime) {
int number_of_streams = avio_rb16(pb);
for (i = 0; i<number_of_streams; i++)
avio_rb16(pb);
number_of_mdpr = avio_rb16(pb);
if (number_of_mdpr != 1) {
avpriv_request_sample(s, "MLTI with mult... |
CVE-2018-1999014 | FFmpeg | https://github.com/FFmpeg/FFmpeg | libavformat/mxfdec.c | mxf_parse_structural_metadata | static int mxf_parse_structural_metadata(MXFContext *mxf) {
MXFPackage *material_package = NULL;
int i, j, k, ret;
av_log(mxf->fc, AV_LOG_TRACE, "metadata sets count %d\n", mxf->metadata_sets_count);
for (i = 0; i < mxf->packages_count; i++) {
material_package = mxf_resolve_strong_ref(mxf, &mxf-... | static int mxf_parse_structural_metadata(MXFContext *mxf) {
MXFPackage *material_package = NULL;
int i, j, k, ret;
av_log(mxf->fc, AV_LOG_TRACE, "metadata sets count %d\n", mxf->metadata_sets_count);
for (i = 0; i < mxf->packages_count; i++) {
material_package = mxf_resolve_strong_ref(mxf, &mxf-... | static int mxf_parse_structural_metadata(MXFContext *mxf) {
MXFPackage *material_package = NULL;
int i, j, k, ret;
av_log(mxf->fc, AV_LOG_TRACE, "metadata sets count %d\n", mxf->metadata_sets_count);
for (i = 0; i < mxf->packages_count; i++) {
material_package = mxf_resolve_strong_ref(mxf, &mxf-... | static int mxf_parse_structural_metadata(MXFContext *mxf) {
MXFPackage *material_package = NULL;
int i, j, k, ret;
av_log(mxf->fc, AV_LOG_TRACE, "metadata sets count %d\n", mxf->metadata_sets_count);
for (i = 0; i < mxf->packages_count; i++) {
material_package = mxf_resolve_strong_ref(mxf, &mxf-... | static int mxf_parse_structural_metadata(MXFContext *mxf) {
MXFPackage *material_package = NULL;
av_log(mxf->fc, AV_LOG_TRACE, "metadata sets count %d\n", mxf->metadata_sets_count);
for (i = 0; i < mxf->packages_count; i++) {
material_package = mxf_resolve_strong_ref(mxf, &mxf->packages_refs[i], Mat... | static int mxf_parse_structural_metadata(MXFContext *mxf) {
MXFPackage *material_package = NULL;
av_log(mxf->fc, AV_LOG_TRACE, "metadata sets count %d\n", mxf->metadata_sets_count);
for (i = 0; i < mxf->packages_count; i++) {
material_package = mxf_resolve_strong_ref(mxf, &mxf->packages_refs[i], Mat... | static int mxf_parse_structural_metadata(MXFContext *mxf) {
MXFPackage *material_package = NULL;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
av_log(mxf->fc, AV_LOG_TRACE, "metadata sets count %d\n", mxf->metadata_sets_count);
for (i = 0; i < mxf->packages_count; i++) {
material_package = mxf_r... | static int mxf_parse_structural_metadata(MXFContext *mxf) {
MXFPackage *material_package = NULL;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
av_log(mxf->fc, AV_LOG_TRACE, "metadata sets count %d\n", mxf->metadata_sets_count);
for (i = 0; i < mxf->packages_count; i++) {
material_package = mxf_r... | static int mxf_parse_structural_metadata(MXFContext *mxf) {
MXFPackage *material_package = NULL;
av_log(mxf->fc, AV_LOG_TRACE, "metadata sets count %d\n", mxf->metadata_sets_count);
for (i = 0; i < mxf->packages_count; i++) {
material_package = mxf_resolve_strong_ref(mxf, &mxf->packages_refs[i]... |
CVE-2018-1999015 | FFmpeg | https://github.com/FFmpeg/FFmpeg | libavcodec/mpeg4videodec.c | read_quant_matrix_ext | static void read_quant_matrix_ext(MpegEncContext *s, GetBitContext *gb) {
int i, j, v;
if (get_bits1(gb)) {
for (i = 0; i < 64; i++) {
v = get_bits(gb, 8);
j = s->idsp.idct_permutation[ff_zigzag_direct[i]];
s->intra_matrix[j] = v;
s->chroma_intra_matrix[j]... | static int read_quant_matrix_ext(MpegEncContext *s, GetBitContext *gb) {
int i, j, v;
if (get_bits1(gb)) {
if (get_bits_left(gb) < 64*8) {
return AVERROR_VALIDDATA;
}
for (i = 0; i < 64; i++) {
v = get_bits(gb, 8);
j = s->idsp.idct_permutation[ff_zigza... | static void read_quant_matrix_ext(MpegEncContext *s, GetBitContext *gb) {
int i, j, v;
if (get_bits1(gb)) {
for (i = 0; i < 64; i++) {
v = get_bits(gb, 8);
j = s->idsp.idct_permutation[ff_zigzag_direct[i]];
s->intra_matrix[j] = v;
s->chroma_intra_matrix[j]... | static int read_quant_matrix_ext(MpegEncContext *s, GetBitContext *gb) {
int i, j, v;
if (get_bits1(gb)) {
if (get_bits_left(gb) < 64*8) {
return AVERROR_VALIDDATA;
}
for (i = 0; i < 64; i++) {
v = get_bits(gb, 8);
j = s->idsp.idct_permutation[ff_zigza... | static void read_quant_matrix_ext(MpegEncContext *s, GetBitContext *gb) {
if (get_bits1(gb)) {
for (i = 0; i < 64; i++) {
v = get_bits(gb, 8);
s->intra_matrix[j] = v;
s->chroma_intra_matrix[j] = v;
}
}
if (get_bits1(gb)) {
for (i = 0; i < 64; i++) ... | static int read_quant_matrix_ext(MpegEncContext *s, GetBitContext *gb) {
if (get_bits1(gb)) {
if (get_bits_left(gb) < 64*8) {
return AVERROR_VALIDDATA;
}
for (i = 0; i < 64; i++) {
v = get_bits(gb, 8);
s->intra_matrix[j] = v;
s->chroma_intra_ma... | static void read_quant_matrix_ext(MpegEncContext *s, GetBitContext *gb) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (get_bits1(gb)) {
for (i = 0; i < 64; i++) {
v = get_bits(gb, 8);
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
s->intra_matrix[j] = v;
s->ch... | static int read_quant_matrix_ext(MpegEncContext *s, GetBitContext *gb) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (get_bits1(gb)) {
if (get_bits_left(gb) < 64*8) {
return AVERROR_VALIDDATA;
}
for (i = 0; i < 64; i++) {
v = get_bits(gb, 8);
/* PLACEHOLD... | -static void read_quant_matrix_ext(MpegEncContext *s, GetBitContext *gb) {
+static int read_quant_matrix_ext(MpegEncContext *s, GetBitContext *gb) {
if (get_bits1(gb)) {
+ if (get_bits_left(gb) < 64*8) {
+ return AVERROR_VALIDDATA;
+ }
for (i = 0; i < 64; i++) {
v = g... |
CVE-2018-20815 | QEMU | https://github.com/qemu/qemu | device_tree.c | load_device_tree | void *load_device_tree(const char *filename_path, int *sizep) {
int dt_size;
int dt_file_load_size;
int ret;
void *fdt = NULL;
*sizep = 0;
dt_size = get_image_size(filename_path);
if (dt_size < 0) {
error_report("Unable to get size of device tree file '%s'", filename_path);
g... | void *load_device_tree(const char *filename_path, int *sizep) {
int dt_size;
int dt_file_load_size;
int ret;
void *fdt = NULL;
*sizep = 0;
dt_size = get_image_size(filename_path);
if (dt_size < 0) {
error_report("Unable to get size of device tree file '%s'", filename_path);
g... | void *load_device_tree(const char *filename_path, int *sizep) {
int dt_size;
int dt_file_load_size;
int ret;
void *fdt = NULL;
*sizep = 0;
dt_size = get_image_size(filename_path);
if (dt_size < 0) {
error_report("Unable to get size of device tree file '%s'", filename_path);
g... | void *load_device_tree(const char *filename_path, int *sizep) {
int dt_size;
int dt_file_load_size;
int ret;
void *fdt = NULL;
*sizep = 0;
dt_size = get_image_size(filename_path);
if (dt_size < 0) {
error_report("Unable to get size of device tree file '%s'", filename_path);
g... | void *load_device_tree(const char *filename_path, int *sizep) {
dt_size = get_image_size(filename_path);
if (dt_size < 0) {
goto fail;
}
dt_size += 10000;
dt_size *= 2;
fdt = g_malloc0(dt_size);
dt_file_load_size = load_image(filename_path, fdt);
if (dt_file_load_size < 0) {
... | void *load_device_tree(const char *filename_path, int *sizep) {
dt_size = get_image_size(filename_path);
if (dt_size < 0) {
goto fail;
}
dt_size += 10000;
dt_size *= 2;
fdt = g_malloc0(dt_size);
dt_file_load_size = load_image_size(filename_path, fdt, dt_size);
if (dt_file_load_si... | void *load_device_tree(const char *filename_path, int *sizep) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
dt_size = get_image_size(filename_path);
if (dt_size < 0) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
goto fail;
}
dt_size += 10000;
dt_size *= 2;
fdt = g_malloc0(dt_... | void *load_device_tree(const char *filename_path, int *sizep) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
dt_size = get_image_size(filename_path);
if (dt_size < 0) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
goto fail;
}
dt_size += 10000;
dt_size *= 2;
fdt = g_malloc0(dt_... | void *load_device_tree(const char *filename_path, int *sizep) {
dt_size = get_image_size(filename_path);
if (dt_size < 0) {
goto fail;
}
dt_size += 10000;
dt_size *= 2;
fdt = g_malloc0(dt_size);
- dt_file_load_size = load_image(filename_path, fdt);
+ dt_file_load_size = loa... |
CVE-2018-5335 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-wcp.c | wcp_uncompress | static tvbuff_t *wcp_uncompress( tvbuff_t *src_tvb, int offset, packet_info *pinfo, proto_tree *tree) {
proto_tree *cd_tree, *sub_tree;
proto_item *cd_item, *ti;
int len, i;
int cnt = tvb_reported_length( src_tvb)-1;
guint8 *dst, *src, *buf_start, *buf_end, comp_flag_bits = 0;
guint16 data_offse... | static tvbuff_t *wcp_uncompress( tvbuff_t *src_tvb, int offset, packet_info *pinfo, proto_tree *tree) {
proto_tree *cd_tree, *sub_tree;
proto_item *cd_item, *ti;
int len, i;
int cnt = tvb_reported_length( src_tvb)-1;
guint8 *dst, *src, *buf_start, *buf_end, comp_flag_bits = 0;
guint16 data_offse... | static tvbuff_t *wcp_uncompress( tvbuff_t *src_tvb, int offset, packet_info *pinfo, proto_tree *tree, circuit_type ctype, guint32 circuit_id) {
proto_tree *cd_tree, *sub_tree;
proto_item *cd_item, *ti;
int len, i;
int cnt = tvb_reported_length( src_tvb)-1;
guint8 *dst, *src, *buf_start, *buf_end, co... | static tvbuff_t *wcp_uncompress( tvbuff_t *src_tvb, int offset, packet_info *pinfo, proto_tree *tree, circuit_type ctype, guint32 circuit_id) {
proto_tree *cd_tree, *sub_tree;
proto_item *cd_item, *ti;
int len, i;
int cnt = tvb_reported_length( src_tvb)-1;
guint8 *dst, *src, *buf_start, *buf_end, co... | static tvbuff_t *wcp_uncompress( tvbuff_t *src_tvb, int offset, packet_info *pinfo, proto_tree *tree) {
int cnt = tvb_reported_length( src_tvb)-1;
buf_ptr = get_wcp_window_ptr(pinfo);
buf_start = buf_ptr->buffer;
buf_end = buf_start + MAX_W_BUF_LEN;
cd_item = proto_tree_add_item(tree, hf_wcp_compres... | static tvbuff_t *wcp_uncompress( tvbuff_t *src_tvb, int offset, packet_info *pinfo, proto_tree *tree) {
int cnt = tvb_reported_length( src_tvb)-1;
buf_ptr = get_wcp_window_ptr(pinfo);
buf_start = buf_ptr->buffer;
buf_end = buf_start + MAX_W_BUF_LEN;
cd_item = proto_tree_add_item(tree, hf_wcp_compres... | static tvbuff_t *wcp_uncompress( tvbuff_t *src_tvb, int offset, packet_info *pinfo, proto_tree *tree, circuit_type ctype, guint32 circuit_id) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
int cnt = tvb_reported_length( src_tvb)-1;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
buf_ptr = get_wcp_window_... | static tvbuff_t *wcp_uncompress( tvbuff_t *src_tvb, int offset, packet_info *pinfo, proto_tree *tree, circuit_type ctype, guint32 circuit_id) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
int cnt = tvb_reported_length( src_tvb)-1;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
buf_ptr = get_wcp_window_... | static tvbuff_t *wcp_uncompress( tvbuff_t *src_tvb, int offset, packet_info *pinfo, proto_tree *tree) {
int cnt = tvb_reported_length( src_tvb)-1;
buf_ptr = get_wcp_window_ptr(pinfo);
buf_start = buf_ptr->buffer;
buf_end = buf_start + MAX_W_BUF_LEN;
cd_item = proto_tree_add_item(tree, hf_wcp_c... |
CVE-2018-5336 | Wireshark | https://github.com/wireshark/wireshark | epan/tvbparse.c | cond_hash | static int cond_hash(tvbparse_t* tt, const int offset, const tvbparse_wanted_t* wanted, tvbparse_elem_t** tok) {
int key_len;
gchar* key = NULL;
tvbparse_elem_t* key_elem = NULL;
tvbparse_wanted_t* value_wanted = NULL;
int value_len;
tvbparse_elem_t* value_elem = NULL;
int tot_len;
tvbpa... | static int cond_hash(tvbparse_t* tt, const int offset, const tvbparse_wanted_t* wanted, tvbparse_elem_t** tok) {
int key_len;
gchar* key = NULL;
tvbparse_elem_t* key_elem = NULL;
tvbparse_wanted_t* value_wanted = NULL;
int value_len;
tvbparse_elem_t* value_elem = NULL;
int tot_len;
tvbpa... | static int cond_hash(tvbparse_t* tt, const int offset, const tvbparse_wanted_t* wanted, tvbparse_elem_t** tok) {
int key_len;
gchar* key = NULL;
tvbparse_elem_t* key_elem = NULL;
tvbparse_wanted_t* value_wanted = NULL;
int value_len;
tvbparse_elem_t* value_elem = NULL;
int tot_len;
tvbpa... | static int cond_hash(tvbparse_t* tt, const int offset, const tvbparse_wanted_t* wanted, tvbparse_elem_t** tok) {
int key_len;
gchar* key = NULL;
tvbparse_elem_t* key_elem = NULL;
tvbparse_wanted_t* value_wanted = NULL;
int value_len;
tvbparse_elem_t* value_elem = NULL;
int tot_len;
tvbpa... | static int cond_hash(tvbparse_t* tt, const int offset, const tvbparse_wanted_t* wanted, tvbparse_elem_t** tok) {
tvbparse_elem_t* key_elem = NULL;
tvbparse_elem_t* value_elem = NULL;
if ( offset > tt->end_offset ) {
return -1;
}
if (++tt->recursion_depth > TVBPARSE_MAX_RECURSION_DEPTH) {
... | static int cond_hash(tvbparse_t* tt, const int offset, const tvbparse_wanted_t* wanted, tvbparse_elem_t** tok) {
tvbparse_elem_t* key_elem = NULL;
tvbparse_elem_t* value_elem = NULL;
if ( offset > tt->end_offset ) {
return -1;
}
if (++tt->recursion_depth > TVBPARSE_MAX_RECURSION_DEPTH) {
... | static int cond_hash(tvbparse_t* tt, const int offset, const tvbparse_wanted_t* wanted, tvbparse_elem_t** tok) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
tvbparse_elem_t* key_elem = NULL;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
tvbparse_elem_t* value_elem = NULL;
/* PLACEHOLDER: DO NOT DE... | static int cond_hash(tvbparse_t* tt, const int offset, const tvbparse_wanted_t* wanted, tvbparse_elem_t** tok) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
tvbparse_elem_t* key_elem = NULL;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
tvbparse_elem_t* value_elem = NULL;
/* PLACEHOLDER: DO NOT DE... | static int cond_hash(tvbparse_t* tt, const int offset, const tvbparse_wanted_t* wanted, tvbparse_elem_t** tok) {
tvbparse_elem_t* key_elem = NULL;
tvbparse_elem_t* value_elem = NULL;
if ( offset > tt->end_offset ) {
return -1;
}
if (++tt->recursion_depth > TVBPARSE_MAX_RECURSION_DEPTH... |
CVE-2018-5336 | Wireshark | https://github.com/wireshark/wireshark | epan/tvbparse.c | cond_one_of | static int cond_one_of(tvbparse_t* tt, const int offset, const tvbparse_wanted_t * wanted, tvbparse_elem_t** tok) {
guint i;
if (TVBPARSE_DEBUG & TVBPARSE_DEBUG_ONEOF) {
ws_g_warning("cond_one_of: START");
}
if ( offset > tt->end_offset ) {
return -1;
}
if (++tt->recursion_depth ... | static int cond_one_of(tvbparse_t* tt, const int offset, const tvbparse_wanted_t * wanted, tvbparse_elem_t** tok) {
guint i;
if (TVBPARSE_DEBUG & TVBPARSE_DEBUG_ONEOF) {
ws_g_warning("cond_one_of: START");
}
if ( offset > tt->end_offset ) {
return -1;
}
if (++tt->recursion_depth ... | static int cond_one_of(tvbparse_t* tt, const int offset, const tvbparse_wanted_t * wanted, tvbparse_elem_t** tok) {
guint i;
if (TVBPARSE_DEBUG & TVBPARSE_DEBUG_ONEOF) {
g_warning("cond_one_of: START");
}
if ( offset > tt->end_offset ) {
return -1;
}
if (++tt->recursion_depth > T... | static int cond_one_of(tvbparse_t* tt, const int offset, const tvbparse_wanted_t * wanted, tvbparse_elem_t** tok) {
guint i;
if (TVBPARSE_DEBUG & TVBPARSE_DEBUG_ONEOF) {
g_warning("cond_one_of: START");
}
if ( offset > tt->end_offset ) {
return -1;
}
if (++tt->recursion_depth > T... | static int cond_one_of(tvbparse_t* tt, const int offset, const tvbparse_wanted_t * wanted, tvbparse_elem_t** tok) {
if ( offset > tt->end_offset ) {
return -1;
}
if (++tt->recursion_depth > TVBPARSE_MAX_RECURSION_DEPTH) {
return -1;
}
for(i=0; i < wanted->control.elems->len; i++) {
... | static int cond_one_of(tvbparse_t* tt, const int offset, const tvbparse_wanted_t * wanted, tvbparse_elem_t** tok) {
if ( offset > tt->end_offset ) {
return -1;
}
if (++tt->recursion_depth > TVBPARSE_MAX_RECURSION_DEPTH) {
return -1;
}
for(i=0; i < wanted->control.elems->len; i++) {
... | static int cond_one_of(tvbparse_t* tt, const int offset, const tvbparse_wanted_t * wanted, tvbparse_elem_t** tok) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if ( offset > tt->end_offset ) {
return -1;
}
if (++tt->recursion_depth > TVBPARSE_MAX_RECURSION_DEPTH) {
return -1;
}
... | static int cond_one_of(tvbparse_t* tt, const int offset, const tvbparse_wanted_t * wanted, tvbparse_elem_t** tok) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if ( offset > tt->end_offset ) {
return -1;
}
if (++tt->recursion_depth > TVBPARSE_MAX_RECURSION_DEPTH) {
return -1;
}
... | static int cond_one_of(tvbparse_t* tt, const int offset, const tvbparse_wanted_t * wanted, tvbparse_elem_t** tok) {
if ( offset > tt->end_offset ) {
return -1;
}
if (++tt->recursion_depth > TVBPARSE_MAX_RECURSION_DEPTH) {
return -1;
}
for(i=0; i < wanted->control.elems->len; ... |
CVE-2018-5336 | Wireshark | https://github.com/wireshark/wireshark | epan/tvbparse.c | cond_seq | static int cond_seq(tvbparse_t* tt, int offset, const tvbparse_wanted_t * wanted, tvbparse_elem_t** tok) {
guint i;
int len = 0;
int start = offset;
tvbparse_elem_t* ret_tok = NULL;
if (TVBPARSE_DEBUG & TVBPARSE_DEBUG_SEQ) {
ws_g_warning("cond_seq: START");
}
if ( offset > tt->end_of... | static int cond_seq(tvbparse_t* tt, int offset, const tvbparse_wanted_t * wanted, tvbparse_elem_t** tok) {
guint i;
int len = 0;
int start = offset;
tvbparse_elem_t* ret_tok = NULL;
if (TVBPARSE_DEBUG & TVBPARSE_DEBUG_SEQ) {
ws_g_warning("cond_seq: START");
}
if ( offset > tt->end_of... | static int cond_seq(tvbparse_t* tt, int offset, const tvbparse_wanted_t * wanted, tvbparse_elem_t** tok) {
guint i;
int len = 0;
int start = offset;
tvbparse_elem_t* ret_tok = NULL;
if (TVBPARSE_DEBUG & TVBPARSE_DEBUG_SEQ) {
g_warning("cond_seq: START");
}
if ( offset > tt->end_offse... | static int cond_seq(tvbparse_t* tt, int offset, const tvbparse_wanted_t * wanted, tvbparse_elem_t** tok) {
guint i;
int len = 0;
int start = offset;
tvbparse_elem_t* ret_tok = NULL;
if (TVBPARSE_DEBUG & TVBPARSE_DEBUG_SEQ) {
g_warning("cond_seq: START");
}
if ( offset > tt->end_offse... | static int cond_seq(tvbparse_t* tt, int offset, const tvbparse_wanted_t * wanted, tvbparse_elem_t** tok) {
tvbparse_elem_t* ret_tok = NULL;
if ( offset > tt->end_offset ) {
return -1;
}
if (++tt->recursion_depth > TVBPARSE_MAX_RECURSION_DEPTH) {
return -1;
}
for(i=0; i < wanted->... | static int cond_seq(tvbparse_t* tt, int offset, const tvbparse_wanted_t * wanted, tvbparse_elem_t** tok) {
tvbparse_elem_t* ret_tok = NULL;
if ( offset > tt->end_offset ) {
return -1;
}
if (++tt->recursion_depth > TVBPARSE_MAX_RECURSION_DEPTH) {
return -1;
}
for(i=0; i < wanted->... | static int cond_seq(tvbparse_t* tt, int offset, const tvbparse_wanted_t * wanted, tvbparse_elem_t** tok) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
tvbparse_elem_t* ret_tok = NULL;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if ( offset > tt->end_offset ) {
return -1;
}
if (++tt->... | static int cond_seq(tvbparse_t* tt, int offset, const tvbparse_wanted_t * wanted, tvbparse_elem_t** tok) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
tvbparse_elem_t* ret_tok = NULL;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if ( offset > tt->end_offset ) {
return -1;
}
if (++tt->... | static int cond_seq(tvbparse_t* tt, int offset, const tvbparse_wanted_t * wanted, tvbparse_elem_t** tok) {
tvbparse_elem_t* ret_tok = NULL;
if ( offset > tt->end_offset ) {
return -1;
}
if (++tt->recursion_depth > TVBPARSE_MAX_RECURSION_DEPTH) {
return -1;
}
for(i=0; i <... |
CVE-2018-5336 | Wireshark | https://github.com/wireshark/wireshark | epan/tvbparse.c | cond_some | static int cond_some(tvbparse_t* tt, int offset, const tvbparse_wanted_t * wanted, tvbparse_elem_t** tok) {
guint got_so_far = 0;
int start = offset;
tvbparse_elem_t* ret_tok = NULL;
if (TVBPARSE_DEBUG & TVBPARSE_DEBUG_SOME) {
ws_g_warning("cond_some: START");
}
if ( offset > tt->end_off... | static int cond_some(tvbparse_t* tt, int offset, const tvbparse_wanted_t * wanted, tvbparse_elem_t** tok) {
guint got_so_far = 0;
int start = offset;
tvbparse_elem_t* ret_tok = NULL;
if (TVBPARSE_DEBUG & TVBPARSE_DEBUG_SOME) {
ws_g_warning("cond_some: START");
}
if ( offset > tt->end_off... | static int cond_some(tvbparse_t* tt, int offset, const tvbparse_wanted_t * wanted, tvbparse_elem_t** tok) {
guint got_so_far = 0;
int start = offset;
tvbparse_elem_t* ret_tok = NULL;
if (TVBPARSE_DEBUG & TVBPARSE_DEBUG_SOME) {
g_warning("cond_some: START");
}
if ( offset > tt->end_offset... | static int cond_some(tvbparse_t* tt, int offset, const tvbparse_wanted_t * wanted, tvbparse_elem_t** tok) {
guint got_so_far = 0;
int start = offset;
tvbparse_elem_t* ret_tok = NULL;
if (TVBPARSE_DEBUG & TVBPARSE_DEBUG_SOME) {
g_warning("cond_some: START");
}
if ( offset > tt->end_offset... | static int cond_some(tvbparse_t* tt, int offset, const tvbparse_wanted_t * wanted, tvbparse_elem_t** tok) {
tvbparse_elem_t* ret_tok = NULL;
if ( offset > tt->end_offset ) {
return -1;
}
if (++tt->recursion_depth > TVBPARSE_MAX_RECURSION_DEPTH) {
return -1;
}
if ( wanted->min == ... | static int cond_some(tvbparse_t* tt, int offset, const tvbparse_wanted_t * wanted, tvbparse_elem_t** tok) {
tvbparse_elem_t* ret_tok = NULL;
if ( offset > tt->end_offset ) {
return -1;
}
if (++tt->recursion_depth > TVBPARSE_MAX_RECURSION_DEPTH) {
return -1;
}
if ( wanted->min == ... | static int cond_some(tvbparse_t* tt, int offset, const tvbparse_wanted_t * wanted, tvbparse_elem_t** tok) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
tvbparse_elem_t* ret_tok = NULL;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if ( offset > tt->end_offset ) {
return -1;
}
if (++tt-... | static int cond_some(tvbparse_t* tt, int offset, const tvbparse_wanted_t * wanted, tvbparse_elem_t** tok) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
tvbparse_elem_t* ret_tok = NULL;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if ( offset > tt->end_offset ) {
return -1;
}
if (++tt-... | static int cond_some(tvbparse_t* tt, int offset, const tvbparse_wanted_t * wanted, tvbparse_elem_t** tok) {
tvbparse_elem_t* ret_tok = NULL;
if ( offset > tt->end_offset ) {
return -1;
}
if (++tt->recursion_depth > TVBPARSE_MAX_RECURSION_DEPTH) {
return -1;
}
if ( wanted... |
CVE-2018-5336 | Wireshark | https://github.com/wireshark/wireshark | epan/tvbparse.c | cond_until | static int cond_until(tvbparse_t* tt, const int offset, const tvbparse_wanted_t * wanted, tvbparse_elem_t** tok) {
tvbparse_elem_t* new_elem = NULL;
int len = 0;
int target_offset = offset;
if (TVBPARSE_DEBUG & TVBPARSE_DEBUG_UNTIL) {
ws_g_warning("cond_until: START");
}
if ( offset + wa... | static int cond_until(tvbparse_t* tt, const int offset, const tvbparse_wanted_t * wanted, tvbparse_elem_t** tok) {
tvbparse_elem_t* new_elem = NULL;
int len = 0;
int target_offset = offset;
if (TVBPARSE_DEBUG & TVBPARSE_DEBUG_UNTIL) {
ws_g_warning("cond_until: START");
}
if ( offset + wa... | static int cond_until(tvbparse_t* tt, const int offset, const tvbparse_wanted_t * wanted, tvbparse_elem_t** tok) {
tvbparse_elem_t* new_elem = NULL;
int len = 0;
int target_offset = offset;
if (TVBPARSE_DEBUG & TVBPARSE_DEBUG_UNTIL) {
g_warning("cond_until: START");
}
if ( offset + wante... | static int cond_until(tvbparse_t* tt, const int offset, const tvbparse_wanted_t * wanted, tvbparse_elem_t** tok) {
tvbparse_elem_t* new_elem = NULL;
int len = 0;
int target_offset = offset;
if (TVBPARSE_DEBUG & TVBPARSE_DEBUG_UNTIL) {
g_warning("cond_until: START");
}
if ( offset + wante... | static int cond_until(tvbparse_t* tt, const int offset, const tvbparse_wanted_t * wanted, tvbparse_elem_t** tok) {
tvbparse_elem_t* new_elem = NULL;
int target_offset = offset;
if (++tt->recursion_depth > TVBPARSE_MAX_RECURSION_DEPTH) {
return -1;
}
do {
len = wanted->control.until.s... | static int cond_until(tvbparse_t* tt, const int offset, const tvbparse_wanted_t * wanted, tvbparse_elem_t** tok) {
tvbparse_elem_t* new_elem = NULL;
int target_offset = offset;
if (++tt->recursion_depth > TVBPARSE_MAX_RECURSION_DEPTH) {
return -1;
}
do {
len = wanted->control.until.s... | static int cond_until(tvbparse_t* tt, const int offset, const tvbparse_wanted_t * wanted, tvbparse_elem_t** tok) {
tvbparse_elem_t* new_elem = NULL;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
int target_offset = offset;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (++tt->recursion_depth > TVB... | static int cond_until(tvbparse_t* tt, const int offset, const tvbparse_wanted_t * wanted, tvbparse_elem_t** tok) {
tvbparse_elem_t* new_elem = NULL;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
int target_offset = offset;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (++tt->recursion_depth > TVB... | static int cond_until(tvbparse_t* tt, const int offset, const tvbparse_wanted_t * wanted, tvbparse_elem_t** tok) {
tvbparse_elem_t* new_elem = NULL;
int target_offset = offset;
if (++tt->recursion_depth > TVBPARSE_MAX_RECURSION_DEPTH) {
return -1;
}
do {
len = wanted->control... |
CVE-2018-5683 | QEMU | https://github.com/qemu/qemu | hw/display/vga.c | vga_draw_text | static void vga_draw_text(VGACommonState *s, int full_update) {
DisplaySurface *surface = qemu_console_surface(s->con);
int cx, cy, cheight, cw, ch, cattr, height, width, ch_attr;
int cx_min, cx_max, linesize, x_incr, line, line1;
uint32_t offset, fgcol, bgcol, v, cursor_offset;
uint8_t *d1, *d, *sr... | static void vga_draw_text(VGACommonState *s, int full_update) {
DisplaySurface *surface = qemu_console_surface(s->con);
int cx, cy, cheight, cw, ch, cattr, height, width, ch_attr;
int cx_min, cx_max, linesize, x_incr, line, line1;
uint32_t offset, fgcol, bgcol, v, cursor_offset;
uint8_t *d1, *d, *sr... | static void vga_draw_text(VGACommonState *s, int full_update) {
DisplaySurface *surface = qemu_console_surface(s->con);
int cx, cy, cheight, cw, ch, cattr, height, width, ch_attr;
int cx_min, cx_max, linesize, x_incr, line, line1;
uint32_t offset, fgcol, bgcol, v, cursor_offset;
uint8_t *d1, *d, *sr... | static void vga_draw_text(VGACommonState *s, int full_update) {
DisplaySurface *surface = qemu_console_surface(s->con);
int cx, cy, cheight, cw, ch, cattr, height, width, ch_attr;
int cx_min, cx_max, linesize, x_incr, line, line1;
uint32_t offset, fgcol, bgcol, v, cursor_offset;
uint8_t *d1, *d, *sr... | static void vga_draw_text(VGACommonState *s, int full_update) {
v = sr(s, VGA_SEQ_CHARACTER_MAP);
if (offset != s->font_offsets[0]) {
full_update = 1;
}
if (offset != s->font_offsets[1]) {
full_update = 1;
}
if (s->plane_updated & (1 << 2) || s->has_chain4_alias) {
full_u... | static void vga_draw_text(VGACommonState *s, int full_update) {
v = sr(s, VGA_SEQ_CHARACTER_MAP);
if (offset != s->font_offsets[0]) {
full_update = 1;
}
if (offset != s->font_offsets[1]) {
full_update = 1;
}
if (s->plane_updated & (1 << 2) || s->has_chain4_alias) {
full_u... | static void vga_draw_text(VGACommonState *s, int full_update) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
v = sr(s, VGA_SEQ_CHARACTER_MAP);
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (offset != s->font_offsets[0]) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
full_update = 1;
... | static void vga_draw_text(VGACommonState *s, int full_update) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
v = sr(s, VGA_SEQ_CHARACTER_MAP);
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (offset != s->font_offsets[0]) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
full_update = 1;
... | static void vga_draw_text(VGACommonState *s, int full_update) {
v = sr(s, VGA_SEQ_CHARACTER_MAP);
if (offset != s->font_offsets[0]) {
full_update = 1;
}
if (offset != s->font_offsets[1]) {
full_update = 1;
}
if (s->plane_updated & (1 << 2) || s->has_chain4_alias) {
... |
CVE-2018-6392 | FFmpeg | https://github.com/FFmpeg/FFmpeg | libavfilter/vf_transpose.c | config_props_output | static int config_props_output(AVFilterLink *outlink) {
AVFilterContext *ctx = outlink->src;
TransContext *s = ctx->priv;
AVFilterLink *inlink = ctx->inputs[0];
const AVPixFmtDescriptor *desc_out = av_pix_fmt_desc_get(outlink->format);
const AVPixFmtDescriptor *desc_in = av_pix_fmt_desc_get(inlink->... | static int config_props_output(AVFilterLink *outlink) {
AVFilterContext *ctx = outlink->src;
TransContext *s = ctx->priv;
AVFilterLink *inlink = ctx->inputs[0];
const AVPixFmtDescriptor *desc_out = av_pix_fmt_desc_get(outlink->format);
const AVPixFmtDescriptor *desc_in = av_pix_fmt_desc_get(inlink->... | static int config_props_output(AVFilterLink *outlink) {
AVFilterContext *ctx = outlink->src;
TransContext *s = ctx->priv;
AVFilterLink *inlink = ctx->inputs[0];
const AVPixFmtDescriptor *desc_out = av_pix_fmt_desc_get(outlink->format);
const AVPixFmtDescriptor *desc_in = av_pix_fmt_desc_get(inlink->... | static int config_props_output(AVFilterLink *outlink) {
AVFilterContext *ctx = outlink->src;
TransContext *s = ctx->priv;
AVFilterLink *inlink = ctx->inputs[0];
const AVPixFmtDescriptor *desc_out = av_pix_fmt_desc_get(outlink->format);
const AVPixFmtDescriptor *desc_in = av_pix_fmt_desc_get(inlink->... | static int config_props_output(AVFilterLink *outlink) {
AVFilterLink *inlink = ctx->inputs[0];
const AVPixFmtDescriptor *desc_out = av_pix_fmt_desc_get(outlink->format);
const AVPixFmtDescriptor *desc_in = av_pix_fmt_desc_get(inlink->format);
s->vsub = desc_in->log2_chroma_h;
av_image_fill_max_pixst... | static int config_props_output(AVFilterLink *outlink) {
AVFilterLink *inlink = ctx->inputs[0];
const AVPixFmtDescriptor *desc_out = av_pix_fmt_desc_get(outlink->format);
const AVPixFmtDescriptor *desc_in = av_pix_fmt_desc_get(inlink->format);
s->vsub = desc_in->log2_chroma_h;
s->planes = desc_in->nb... | static int config_props_output(AVFilterLink *outlink) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
AVFilterLink *inlink = ctx->inputs[0];
const AVPixFmtDescriptor *desc_out = av_pix_fmt_desc_get(outlink->format);
const AVPixFmtDescriptor *desc_in = av_pix_fmt_desc_get(inlink->format);
/* PLACEHOL... | static int config_props_output(AVFilterLink *outlink) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
AVFilterLink *inlink = ctx->inputs[0];
const AVPixFmtDescriptor *desc_out = av_pix_fmt_desc_get(outlink->format);
const AVPixFmtDescriptor *desc_in = av_pix_fmt_desc_get(inlink->format);
/* PLACEHOL... | static int config_props_output(AVFilterLink *outlink) {
AVFilterLink *inlink = ctx->inputs[0];
const AVPixFmtDescriptor *desc_out = av_pix_fmt_desc_get(outlink->format);
const AVPixFmtDescriptor *desc_in = av_pix_fmt_desc_get(inlink->format);
s->vsub = desc_in->log2_chroma_h;
+ s->planes = desc_... |
CVE-2018-6392 | FFmpeg | https://github.com/FFmpeg/FFmpeg | libavfilter/vf_transpose.c | filter_slice | static int filter_slice(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) {
TransContext *s = ctx->priv;
ThreadData *td = arg;
AVFrame *out = td->out;
AVFrame *in = td->in;
int plane;
for (plane = 0; out->data[plane]; plane++) {
int hsub = plane == 1 || plane == 2 ? s->hsub : 0;
... | static int filter_slice(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) {
TransContext *s = ctx->priv;
ThreadData *td = arg;
AVFrame *out = td->out;
AVFrame *in = td->in;
int plane;
for (plane = 0; plane < s->planes; plane++) {
int hsub = plane == 1 || plane == 2 ? s->hsub : 0;
... | static int filter_slice(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) {
TransContext *s = ctx->priv;
ThreadData *td = arg;
AVFrame *out = td->out;
AVFrame *in = td->in;
int plane;
for (plane = 0; out->data[plane]; plane++) {
int hsub = plane == 1 || plane == 2 ? s->hsub : 0;
... | static int filter_slice(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) {
TransContext *s = ctx->priv;
ThreadData *td = arg;
AVFrame *out = td->out;
AVFrame *in = td->in;
int plane;
for (plane = 0; plane < s->planes; plane++) {
int hsub = plane == 1 || plane == 2 ? s->hsub : 0;
... | static int filter_slice(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) {
TransContext *s = ctx->priv;
AVFrame *in = td->in;
int plane;
for (plane = 0; out->data[plane]; plane++) {
int hsub = plane == 1 || plane == 2 ? s->hsub : 0;
int vsub = plane == 1 || plane == 2 ? s->vsub :... | static int filter_slice(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) {
TransContext *s = ctx->priv;
AVFrame *in = td->in;
int plane;
for (plane = 0; plane < s->planes; plane++) {
int hsub = plane == 1 || plane == 2 ? s->hsub : 0;
int vsub = plane == 1 || plane == 2 ? s->vsub ... | static int filter_slice(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) {
TransContext *s = ctx->priv;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
AVFrame *in = td->in;
int plane;
for (plane = 0; out->data[plane]; plane++) {
int hsub = plane == 1 || plane == 2 ? s->hsub : 0;
... | static int filter_slice(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) {
TransContext *s = ctx->priv;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
AVFrame *in = td->in;
int plane;
for (plane = 0; plane < s->planes; plane++) {
int hsub = plane == 1 || plane == 2 ? s->hsub : 0;
... | static int filter_slice(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) {
TransContext *s = ctx->priv;
AVFrame *in = td->in;
int plane;
- for (plane = 0; out->data[plane]; plane++) {
+ for (plane = 0; plane < s->planes; plane++) {
int hsub = plane == 1 || plane == 2 ? s->hsub : 0... |
CVE-2018-6551 | glibc | https://github.com/bminor/glibc | malloc/malloc.c | _int_memalign | static void * _int_memalign (mstate av, size_t alignment, size_t bytes) {
TERNAL_SIZE_T nb;
char *m;
mchunkptr p;
char *brk;
mchunkptr newp;
TERNAL_SIZE_T newsize;
TERNAL_SIZE_T leadsize;
mchunkptr remainder;
unsigned long remainder_size;
TERNAL_SIZE_T size;
checked_request2s... | static void * _int_memalign (mstate av, size_t alignment, size_t bytes) {
TERNAL_SIZE_T nb;
char *m;
mchunkptr p;
char *brk;
mchunkptr newp;
TERNAL_SIZE_T newsize;
TERNAL_SIZE_T leadsize;
mchunkptr remainder;
unsigned long remainder_size;
TERNAL_SIZE_T size;
checked_request2s... | static void * _int_memalign (mstate av, size_t alignment, size_t bytes) {
TERNAL_SIZE_T nb;
char *m;
mchunkptr p;
char *brk;
mchunkptr newp;
TERNAL_SIZE_T newsize;
TERNAL_SIZE_T leadsize;
mchunkptr remainder;
unsigned long remainder_size;
TERNAL_SIZE_T size;
checked_request2s... | static void * _int_memalign (mstate av, size_t alignment, size_t bytes) {
TERNAL_SIZE_T nb;
char *m;
mchunkptr p;
char *brk;
mchunkptr newp;
TERNAL_SIZE_T newsize;
TERNAL_SIZE_T leadsize;
mchunkptr remainder;
unsigned long remainder_size;
TERNAL_SIZE_T size;
checked_request2s... | static void * _int_memalign (mstate av, size_t alignment, size_t bytes) {
checked_request2size (bytes, nb);
m = (char *) (_int_malloc (av, nb + alignment + MSIZE));
if (m == 0) {
return 0;
}
p = mem2chunk (m);
if ((((unsigned long) (m)) % alignment) != 0) {
brk = (char *) mem2chu... | static void * _int_memalign (mstate av, size_t alignment, size_t bytes) {
checked_request2size (bytes, nb);
if (nb > SIZE_MAX - alignment - MSIZE) {
__set_errno (ENOMEM);
return 0;
}
m = (char *) (_int_malloc (av, nb + alignment + MSIZE));
if (m == 0) {
return 0;
}
p ... | static void * _int_memalign (mstate av, size_t alignment, size_t bytes) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
checked_request2size (bytes, nb);
m = (char *) (_int_malloc (av, nb + alignment + MSIZE));
if (m == 0) {
return 0;
}
p = mem2chunk (m);
if ((((unsigned long) (m)) %... | static void * _int_memalign (mstate av, size_t alignment, size_t bytes) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
checked_request2size (bytes, nb);
if (nb > SIZE_MAX - alignment - MSIZE) {
__set_errno (ENOMEM);
return 0;
}
m = (char *) (_int_malloc (av, nb + alignment + MSIZE))... | static void * _int_memalign (mstate av, size_t alignment, size_t bytes) {
checked_request2size (bytes, nb);
+ if (nb > SIZE_MAX - alignment - MSIZE) {
+ __set_errno (ENOMEM);
+ return 0;
+ }
m = (char *) (_int_malloc (av, nb + alignment + MSIZE));
if (m == 0) {
return 0;
... |
CVE-2018-6621 | FFmpeg | https://github.com/FFmpeg/FFmpeg | libavcodec/utvideodec.c | decode_frame | static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) {
const uint8_t *buf = avpkt->data;
int buf_size = avpkt->size;
UtvideoContext *c = avctx->priv_data;
int i, j;
const uint8_t *plane_start[5];
int plane_size, max_slice_size = 0, slice_start, slice_end, s... | static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) {
const uint8_t *buf = avpkt->data;
int buf_size = avpkt->size;
UtvideoContext *c = avctx->priv_data;
int i, j;
const uint8_t *plane_start[5];
int plane_size, max_slice_size = 0, slice_start, slice_end, s... | static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) {
const uint8_t *buf = avpkt->data;
int buf_size = avpkt->size;
UtvideoContext *c = avctx->priv_data;
int i, j;
const uint8_t *plane_start[5];
int plane_size, max_slice_size = 0, slice_start, slice_end, s... | static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) {
const uint8_t *buf = avpkt->data;
int buf_size = avpkt->size;
UtvideoContext *c = avctx->priv_data;
int i, j;
const uint8_t *plane_start[5];
int plane_size, max_slice_size = 0, slice_start, slice_end, s... | static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) {
if (c->pack) {
} else if (c->pro) {
for (i = 0; i < c->planes; i++) {
slice_start = 0;
for (j = 0; j < c->slices; j++) {
slice_end = bytestream2_get_le32u(&gb);
... | static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) {
if (c->pack) {
} else if (c->pro) {
for (i = 0; i < c->planes; i++) {
slice_start = 0;
for (j = 0; j < c->slices; j++) {
slice_end = bytestream2_get_le32u(&gb);
... | static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (c->pro) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
for (i = 0; i < c->planes; i++) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
slic... | static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (c->pro) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
for (i = 0; i < c->planes; i++) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
slic... | static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) {
if (c->pack) {
} else if (c->pro) {
for (i = 0; i < c->planes; i++) {
slice_start = 0;
for (j = 0; j < c->slices; j++) {
slice_end = bytestream2_get_le32u(&gb);
- ... |
CVE-2018-6794 | Suricata | https://github.com/OISF/suricata | src/detect.c | DetectFlow | static void DetectFlow(ThreadVars *tv, DetectEngineCtx *de_ctx, DetectEngineThreadCtx *det_ctx, Packet *p) {
if ((p->flags & PKT_NOPACKET_SPECTION) || (PACKET_TEST_ACTION(p, ACTION_DROP))) {
const int pass = ((p->flow->flags & FLOW_NOPACKET_SPECTION));
const AppProto alproto = FlowGetAppProtocol(p->... | static void DetectFlow(ThreadVars *tv, DetectEngineCtx *de_ctx, DetectEngineThreadCtx *det_ctx, Packet *p) {
if (p->flags & PKT_NOPACKET_SPECTION) {
const int pass = ((p->flow->flags & FLOW_NOPACKET_SPECTION));
const AppProto alproto = FlowGetAppProtocol(p->flow);
if (pass && AppLayerParserP... | static void DetectFlow(ThreadVars *tv, DetectEngineCtx *de_ctx, DetectEngineThreadCtx *det_ctx, Packet *p) {
if ((p->flags & PKT_NOPACKET_SPECTION) || (PACKET_TEST_ACTION(p, ACTION_DROP))) {
int pass = ((p->flow->flags & FLOW_NOPACKET_SPECTION));
uint8_t flags = FlowGetDisruptionFlags(p->flow, 0);
... | static void DetectFlow(ThreadVars *tv, DetectEngineCtx *de_ctx, DetectEngineThreadCtx *det_ctx, Packet *p) {
if (p->flags & PKT_NOPACKET_SPECTION) {
int pass = ((p->flow->flags & FLOW_NOPACKET_SPECTION));
uint8_t flags = FlowGetDisruptionFlags(p->flow, 0);
AppProto alproto = FlowGetAppProtoc... | static void DetectFlow(ThreadVars *tv, DetectEngineCtx *de_ctx, DetectEngineThreadCtx *det_ctx, Packet *p) {
if ((p->flags & PKT_NOPACKET_SPECTION) || (PACKET_TEST_ACTION(p, ACTION_DROP))) {
const int pass = ((p->flow->flags & FLOW_NOPACKET_SPECTION));
const AppProto alproto = FlowGetAppProtocol(p->... | static void DetectFlow(ThreadVars *tv, DetectEngineCtx *de_ctx, DetectEngineThreadCtx *det_ctx, Packet *p) {
if (p->flags & PKT_NOPACKET_SPECTION) {
const int pass = ((p->flow->flags & FLOW_NOPACKET_SPECTION));
const AppProto alproto = FlowGetAppProtocol(p->flow);
if (pass && AppLayerParserP... | static void DetectFlow(ThreadVars *tv, DetectEngineCtx *de_ctx, DetectEngineThreadCtx *det_ctx, Packet *p) {
if ((p->flags & PKT_NOPACKET_SPECTION) || (PACKET_TEST_ACTION(p, ACTION_DROP))) {
int pass = ((p->flow->flags & FLOW_NOPACKET_SPECTION));
uint8_t flags = FlowGetDisruptionFlags(p->flow, 0);
... | static void DetectFlow(ThreadVars *tv, DetectEngineCtx *de_ctx, DetectEngineThreadCtx *det_ctx, Packet *p) {
if (p->flags & PKT_NOPACKET_SPECTION) {
int pass = ((p->flow->flags & FLOW_NOPACKET_SPECTION));
uint8_t flags = FlowGetDisruptionFlags(p->flow, 0);
AppProto alproto = FlowGetAppProtoc... | static void DetectFlow(ThreadVars *tv, DetectEngineCtx *de_ctx, DetectEngineThreadCtx *det_ctx, Packet *p) {
- if ((p->flags & PKT_NOPACKET_SPECTION) || (PACKET_TEST_ACTION(p, ACTION_DROP))) {
+ if (p->flags & PKT_NOPACKET_SPECTION) {
const int pass = ((p->flow->flags & FLOW_NOPACKET_SPECTION));
... |
CVE-2018-6794 | Suricata | https://github.com/OISF/suricata | src/stream-tcp.c | StreamTcpPacket | int StreamTcpPacket (ThreadVars *tv, Packet *p, StreamTcpThread *stt, PacketQueue *pq) {
SCEnter();
DEBUG_ASSERT_FLOW_LOCKED(p->flow);
SCLogDebug("p->pcap_cnt %"PRIu64, p->pcap_cnt);
if (unlikely(p->flow->thread_id == 0)) {
p->flow->thread_id = (FlowThreadId)tv->id;
} else if (unlikely((Flow... | int StreamTcpPacket (ThreadVars *tv, Packet *p, StreamTcpThread *stt, PacketQueue *pq) {
SCEnter();
DEBUG_ASSERT_FLOW_LOCKED(p->flow);
SCLogDebug("p->pcap_cnt %"PRIu64, p->pcap_cnt);
if (unlikely(p->flow->thread_id == 0)) {
p->flow->thread_id = (FlowThreadId)tv->id;
} else if (unlikely((Flow... | int StreamTcpPacket (ThreadVars *tv, Packet *p, StreamTcpThread *stt, PacketQueue *pq) {
SCEnter();
DEBUG_ASSERT_FLOW_LOCKED(p->flow);
SCLogDebug("p->pcap_cnt %"PRIu64, p->pcap_cnt);
if (unlikely(p->flow->thread_id == 0)) {
p->flow->thread_id = (FlowThreadId)tv->id;
} else if (unlikely((Flow... | int StreamTcpPacket (ThreadVars *tv, Packet *p, StreamTcpThread *stt, PacketQueue *pq) {
SCEnter();
DEBUG_ASSERT_FLOW_LOCKED(p->flow);
SCLogDebug("p->pcap_cnt %"PRIu64, p->pcap_cnt);
if (unlikely(p->flow->thread_id == 0)) {
p->flow->thread_id = (FlowThreadId)tv->id;
} else if (unlikely((Flow... | int StreamTcpPacket (ThreadVars *tv, Packet *p, StreamTcpThread *stt, PacketQueue *pq) {
TcpSession *ssn = (TcpSession *)p->flow->protoctx;
if (ssn != NULL) {
if (PKT_IS_TOSERVER(p)) {
} else if (PKT_IS_TOCLIENT(p)) {
}
if (ssn->flags & STREAMTCP_FLAG_ASYNC && ssn->client.tcp_fla... | int StreamTcpPacket (ThreadVars *tv, Packet *p, StreamTcpThread *stt, PacketQueue *pq) {
TcpSession *ssn = (TcpSession *)p->flow->protoctx;
if (ssn != NULL) {
if (PKT_IS_TOSERVER(p)) {
} else if (PKT_IS_TOCLIENT(p)) {
}
if (ssn->flags & STREAMTCP_FLAG_ASYNC && ssn->client.tcp_fla... | int StreamTcpPacket (ThreadVars *tv, Packet *p, StreamTcpThread *stt, PacketQueue *pq) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
TcpSession *ssn = (TcpSession *)p->flow->protoctx;
if (ssn != NULL) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (PKT_IS_TOSERVER(p)) {
/* PLACEHOLDER:... | int StreamTcpPacket (ThreadVars *tv, Packet *p, StreamTcpThread *stt, PacketQueue *pq) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
TcpSession *ssn = (TcpSession *)p->flow->protoctx;
if (ssn != NULL) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (PKT_IS_TOSERVER(p)) {
/* PLACEHOLDER:... | int StreamTcpPacket (ThreadVars *tv, Packet *p, StreamTcpThread *stt, PacketQueue *pq) {
TcpSession *ssn = (TcpSession *)p->flow->protoctx;
if (ssn != NULL) {
if (PKT_IS_TOSERVER(p)) {
} else if (PKT_IS_TOCLIENT(p)) {
}
if (ssn->flags & STREAMTCP_FLAG_ASYNC && ssn->client.... |
CVE-2018-7320 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-sigcomp.c | decode_udvm_address_operand | static int decode_udvm_address_operand(guint8 *buff,guint operand_address, guint16 *value,guint current_address) {
guint32 result;
guint16 value1;
guint next_opreand_address;
next_opreand_address = decode_udvm_multitype_operand(buff, operand_address, &value1);
result = value1 & 0xffff;
result = ... | static int decode_udvm_address_operand(guint8 *buff,guint operand_address, guint16 *value,guint current_address) {
guint32 result;
guint16 value1;
gint next_operand_address;
next_operand_address = decode_udvm_multitype_operand(buff, operand_address, &value1);
result = value1 & 0xffff;
result = r... | static int decode_udvm_address_operand(guint8 *buff,guint operand_address, guint16 *value,guint current_address) {
guint32 result;
guint16 value1;
guint next_opreand_address;
next_opreand_address = decode_udvm_multitype_operand(buff, operand_address, &value1);
result = value1 & 0xffff;
result = ... | static int decode_udvm_address_operand(guint8 *buff,guint operand_address, guint16 *value,guint current_address) {
guint32 result;
guint16 value1;
gint next_operand_address;
next_operand_address = decode_udvm_multitype_operand(buff, operand_address, &value1);
result = value1 & 0xffff;
result = r... | static int decode_udvm_address_operand(guint8 *buff,guint operand_address, guint16 *value,guint current_address) {
guint16 value1;
guint next_opreand_address;
next_opreand_address = decode_udvm_multitype_operand(buff, operand_address, &value1);
result = value1 & 0xffff;
*value = result & 0xffff;
... | static int decode_udvm_address_operand(guint8 *buff,guint operand_address, guint16 *value,guint current_address) {
guint16 value1;
gint next_operand_address;
next_operand_address = decode_udvm_multitype_operand(buff, operand_address, &value1);
result = value1 & 0xffff;
*value = result & 0xffff;
... | static int decode_udvm_address_operand(guint8 *buff,guint operand_address, guint16 *value,guint current_address) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
guint16 value1;
guint next_opreand_address;
next_opreand_address = decode_udvm_multitype_operand(buff, operand_address, &value1);
result = ... | static int decode_udvm_address_operand(guint8 *buff,guint operand_address, guint16 *value,guint current_address) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
guint16 value1;
gint next_operand_address;
next_operand_address = decode_udvm_multitype_operand(buff, operand_address, &value1);
result = v... | static int decode_udvm_address_operand(guint8 *buff,guint operand_address, guint16 *value,guint current_address) {
guint16 value1;
- guint next_opreand_address;
- next_opreand_address = decode_udvm_multitype_operand(buff, operand_address, &value1);
+ gint next_operand_address;
+ next_operand_address =... |
CVE-2018-7320 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-sigcomp.c | decode_udvm_literal_operand | static int decode_udvm_literal_operand(guint8 *buff,guint operand_address, guint16 *value) {
guint bytecode;
guint16 operand;
guint test_bits;
guint offset = operand_address;
guint8 temp_data;
bytecode = buff[operand_address];
test_bits = bytecode >> 7;
if (test_bits == 1) {
test... | static int decode_udvm_literal_operand(guint8 *buff,guint operand_address, guint16 *value) {
guint bytecode;
guint16 operand;
guint test_bits;
guint offset = operand_address;
guint8 temp_data;
if (operand_address >= UDVM_MEMORY_SIZE) {
return -1;
}
bytecode = buff[operand_address... | static int decode_udvm_literal_operand(guint8 *buff,guint operand_address, guint16 *value) {
guint bytecode;
guint16 operand;
guint test_bits;
guint offset = operand_address;
guint8 temp_data;
bytecode = buff[operand_address];
test_bits = bytecode >> 7;
if (test_bits == 1) {
test... | static int decode_udvm_literal_operand(guint8 *buff,guint operand_address, guint16 *value) {
guint bytecode;
guint16 operand;
guint test_bits;
guint offset = operand_address;
guint8 temp_data;
if (operand_address >= UDVM_MEMORY_SIZE) {
return -1;
}
bytecode = buff[operand_address... | static int decode_udvm_literal_operand(guint8 *buff,guint operand_address, guint16 *value) {
guint offset = operand_address;
guint8 temp_data;
bytecode = buff[operand_address];
if (test_bits == 1) {
if (test_bits == 2) {
temp_data = buff[(operand_address + 1) & 0xffff];
o... | static int decode_udvm_literal_operand(guint8 *buff,guint operand_address, guint16 *value) {
guint offset = operand_address;
guint8 temp_data;
if (operand_address >= UDVM_MEMORY_SIZE) {
return -1;
}
bytecode = buff[operand_address];
if (test_bits == 1) {
if (test_bits == 2) {
... | static int decode_udvm_literal_operand(guint8 *buff,guint operand_address, guint16 *value) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
guint offset = operand_address;
guint8 temp_data;
bytecode = buff[operand_address];
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (test_bits == 1) {
/... | static int decode_udvm_literal_operand(guint8 *buff,guint operand_address, guint16 *value) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
guint offset = operand_address;
guint8 temp_data;
if (operand_address >= UDVM_MEMORY_SIZE) {
return -1;
}
bytecode = buff[operand_address];
/* PL... | static int decode_udvm_literal_operand(guint8 *buff,guint operand_address, guint16 *value) {
guint offset = operand_address;
guint8 temp_data;
+ if (operand_address >= UDVM_MEMORY_SIZE) {
+ return -1;
+ }
bytecode = buff[operand_address];
if (test_bits == 1) {
if (test_bits ==... |
CVE-2018-7320 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-sigcomp.c | decode_udvm_multitype_operand | static int decode_udvm_multitype_operand(guint8 *buff,guint operand_address, guint16 *value) {
guint test_bits;
guint bytecode;
guint offset = operand_address;
guint16 operand;
guint32 result;
guint8 temp_data;
guint16 temp_data16;
guint16 memmory_addr = 0;
*value = 0;
bytecode =... | static int decode_udvm_multitype_operand(guint8 *buff,guint operand_address, guint16 *value) {
guint test_bits;
guint bytecode;
guint offset = operand_address;
guint16 operand;
guint32 result;
guint8 temp_data;
guint16 temp_data16;
guint16 memmory_addr = 0;
*value = 0;
if (operan... | static int decode_udvm_multitype_operand(guint8 *buff,guint operand_address, guint16 *value) {
guint test_bits;
guint bytecode;
guint offset = operand_address;
guint16 operand;
guint32 result;
guint8 temp_data;
guint16 temp_data16;
guint16 memmory_addr = 0;
*value = 0;
bytecode =... | static int decode_udvm_multitype_operand(guint8 *buff,guint operand_address, guint16 *value) {
guint test_bits;
guint bytecode;
guint offset = operand_address;
guint16 operand;
guint32 result;
guint8 temp_data;
guint16 temp_data16;
guint16 memmory_addr = 0;
*value = 0;
if (operan... | static int decode_udvm_multitype_operand(guint8 *buff,guint operand_address, guint16 *value) {
*value = 0;
bytecode = buff[operand_address];
switch (test_bits ) {
case 2:
if ( test_bits == 5 ) {
temp_data = buff[(operand_address + 1) & 0xffff];
operand = operand | temp_da... | static int decode_udvm_multitype_operand(guint8 *buff,guint operand_address, guint16 *value) {
*value = 0;
if (operand_address >= UDVM_MEMORY_SIZE) {
return -1;
}
bytecode = buff[operand_address];
switch (test_bits ) {
case 2:
if ( test_bits == 5 ) {
temp_data = buff[... | static int decode_udvm_multitype_operand(guint8 *buff,guint operand_address, guint16 *value) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
*value = 0;
bytecode = buff[operand_address];
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
switch (test_bits ) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMEN... | static int decode_udvm_multitype_operand(guint8 *buff,guint operand_address, guint16 *value) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
*value = 0;
if (operand_address >= UDVM_MEMORY_SIZE) {
return -1;
}
bytecode = buff[operand_address];
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */... | static int decode_udvm_multitype_operand(guint8 *buff,guint operand_address, guint16 *value) {
*value = 0;
+ if (operand_address >= UDVM_MEMORY_SIZE) {
+ return -1;
+ }
bytecode = buff[operand_address];
switch (test_bits ) {
case 2:
if ( test_bits == 5 ) {
temp_da... |
CVE-2018-7320 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-sigcomp.c | decompress_sigcomp_message | static tvbuff_t* decompress_sigcomp_message(tvbuff_t *bytecode_tvb, tvbuff_t *message_tvb, packet_info *pinfo, proto_tree *udvm_tree, gint udvm_mem_dest, gint print_flags, gint hf_id, gint header_len,
gint byte_code_state_len, gint byte_code_id_len, gint udvm_start_ip) {
tvbuff_t *decomp_tvb;
guint8 *bu... | static tvbuff_t* decompress_sigcomp_message(tvbuff_t *bytecode_tvb, tvbuff_t *message_tvb, packet_info *pinfo, proto_tree *udvm_tree, gint udvm_mem_dest, gint print_flags, gint hf_id, gint header_len,
gint byte_code_state_len, gint byte_code_id_len, gint udvm_start_ip) {
tvbuff_t *decomp_tvb;
guint8 *bu... | static tvbuff_t* decompress_sigcomp_message(tvbuff_t *bytecode_tvb, tvbuff_t *message_tvb, packet_info *pinfo, proto_tree *udvm_tree, gint udvm_mem_dest, gint print_flags, gint hf_id, gint header_len,
gint byte_code_state_len, gint byte_code_id_len, gint udvm_start_ip) {
tvbuff_t *decomp_tvb;
guint8 *bu... | static tvbuff_t* decompress_sigcomp_message(tvbuff_t *bytecode_tvb, tvbuff_t *message_tvb, packet_info *pinfo, proto_tree *udvm_tree, gint udvm_mem_dest, gint print_flags, gint hf_id, gint header_len,
gint byte_code_state_len, gint byte_code_id_len, gint udvm_start_ip) {
tvbuff_t *decomp_tvb;
guint8 *bu... | static tvbuff_t* decompress_sigcomp_message(tvbuff_t *bytecode_tvb, tvbuff_t *message_tvb, packet_info *pinfo, proto_tree *udvm_tree, gint udvm_mem_dest, gint print_flags, gint hf_id, gint header_len,
gint byte_code_state_len, gint byte_code_id_len, gint udvm_start_ip) {
guint16 output_address = 0;
guin... | static tvbuff_t* decompress_sigcomp_message(tvbuff_t *bytecode_tvb, tvbuff_t *message_tvb, packet_info *pinfo, proto_tree *udvm_tree, gint udvm_mem_dest, gint print_flags, gint hf_id, gint header_len,
gint byte_code_state_len, gint byte_code_id_len, gint udvm_start_ip) {
guint16 output_address = 0;
gint... | static tvbuff_t* decompress_sigcomp_message(tvbuff_t *bytecode_tvb, tvbuff_t *message_tvb, packet_info *pinfo, proto_tree *udvm_tree, gint udvm_mem_dest, gint print_flags, gint hf_id, gint header_len,
gint byte_code_state_len, gint byte_code_id_len, gint udvm_start_ip) {
/* PLACEHOLDER: DO NOT DELETE THIS C... | static tvbuff_t* decompress_sigcomp_message(tvbuff_t *bytecode_tvb, tvbuff_t *message_tvb, packet_info *pinfo, proto_tree *udvm_tree, gint udvm_mem_dest, gint print_flags, gint hf_id, gint header_len,
gint byte_code_state_len, gint byte_code_id_len, gint udvm_start_ip) {
/* PLACEHOLDER: DO NOT DELETE THIS C... | static tvbuff_t* decompress_sigcomp_message(tvbuff_t *bytecode_tvb, tvbuff_t *message_tvb, packet_info *pinfo, proto_tree *udvm_tree, gint udvm_mem_dest, gint print_flags, gint hf_id, gint header_len,
gint byte_code_state_len, gint byte_code_id_len, gint udvm_start_ip) {
guint16 output_address = 0;
- ... |
CVE-2018-7320 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-sigcomp.c | dissect_udvm_reference_operand_memory | static int dissect_udvm_reference_operand_memory(guint8 *buff,guint operand_address, guint16 *value,guint *result_dest) {
guint bytecode;
guint16 operand;
guint offset = operand_address;
guint test_bits;
guint8 temp_data;
guint16 temp_data16;
bytecode = buff[operand_address];
test_bits =... | static int dissect_udvm_reference_operand_memory(guint8 *buff,guint operand_address, guint16 *value,guint *result_dest) {
guint bytecode;
guint16 operand;
guint offset = operand_address;
guint test_bits;
guint8 temp_data;
guint16 temp_data16;
if (operand_address >= UDVM_MEMORY_SIZE) {
... | static int dissect_udvm_reference_operand_memory(guint8 *buff,guint operand_address, guint16 *value,guint *result_dest) {
guint bytecode;
guint16 operand;
guint offset = operand_address;
guint test_bits;
guint8 temp_data;
guint16 temp_data16;
bytecode = buff[operand_address];
test_bits =... | static int dissect_udvm_reference_operand_memory(guint8 *buff,guint operand_address, guint16 *value,guint *result_dest) {
guint bytecode;
guint16 operand;
guint offset = operand_address;
guint test_bits;
guint8 temp_data;
guint16 temp_data16;
if (operand_address >= UDVM_MEMORY_SIZE) {
... | static int dissect_udvm_reference_operand_memory(guint8 *buff,guint operand_address, guint16 *value,guint *result_dest) {
guint offset = operand_address;
guint16 temp_data16;
bytecode = buff[operand_address];
if (test_bits == 1) {
if (test_bits == 2) {
temp_data = buff[(operand_addre... | static int dissect_udvm_reference_operand_memory(guint8 *buff,guint operand_address, guint16 *value,guint *result_dest) {
guint offset = operand_address;
guint16 temp_data16;
if (operand_address >= UDVM_MEMORY_SIZE) {
return -1;
}
bytecode = buff[operand_address];
if (test_bits == 1) {
... | static int dissect_udvm_reference_operand_memory(guint8 *buff,guint operand_address, guint16 *value,guint *result_dest) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
guint offset = operand_address;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
guint16 temp_data16;
bytecode = buff[operand_address];... | static int dissect_udvm_reference_operand_memory(guint8 *buff,guint operand_address, guint16 *value,guint *result_dest) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
guint offset = operand_address;
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
guint16 temp_data16;
if (operand_address >= UDVM_MEMOR... | static int dissect_udvm_reference_operand_memory(guint8 *buff,guint operand_address, guint16 *value,guint *result_dest) {
guint offset = operand_address;
guint16 temp_data16;
+ if (operand_address >= UDVM_MEMORY_SIZE) {
+ return -1;
+ }
bytecode = buff[operand_address];
if (test_bits =... |
CVE-2018-7322 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-dcm.c | dissect_dcm_tag | static guint32 dissect_dcm_tag(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, dcm_state_pdv_t *pdv, guint32 offset, guint32 endpos, gboolean is_first_tag, const gchar **tag_description,
gboolean *end_of_seq_or_item) {
proto_tree *tag_ptree = NULL;
proto_tree *seq_ptree = NUL... | static guint32 dissect_dcm_tag(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, dcm_state_pdv_t *pdv, guint32 offset, guint32 endpos, gboolean is_first_tag, const gchar **tag_description,
gboolean *end_of_seq_or_item) {
proto_tree *tag_ptree = NULL;
proto_tree *seq_ptree = NUL... | static guint32 dissect_dcm_tag(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, dcm_state_pdv_t *pdv, guint32 offset, guint32 endpos, gboolean is_first_tag, const gchar **tag_description,
gboolean *end_of_seq_or_item) {
proto_tree *tag_ptree = NULL;
proto_tree *seq_ptree = NUL... | static guint32 dissect_dcm_tag(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, dcm_state_pdv_t *pdv, guint32 offset, guint32 endpos, gboolean is_first_tag, const gchar **tag_description,
gboolean *end_of_seq_or_item) {
proto_tree *tag_ptree = NULL;
proto_tree *seq_ptree = NUL... | static guint32 dissect_dcm_tag(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, dcm_state_pdv_t *pdv, guint32 offset, guint32 endpos, gboolean is_first_tag, const gchar **tag_description,
gboolean *end_of_seq_or_item) {
guint32 encoding = (pdv->syntax == DCM_EBE) ? ENC_BIG_ENDIAN ... | static guint32 dissect_dcm_tag(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, dcm_state_pdv_t *pdv, guint32 offset, guint32 endpos, gboolean is_first_tag, const gchar **tag_description,
gboolean *end_of_seq_or_item) {
guint32 encoding = (pdv->syntax == DCM_EBE) ? ENC_BIG_ENDIAN ... | static guint32 dissect_dcm_tag(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, dcm_state_pdv_t *pdv, guint32 offset, guint32 endpos, gboolean is_first_tag, const gchar **tag_description,
gboolean *end_of_seq_or_item) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
gboolean is... | static guint32 dissect_dcm_tag(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, dcm_state_pdv_t *pdv, guint32 offset, guint32 endpos, gboolean is_first_tag, const gchar **tag_description,
gboolean *end_of_seq_or_item) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
gboolean is... | static guint32 dissect_dcm_tag(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, dcm_state_pdv_t *pdv, guint32 offset, guint32 endpos, gboolean is_first_tag, const gchar **tag_description,
gboolean *end_of_seq_or_item) {
guint32 encoding = (pdv->syntax == DCM_EBE) ? ENC_BIG_ENDI... |
CVE-2018-7323 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-wccp.c | dissect_wccp2_alternate_assignment_info | static gint dissect_wccp2_alternate_assignment_info(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
guint16 assignment_type;
guint16 assignment_length;
proto_item *tf=NULL;
guint32 n_routers;
guint i;
proto_tree *element_tree;
... | static gint dissect_wccp2_alternate_assignment_info(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
guint16 assignment_type;
guint16 assignment_length;
proto_item *tf=NULL;
guint32 n_routers;
guint i;
proto_tree *element_tree;
... | static gint dissect_wccp2_alternate_assignment_info(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
guint16 assignment_type;
guint16 assignment_length;
proto_item *tf=NULL;
guint32 n_routers;
guint i;
proto_tree *element_tree;
... | static gint dissect_wccp2_alternate_assignment_info(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
guint16 assignment_type;
guint16 assignment_length;
proto_item *tf=NULL;
guint32 n_routers;
guint i;
proto_tree *element_tree;
... | static gint dissect_wccp2_alternate_assignment_info(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
if (length < ALT_ASSIGNMENT_FO_M_LEN) {
return length - ALT_ASSIGNMENT_FO_M_LEN;
}
assignment_type = tvb_get_ntohs(tvb, offset);
... | static gint dissect_wccp2_alternate_assignment_info(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
if (length < ALT_ASSIGNMENT_FO_M_LEN) {
return length - ALT_ASSIGNMENT_FO_M_LEN;
}
assignment_type = tvb_get_ntohs(tvb, offset);
... | static gint dissect_wccp2_alternate_assignment_info(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (length < ALT_ASSIGNMENT_FO_M_LEN) {
return length - ALT_ASSIGNMENT_FO_M_LEN;
}
... | static gint dissect_wccp2_alternate_assignment_info(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (length < ALT_ASSIGNMENT_FO_M_LEN) {
return length - ALT_ASSIGNMENT_FO_M_LEN;
}
... | static gint dissect_wccp2_alternate_assignment_info(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
if (length < ALT_ASSIGNMENT_FO_M_LEN) {
return length - ALT_ASSIGNMENT_FO_M_LEN;
}
assignment_type = tvb_get_ntohs(tvb, offset... |
CVE-2018-7323 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-wccp.c | dissect_wccp2_alternate_mask_assignment_data_element | static gint dissect_wccp2_alternate_mask_assignment_data_element(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
proto_tree *mask_tree;
mask_tree = proto_tree_add_subtree(info_tree, tvb, offset, length, ett_alternate_mask_assignment_data_eleme... | static gint dissect_wccp2_alternate_mask_assignment_data_element(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
proto_tree *mask_tree;
mask_tree = proto_tree_add_subtree(info_tree, tvb, offset, length, ett_alternate_mask_assignment_data_eleme... | static gint dissect_wccp2_alternate_mask_assignment_data_element(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
proto_tree *mask_tree;
mask_tree = proto_tree_add_subtree(info_tree, tvb, offset, length, ett_alternate_mask_assignment_data_eleme... | static gint dissect_wccp2_alternate_mask_assignment_data_element(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
proto_tree *mask_tree;
mask_tree = proto_tree_add_subtree(info_tree, tvb, offset, length, ett_alternate_mask_assignment_data_eleme... | static gint dissect_wccp2_alternate_mask_assignment_data_element(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
mask_tree = proto_tree_add_subtree(info_tree, tvb, offset, length, ett_alternate_mask_assignment_data_element, NULL, "Alternate Mask A... | static gint dissect_wccp2_alternate_mask_assignment_data_element(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
mask_tree = proto_tree_add_subtree(info_tree, tvb, offset, length, ett_alternate_mask_assignment_data_element, NULL, "Alternate Mask A... | static gint dissect_wccp2_alternate_mask_assignment_data_element(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
mask_tree = proto_tree_add_subtree(info_tree, tvb, offset, length, ett_alternate_mas... | static gint dissect_wccp2_alternate_mask_assignment_data_element(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
mask_tree = proto_tree_add_subtree(info_tree, tvb, offset, length, ett_alternate_mas... | static gint dissect_wccp2_alternate_mask_assignment_data_element(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
mask_tree = proto_tree_add_subtree(info_tree, tvb, offset, length, ett_alternate_mask_assignment_data_element, NULL, "Alternate Mask... |
CVE-2018-7323 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-wccp.c | dissect_wccp2_alternate_mask_value_set_element | static gint dissect_wccp2_alternate_mask_value_set_element(tvbuff_t *tvb, int offset, gint length, guint el_index, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
proto_item *tl, *header;
proto_tree *element_tree, *value_tree;
guint number_of_elements;
gint new_length, total... | static gint dissect_wccp2_alternate_mask_value_set_element(tvbuff_t *tvb, int offset, gint length, guint el_index, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
proto_item *tl, *header;
proto_tree *element_tree, *value_tree;
guint number_of_elements;
gint new_length, total... | static gint dissect_wccp2_alternate_mask_value_set_element(tvbuff_t *tvb, int offset, gint length, guint el_index, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
proto_item *tl, *header;
proto_tree *element_tree, *value_tree;
guint number_of_elements;
gint new_length, total... | static gint dissect_wccp2_alternate_mask_value_set_element(tvbuff_t *tvb, int offset, gint length, guint el_index, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
proto_item *tl, *header;
proto_tree *element_tree, *value_tree;
guint number_of_elements;
gint new_length, total... | static gint dissect_wccp2_alternate_mask_value_set_element(tvbuff_t *tvb, int offset, gint length, guint el_index, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
element_tree = proto_tree_add_subtree_format(info_tree, tvb, offset, 0, ett_alternate_mask_value_set_element, &header, "Alte... | static gint dissect_wccp2_alternate_mask_value_set_element(tvbuff_t *tvb, int offset, gint length, guint el_index, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
element_tree = proto_tree_add_subtree_format(info_tree, tvb, offset, 0, ett_alternate_mask_value_set_element, &header, "Alte... | static gint dissect_wccp2_alternate_mask_value_set_element(tvbuff_t *tvb, int offset, gint length, guint el_index, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
element_tree = proto_tree_add_subtree_format(info_tree, tvb, offset, 0, et... | static gint dissect_wccp2_alternate_mask_value_set_element(tvbuff_t *tvb, int offset, gint length, guint el_index, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
element_tree = proto_tree_add_subtree_format(info_tree, tvb, offset, 0, et... | static gint dissect_wccp2_alternate_mask_value_set_element(tvbuff_t *tvb, int offset, gint length, guint el_index, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
element_tree = proto_tree_add_subtree_format(info_tree, tvb, offset, 0, ett_alternate_mask_value_set_element, &header, "Al... |
CVE-2018-7323 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-wccp.c | dissect_wccp2_alternate_mask_value_set_list | static gint dissect_wccp2_alternate_mask_value_set_list(tvbuff_t *tvb, int offset, int length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
proto_tree *list_tree;
guint num_of_val_elements;
guint i;
if (length < 4) {
return length - 4;
}
list_tree = proto_... | static gint dissect_wccp2_alternate_mask_value_set_list(tvbuff_t *tvb, int offset, int length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
proto_tree *list_tree;
guint num_of_val_elements;
guint i;
if (length < 4) {
return length - 4;
}
list_tree = proto_... | static gint dissect_wccp2_alternate_mask_value_set_list(tvbuff_t *tvb, int offset, int length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
proto_tree *list_tree;
guint num_of_val_elements;
guint i;
if (length < 4) {
return length - 4;
}
list_tree = proto_... | static gint dissect_wccp2_alternate_mask_value_set_list(tvbuff_t *tvb, int offset, int length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
proto_tree *list_tree;
guint num_of_val_elements;
guint i;
if (length < 4) {
return length - 4;
}
list_tree = proto_... | static gint dissect_wccp2_alternate_mask_value_set_list(tvbuff_t *tvb, int offset, int length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
if (length < 4) {
return length - 4;
}
list_tree = proto_tree_add_subtree(info_tree, tvb, offset, length, ett_alternate_mask_val... | static gint dissect_wccp2_alternate_mask_value_set_list(tvbuff_t *tvb, int offset, int length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
if (length < 4) {
return length - 4;
}
list_tree = proto_tree_add_subtree(info_tree, tvb, offset, length, ett_alternate_mask_val... | static gint dissect_wccp2_alternate_mask_value_set_list(tvbuff_t *tvb, int offset, int length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (length < 4) {
return length - 4;
}
list_tree = proto_tree_add_subtree(info... | static gint dissect_wccp2_alternate_mask_value_set_list(tvbuff_t *tvb, int offset, int length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (length < 4) {
return length - 4;
}
list_tree = proto_tree_add_subtree(info... | static gint dissect_wccp2_alternate_mask_value_set_list(tvbuff_t *tvb, int offset, int length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
if (length < 4) {
return length - 4;
}
list_tree = proto_tree_add_subtree(info_tree, tvb, offset, length, ett_alternate_mas... |
CVE-2018-7323 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-wccp.c | dissect_wccp2_assignment_info | static gint dissect_wccp2_assignment_info(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
guint32 n_routers;
guint i;
proto_item *te;
proto_tree *element_tree;
gint new_length;
if (length < ASSIGNMENT_FO_M_LEN) {
return... | static gint dissect_wccp2_assignment_info(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
guint32 n_routers;
guint i;
proto_item *te;
proto_tree *element_tree;
gint new_length;
if (length < ASSIGNMENT_FO_M_LEN) {
return... | static gint dissect_wccp2_assignment_info(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
guint32 n_routers;
guint i;
proto_item *te;
proto_tree *element_tree;
gint new_length;
if (length < ASSIGNMENT_FO_M_LEN) {
return... | static gint dissect_wccp2_assignment_info(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
guint32 n_routers;
guint i;
proto_item *te;
proto_tree *element_tree;
gint new_length;
if (length < ASSIGNMENT_FO_M_LEN) {
return... | static gint dissect_wccp2_assignment_info(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
if (length < ASSIGNMENT_FO_M_LEN) {
return length - ASSIGNMENT_FO_M_LEN;
}
new_length=dissect_wccp2_assignment_key_element(tvb, offset, lengt... | static gint dissect_wccp2_assignment_info(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
if (length < ASSIGNMENT_FO_M_LEN) {
return length - ASSIGNMENT_FO_M_LEN;
}
new_length=dissect_wccp2_assignment_key_element(tvb, offset, lengt... | static gint dissect_wccp2_assignment_info(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (length < ASSIGNMENT_FO_M_LEN) {
return length - ASSIGNMENT_FO_M_LEN;
}
new_length=disse... | static gint dissect_wccp2_assignment_info(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
if (length < ASSIGNMENT_FO_M_LEN) {
return length - ASSIGNMENT_FO_M_LEN;
}
new_length=disse... | static gint dissect_wccp2_assignment_info(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
if (length < ASSIGNMENT_FO_M_LEN) {
return length - ASSIGNMENT_FO_M_LEN;
}
new_length=dissect_wccp2_assignment_key_element(tvb, offset, ... |
CVE-2018-7323 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-wccp.c | dissect_wccp2_assignment_map | static gint dissect_wccp2_assignment_map(tvbuff_t *tvb, int offset, int length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
gint new_length;
new_length=dissect_wccp2_mask_value_set_list(tvb, offset, length, pinfo, info_tree, addr_table);
NOTE_EATEN_LENGTH(new_length);
re... | static gint dissect_wccp2_assignment_map(tvbuff_t *tvb, int offset, int length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
gint new_length;
new_length=dissect_wccp2_mask_value_set_list(tvb, offset, length, pinfo, info_tree, addr_table);
CHECK_LENGTH_ADVANCE_OFFSET(new_lengt... | static gint dissect_wccp2_assignment_map(tvbuff_t *tvb, int offset, int length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
gint new_length;
new_length=dissect_wccp2_mask_value_set_list(tvb, offset, length, pinfo, info_tree, addr_table);
NOTE_EATEN_LENGTH(new_length);
re... | static gint dissect_wccp2_assignment_map(tvbuff_t *tvb, int offset, int length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
gint new_length;
new_length=dissect_wccp2_mask_value_set_list(tvb, offset, length, pinfo, info_tree, addr_table);
CHECK_LENGTH_ADVANCE_OFFSET(new_lengt... | static gint dissect_wccp2_assignment_map(tvbuff_t *tvb, int offset, int length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
gint new_length;
new_length=dissect_wccp2_mask_value_set_list(tvb, offset, length, pinfo, info_tree, addr_table);
NOTE_EATEN_LENGTH(new_length);
re... | static gint dissect_wccp2_assignment_map(tvbuff_t *tvb, int offset, int length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
gint new_length;
new_length=dissect_wccp2_mask_value_set_list(tvb, offset, length, pinfo, info_tree, addr_table);
CHECK_LENGTH_ADVANCE_OFFSET(new_lengt... | static gint dissect_wccp2_assignment_map(tvbuff_t *tvb, int offset, int length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
gint new_length;
new_length=dissect_wccp2_mask_value_set_list(tvb, offset, length, pinfo, info_tree, addr_table);
NOTE_EATEN_LENGTH(new_length);
re... | static gint dissect_wccp2_assignment_map(tvbuff_t *tvb, int offset, int length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
gint new_length;
new_length=dissect_wccp2_mask_value_set_list(tvb, offset, length, pinfo, info_tree, addr_table);
CHECK_LENGTH_ADVANCE_OFFSET(new_lengt... | static gint dissect_wccp2_assignment_map(tvbuff_t *tvb, int offset, int length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
gint new_length;
new_length=dissect_wccp2_mask_value_set_list(tvb, offset, length, pinfo, info_tree, addr_table);
- NOTE_EATEN_LENGTH(new_length);
+ ... |
CVE-2018-7323 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-wccp.c | dissect_wccp2_capability_info | static gint dissect_wccp2_capability_info(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table ) {
gint capability_length;
while (length >= 8) {
capability_length = dissect_wccp2_capability_element(tvb,offset,length,pinfo,info_tree);
N... | static gint dissect_wccp2_capability_info(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table ) {
gint capability_length;
while (length >= 8) {
capability_length = dissect_wccp2_capability_element(tvb,offset,length,pinfo,info_tree);
C... | static gint dissect_wccp2_capability_info(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table ) {
gint capability_length;
while (length >= 8) {
capability_length = dissect_wccp2_capability_element(tvb,offset,length,pinfo,info_tree);
N... | static gint dissect_wccp2_capability_info(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table ) {
gint capability_length;
while (length >= 8) {
capability_length = dissect_wccp2_capability_element(tvb,offset,length,pinfo,info_tree);
C... | static gint dissect_wccp2_capability_info(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table ) {
gint capability_length;
while (length >= 8) {
capability_length = dissect_wccp2_capability_element(tvb,offset,length,pinfo,info_tree);
N... | static gint dissect_wccp2_capability_info(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table ) {
gint capability_length;
while (length >= 8) {
capability_length = dissect_wccp2_capability_element(tvb,offset,length,pinfo,info_tree);
C... | static gint dissect_wccp2_capability_info(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table ) {
gint capability_length;
while (length >= 8) {
capability_length = dissect_wccp2_capability_element(tvb,offset,length,pinfo,info_tree);
N... | static gint dissect_wccp2_capability_info(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table ) {
gint capability_length;
while (length >= 8) {
capability_length = dissect_wccp2_capability_element(tvb,offset,length,pinfo,info_tree);
C... | static gint dissect_wccp2_capability_info(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table ) {
gint capability_length;
while (length >= 8) {
capability_length = dissect_wccp2_capability_element(tvb,offset,length,pinfo,info_tree);
- ... |
CVE-2018-7323 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-wccp.c | dissect_wccp2_mask_assignment_data_element | static gint dissect_wccp2_mask_assignment_data_element(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
proto_item *mask_item;
proto_tree *mask_tree;
gint new_length,start;
mask_tree = proto_tree_add_subtree(info_tree, tvb, offset, 4, e... | static gint dissect_wccp2_mask_assignment_data_element(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
proto_item *mask_item;
proto_tree *mask_tree;
gint new_length,start;
mask_tree = proto_tree_add_subtree(info_tree, tvb, offset, 4, e... | static gint dissect_wccp2_mask_assignment_data_element(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
proto_item *mask_item;
proto_tree *mask_tree;
gint new_length,start;
mask_tree = proto_tree_add_subtree(info_tree, tvb, offset, 4, e... | static gint dissect_wccp2_mask_assignment_data_element(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
proto_item *mask_item;
proto_tree *mask_tree;
gint new_length,start;
mask_tree = proto_tree_add_subtree(info_tree, tvb, offset, 4, e... | static gint dissect_wccp2_mask_assignment_data_element(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
mask_tree = proto_tree_add_subtree(info_tree, tvb, offset, 4, ett_mask_assignment_data_element, &mask_item, "Mask Assignment Data");
new_len... | static gint dissect_wccp2_mask_assignment_data_element(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
mask_tree = proto_tree_add_subtree(info_tree, tvb, offset, 4, ett_mask_assignment_data_element, &mask_item, "Mask Assignment Data");
new_len... | static gint dissect_wccp2_mask_assignment_data_element(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
mask_tree = proto_tree_add_subtree(info_tree, tvb, offset, 4, ett_mask_assignment_data_element... | static gint dissect_wccp2_mask_assignment_data_element(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
mask_tree = proto_tree_add_subtree(info_tree, tvb, offset, 4, ett_mask_assignment_data_element... | static gint dissect_wccp2_mask_assignment_data_element(tvbuff_t *tvb, int offset, gint length, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
mask_tree = proto_tree_add_subtree(info_tree, tvb, offset, 4, ett_mask_assignment_data_element, &mask_item, "Mask Assignment Data");
new_... |
CVE-2018-7323 | Wireshark | https://github.com/wireshark/wireshark | epan/dissectors/packet-wccp.c | dissect_wccp2_mask_value_set_element | static gint dissect_wccp2_mask_value_set_element(tvbuff_t *tvb, int offset, gint length, int idx, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
proto_item *tl, *te;
proto_tree *element_tree, *value_tree;
guint num_of_val_elements;
guint i;
gint new_length;
element_... | static gint dissect_wccp2_mask_value_set_element(tvbuff_t *tvb, int offset, gint length, int idx, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
proto_item *tl, *te;
proto_tree *element_tree, *value_tree;
guint num_of_val_elements;
guint i;
gint new_length;
element_... | static gint dissect_wccp2_mask_value_set_element(tvbuff_t *tvb, int offset, gint length, int idx, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
proto_item *tl, *te;
proto_tree *element_tree, *value_tree;
guint num_of_val_elements;
guint i;
gint new_length;
element_... | static gint dissect_wccp2_mask_value_set_element(tvbuff_t *tvb, int offset, gint length, int idx, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
proto_item *tl, *te;
proto_tree *element_tree, *value_tree;
guint num_of_val_elements;
guint i;
gint new_length;
element_... | static gint dissect_wccp2_mask_value_set_element(tvbuff_t *tvb, int offset, gint length, int idx, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
element_tree = proto_tree_add_subtree_format(info_tree, tvb, offset, 0, ett_mv_set_element, &tl, "Mask/Value Set Element(%d)", idx);
new_... | static gint dissect_wccp2_mask_value_set_element(tvbuff_t *tvb, int offset, gint length, int idx, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
element_tree = proto_tree_add_subtree_format(info_tree, tvb, offset, 0, ett_mv_set_element, &tl, "Mask/Value Set Element(%d)", idx);
new_... | static gint dissect_wccp2_mask_value_set_element(tvbuff_t *tvb, int offset, gint length, int idx, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
element_tree = proto_tree_add_subtree_format(info_tree, tvb, offset, 0, ett_mv_set_element,... | static gint dissect_wccp2_mask_value_set_element(tvbuff_t *tvb, int offset, gint length, int idx, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
/* PLACEHOLDER: DO NOT DELETE THIS COMMENT */
element_tree = proto_tree_add_subtree_format(info_tree, tvb, offset, 0, ett_mv_set_element,... | static gint dissect_wccp2_mask_value_set_element(tvbuff_t *tvb, int offset, gint length, int idx, packet_info *pinfo, proto_tree *info_tree, wccp_address_table* addr_table) {
element_tree = proto_tree_add_subtree_format(info_tree, tvb, offset, 0, ett_mv_set_element, &tl, "Mask/Value Set Element(%d)", idx);
n... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.