idx
int64
func_before
string
Vulnerability Classification
string
vul
int64
func_after
string
patch
string
CWE ID
string
lines_before
string
lines_after
string
41,600
umts_fp_init_protocol(void) { guint32 hosta_addr[4]; guint32 hostb_addr[4]; address src_addr, dst_addr; conversation_t *conversation; umts_fp_conversation_info_t *umts_fp_conversation_info; guint i, j, num_tf; for (i=0; i<num_umts_fp_ep_and_ch_items; i++) { /* check if we have a...
DoS
0
umts_fp_init_protocol(void) { guint32 hosta_addr[4]; guint32 hostb_addr[4]; address src_addr, dst_addr; conversation_t *conversation; umts_fp_conversation_info_t *umts_fp_conversation_info; guint i, j, num_tf; for (i=0; i<num_umts_fp_ep_and_ch_items; i++) { /* check if we have a...
@@ -4098,11 +4098,11 @@ fp_set_per_packet_inf_from_conv(umts_fp_conversation_info_t *p_conv_data, /* Peek at C/T, different RLC params for different logical channels */ /*C/T is 4 bits according to 3GPP TS 25.321, paragraph 9.2.1, from MAC header (not ...
CWE-20
null
null
41,601
static gboolean verify_control_frame_crc(tvbuff_t * tvb, packet_info * pinfo, proto_item * pi, guint16 frame_crc) { guint8 crc = 0; guint8 * data = NULL; /* Get data. */ data = (guint8 *)tvb_memdup(wmem_packet_scope(), tvb, 0, tvb_reported_length(tvb)); /* Include only FT flag bit in CRC calculation...
DoS
0
static gboolean verify_control_frame_crc(tvbuff_t * tvb, packet_info * pinfo, proto_item * pi, guint16 frame_crc) { guint8 crc = 0; guint8 * data = NULL; /* Get data. */ data = (guint8 *)tvb_memdup(wmem_packet_scope(), tvb, 0, tvb_reported_length(tvb)); /* Include only FT flag bit in CRC calculation...
@@ -4098,11 +4098,11 @@ fp_set_per_packet_inf_from_conv(umts_fp_conversation_info_t *p_conv_data, /* Peek at C/T, different RLC params for different logical channels */ /*C/T is 4 bits according to 3GPP TS 25.321, paragraph 9.2.1, from MAC header (not ...
CWE-20
null
null
41,602
static gboolean verify_header_crc(tvbuff_t * tvb, packet_info * pinfo, proto_item * pi, guint16 header_crc, guint header_length) { guint8 crc = 0; guint8 * data = NULL; /* Get data of header with first byte removed. */ data = (guint8 *)tvb_memdup(wmem_packet_scope(), tvb, 1, header_length-1); /* Cal...
DoS
0
static gboolean verify_header_crc(tvbuff_t * tvb, packet_info * pinfo, proto_item * pi, guint16 header_crc, guint header_length) { guint8 crc = 0; guint8 * data = NULL; /* Get data of header with first byte removed. */ data = (guint8 *)tvb_memdup(wmem_packet_scope(), tvb, 1, header_length-1); /* Cal...
@@ -4098,11 +4098,11 @@ fp_set_per_packet_inf_from_conv(umts_fp_conversation_info_t *p_conv_data, /* Peek at C/T, different RLC params for different logical channels */ /*C/T is 4 bits according to 3GPP TS 25.321, paragraph 9.2.1, from MAC header (not ...
CWE-20
null
null
41,603
static gboolean verify_header_crc_edch(tvbuff_t * tvb, packet_info * pinfo, proto_item * pi, guint16 header_crc, guint header_length) { guint16 crc = 0; guint8 * data = NULL; /* First create new subset of header with first byte removed. */ tvbuff_t * headtvb = tvb_new_subset_length(tvb, 1, header_length...
DoS
0
static gboolean verify_header_crc_edch(tvbuff_t * tvb, packet_info * pinfo, proto_item * pi, guint16 header_crc, guint header_length) { guint16 crc = 0; guint8 * data = NULL; /* First create new subset of header with first byte removed. */ tvbuff_t * headtvb = tvb_new_subset_length(tvb, 1, header_length...
@@ -4098,11 +4098,11 @@ fp_set_per_packet_inf_from_conv(umts_fp_conversation_info_t *p_conv_data, /* Peek at C/T, different RLC params for different logical channels */ /*C/T is 4 bits according to 3GPP TS 25.321, paragraph 9.2.1, from MAC header (not ...
CWE-20
null
null
41,604
AirPDcapCleanSecAssoc( PAIRPDCAP_CONTEXT ctx) { PAIRPDCAP_SEC_ASSOCIATION psa; int i; for (psa = ctx->sa, i = 0; i < AIRPDCAP_MAX_SEC_ASSOCIATIONS_NR; i++, psa++) { /* To iterate is human, to recurse, divine */ AirPDcapRecurseCleanSA(psa); } }
DoS
0
AirPDcapCleanSecAssoc( PAIRPDCAP_CONTEXT ctx) { PAIRPDCAP_SEC_ASSOCIATION psa; int i; for (psa = ctx->sa, i = 0; i < AIRPDCAP_MAX_SEC_ASSOCIATIONS_NR; i++, psa++) { /* To iterate is human, to recurse, divine */ AirPDcapRecurseCleanSA(psa); } }
@@ -351,7 +351,9 @@ AirPDcapDecryptWPABroadcastKey(const EAPOL_RSN_KEY *pEAPKey, guint8 *decryption_ } } - if (key_bytes_len < GROUP_KEY_MIN_LEN || key_bytes_len > eapol_len - sizeof(EAPOL_RSN_KEY)) { + if ((key_bytes_len < GROUP_KEY_MIN_LEN) || + (eapol_len < sizeof(EAPOL_RSN_KEY)) || + ...
CWE-125
null
null
41,605
AirPDcapGetBssidAddress( const AIRPDCAP_MAC_FRAME_ADDR4 *frame) { switch(AIRPDCAP_DS_BITS(frame->fc[1])) { /* Bit 1 = FromDS, bit 0 = ToDS */ case 0: return frame->addr3; case 1: return frame->addr1; case 2: return frame->addr2; case 3: ...
DoS
0
AirPDcapGetBssidAddress( const AIRPDCAP_MAC_FRAME_ADDR4 *frame) { switch(AIRPDCAP_DS_BITS(frame->fc[1])) { /* Bit 1 = FromDS, bit 0 = ToDS */ case 0: return frame->addr3; case 1: return frame->addr1; case 2: return frame->addr2; case 3: ...
@@ -351,7 +351,9 @@ AirPDcapDecryptWPABroadcastKey(const EAPOL_RSN_KEY *pEAPKey, guint8 *decryption_ } } - if (key_bytes_len < GROUP_KEY_MIN_LEN || key_bytes_len > eapol_len - sizeof(EAPOL_RSN_KEY)) { + if ((key_bytes_len < GROUP_KEY_MIN_LEN) || + (eapol_len < sizeof(EAPOL_RSN_KEY)) || + ...
CWE-125
null
null
41,606
INT AirPDcapGetKeys( const PAIRPDCAP_CONTEXT ctx, AIRPDCAP_KEY_ITEM keys[], const size_t keys_nr) { UINT i; UINT j; AIRPDCAP_DEBUG_TRACE_START("AirPDcapGetKeys"); if (ctx==NULL) { AIRPDCAP_DEBUG_PRINT_LINE("AirPDcapGetKeys", "NULL context", AIRPDCAP_DEBUG_LEVEL_5); AIRPDCAP_...
DoS
0
INT AirPDcapGetKeys( const PAIRPDCAP_CONTEXT ctx, AIRPDCAP_KEY_ITEM keys[], const size_t keys_nr) { UINT i; UINT j; AIRPDCAP_DEBUG_TRACE_START("AirPDcapGetKeys"); if (ctx==NULL) { AIRPDCAP_DEBUG_PRINT_LINE("AirPDcapGetKeys", "NULL context", AIRPDCAP_DEBUG_LEVEL_5); AIRPDCAP_...
@@ -351,7 +351,9 @@ AirPDcapDecryptWPABroadcastKey(const EAPOL_RSN_KEY *pEAPKey, guint8 *decryption_ } } - if (key_bytes_len < GROUP_KEY_MIN_LEN || key_bytes_len > eapol_len - sizeof(EAPOL_RSN_KEY)) { + if ((key_bytes_len < GROUP_KEY_MIN_LEN) || + (eapol_len < sizeof(EAPOL_RSN_KEY)) || + ...
CWE-125
null
null
41,607
AirPDcapGetSaAddress( const AIRPDCAP_MAC_FRAME_ADDR4 *frame, AIRPDCAP_SEC_ASSOCIATION_ID *id) { #ifdef _DEBUG #define MSGBUF_LEN 255 CHAR msgbuf[MSGBUF_LEN]; #endif if ((AIRPDCAP_TYPE(frame->fc[0])==AIRPDCAP_TYPE_DATA) && (AIRPDCAP_DS_BITS(frame->fc[1]) == 0) && (memcmp(frame->addr2, fr...
DoS
0
AirPDcapGetSaAddress( const AIRPDCAP_MAC_FRAME_ADDR4 *frame, AIRPDCAP_SEC_ASSOCIATION_ID *id) { #ifdef _DEBUG #define MSGBUF_LEN 255 CHAR msgbuf[MSGBUF_LEN]; #endif if ((AIRPDCAP_TYPE(frame->fc[0])==AIRPDCAP_TYPE_DATA) && (AIRPDCAP_DS_BITS(frame->fc[1]) == 0) && (memcmp(frame->addr2, fr...
@@ -351,7 +351,9 @@ AirPDcapDecryptWPABroadcastKey(const EAPOL_RSN_KEY *pEAPKey, guint8 *decryption_ } } - if (key_bytes_len < GROUP_KEY_MIN_LEN || key_bytes_len > eapol_len - sizeof(EAPOL_RSN_KEY)) { + if ((key_bytes_len < GROUP_KEY_MIN_LEN) || + (eapol_len < sizeof(EAPOL_RSN_KEY)) || + ...
CWE-125
null
null
41,608
AirPDcapGetStaAddress( const AIRPDCAP_MAC_FRAME_ADDR4 *frame) { switch(AIRPDCAP_DS_BITS(frame->fc[1])) { /* Bit 1 = FromDS, bit 0 = ToDS */ case 0: if (memcmp(frame->addr2, frame->addr3, AIRPDCAP_MAC_LEN) == 0) return frame->addr1; else return fram...
DoS
0
AirPDcapGetStaAddress( const AIRPDCAP_MAC_FRAME_ADDR4 *frame) { switch(AIRPDCAP_DS_BITS(frame->fc[1])) { /* Bit 1 = FromDS, bit 0 = ToDS */ case 0: if (memcmp(frame->addr2, frame->addr3, AIRPDCAP_MAC_LEN) == 0) return frame->addr1; else return fram...
@@ -351,7 +351,9 @@ AirPDcapDecryptWPABroadcastKey(const EAPOL_RSN_KEY *pEAPKey, guint8 *decryption_ } } - if (key_bytes_len < GROUP_KEY_MIN_LEN || key_bytes_len > eapol_len - sizeof(EAPOL_RSN_KEY)) { + if ((key_bytes_len < GROUP_KEY_MIN_LEN) || + (eapol_len < sizeof(EAPOL_RSN_KEY)) || + ...
CWE-125
null
null
41,609
INT AirPDcapInitContext( PAIRPDCAP_CONTEXT ctx) { AIRPDCAP_DEBUG_TRACE_START("AirPDcapInitContext"); if (ctx==NULL) { AIRPDCAP_DEBUG_PRINT_LINE("AirPDcapInitContext", "NULL context", AIRPDCAP_DEBUG_LEVEL_5); AIRPDCAP_DEBUG_TRACE_END("AirPDcapInitContext"); return AIRPDCAP_RET_UNSUCC...
DoS
0
INT AirPDcapInitContext( PAIRPDCAP_CONTEXT ctx) { AIRPDCAP_DEBUG_TRACE_START("AirPDcapInitContext"); if (ctx==NULL) { AIRPDCAP_DEBUG_PRINT_LINE("AirPDcapInitContext", "NULL context", AIRPDCAP_DEBUG_LEVEL_5); AIRPDCAP_DEBUG_TRACE_END("AirPDcapInitContext"); return AIRPDCAP_RET_UNSUCC...
@@ -351,7 +351,9 @@ AirPDcapDecryptWPABroadcastKey(const EAPOL_RSN_KEY *pEAPKey, guint8 *decryption_ } } - if (key_bytes_len < GROUP_KEY_MIN_LEN || key_bytes_len > eapol_len - sizeof(EAPOL_RSN_KEY)) { + if ((key_bytes_len < GROUP_KEY_MIN_LEN) || + (eapol_len < sizeof(EAPOL_RSN_KEY)) || + ...
CWE-125
null
null
41,610
INT AirPDcapPacketProcess( PAIRPDCAP_CONTEXT ctx, const guint8 *data, const guint mac_header_len, const guint tot_len, UCHAR *decrypt_data, guint *decrypt_len, PAIRPDCAP_KEY_ITEM key, gboolean scanHandshake) { AIRPDCAP_SEC_ASSOCIATION_ID id; UCHAR tmp_data[AIRPDCAP_MAX_CAPLEN]; ...
DoS
0
INT AirPDcapPacketProcess( PAIRPDCAP_CONTEXT ctx, const guint8 *data, const guint mac_header_len, const guint tot_len, UCHAR *decrypt_data, guint *decrypt_len, PAIRPDCAP_KEY_ITEM key, gboolean scanHandshake) { AIRPDCAP_SEC_ASSOCIATION_ID id; UCHAR tmp_data[AIRPDCAP_MAX_CAPLEN]; ...
@@ -351,7 +351,9 @@ AirPDcapDecryptWPABroadcastKey(const EAPOL_RSN_KEY *pEAPKey, guint8 *decryption_ } } - if (key_bytes_len < GROUP_KEY_MIN_LEN || key_bytes_len > eapol_len - sizeof(EAPOL_RSN_KEY)) { + if ((key_bytes_len < GROUP_KEY_MIN_LEN) || + (eapol_len < sizeof(EAPOL_RSN_KEY)) || + ...
CWE-125
null
null
41,611
AirPDcapRecurseCleanSA( PAIRPDCAP_SEC_ASSOCIATION sa) { if (sa->next != NULL) { AirPDcapRecurseCleanSA(sa->next); g_free(sa->next); sa->next = NULL; } }
DoS
0
AirPDcapRecurseCleanSA( PAIRPDCAP_SEC_ASSOCIATION sa) { if (sa->next != NULL) { AirPDcapRecurseCleanSA(sa->next); g_free(sa->next); sa->next = NULL; } }
@@ -351,7 +351,9 @@ AirPDcapDecryptWPABroadcastKey(const EAPOL_RSN_KEY *pEAPKey, guint8 *decryption_ } } - if (key_bytes_len < GROUP_KEY_MIN_LEN || key_bytes_len > eapol_len - sizeof(EAPOL_RSN_KEY)) { + if ((key_bytes_len < GROUP_KEY_MIN_LEN) || + (eapol_len < sizeof(EAPOL_RSN_KEY)) || + ...
CWE-125
null
null
41,612
AirPDcapRsna4WHandshake( PAIRPDCAP_CONTEXT ctx, const UCHAR *data, AIRPDCAP_SEC_ASSOCIATION *sa, INT offset, const guint tot_len) { AIRPDCAP_KEY_ITEM *tmp_key, *tmp_pkt_key, pkt_key; AIRPDCAP_SEC_ASSOCIATION *tmp_sa; INT key_index; INT ret_value=1; UCHAR useCache=FALSE; UCHAR...
DoS
0
AirPDcapRsna4WHandshake( PAIRPDCAP_CONTEXT ctx, const UCHAR *data, AIRPDCAP_SEC_ASSOCIATION *sa, INT offset, const guint tot_len) { AIRPDCAP_KEY_ITEM *tmp_key, *tmp_pkt_key, pkt_key; AIRPDCAP_SEC_ASSOCIATION *tmp_sa; INT key_index; INT ret_value=1; UCHAR useCache=FALSE; UCHAR...
@@ -351,7 +351,9 @@ AirPDcapDecryptWPABroadcastKey(const EAPOL_RSN_KEY *pEAPKey, guint8 *decryption_ } } - if (key_bytes_len < GROUP_KEY_MIN_LEN || key_bytes_len > eapol_len - sizeof(EAPOL_RSN_KEY)) { + if ((key_bytes_len < GROUP_KEY_MIN_LEN) || + (eapol_len < sizeof(EAPOL_RSN_KEY)) || + ...
CWE-125
null
null
41,613
AirPDcapRsnaMicCheck( UCHAR *eapol, USHORT eapol_len, UCHAR KCK[AIRPDCAP_WPA_KCK_LEN], USHORT key_ver) { UCHAR mic[AIRPDCAP_WPA_MICKEY_LEN]; UCHAR c_mic[20]; /* MIC 16 byte, the HMAC-SHA1 use a buffer of 20 bytes */ /* copy the MIC from the EAPOL packet */ memcpy(mic, eapol+AIRPDCAP_WP...
DoS
0
AirPDcapRsnaMicCheck( UCHAR *eapol, USHORT eapol_len, UCHAR KCK[AIRPDCAP_WPA_KCK_LEN], USHORT key_ver) { UCHAR mic[AIRPDCAP_WPA_MICKEY_LEN]; UCHAR c_mic[20]; /* MIC 16 byte, the HMAC-SHA1 use a buffer of 20 bytes */ /* copy the MIC from the EAPOL packet */ memcpy(mic, eapol+AIRPDCAP_WP...
@@ -351,7 +351,9 @@ AirPDcapDecryptWPABroadcastKey(const EAPOL_RSN_KEY *pEAPKey, guint8 *decryption_ } } - if (key_bytes_len < GROUP_KEY_MIN_LEN || key_bytes_len > eapol_len - sizeof(EAPOL_RSN_KEY)) { + if ((key_bytes_len < GROUP_KEY_MIN_LEN) || + (eapol_len < sizeof(EAPOL_RSN_KEY)) || + ...
CWE-125
null
null
41,614
AirPDcapRsnaMng( UCHAR *decrypt_data, guint mac_header_len, guint *decrypt_len, PAIRPDCAP_KEY_ITEM key, AIRPDCAP_SEC_ASSOCIATION *sa, INT offset) { INT ret_value=1; UCHAR *try_data; guint try_data_len = *decrypt_len; if (*decrypt_len > try_data_len) { AIRPDCAP_DEBUG_PRIN...
DoS
0
AirPDcapRsnaMng( UCHAR *decrypt_data, guint mac_header_len, guint *decrypt_len, PAIRPDCAP_KEY_ITEM key, AIRPDCAP_SEC_ASSOCIATION *sa, INT offset) { INT ret_value=1; UCHAR *try_data; guint try_data_len = *decrypt_len; if (*decrypt_len > try_data_len) { AIRPDCAP_DEBUG_PRIN...
@@ -351,7 +351,9 @@ AirPDcapDecryptWPABroadcastKey(const EAPOL_RSN_KEY *pEAPKey, guint8 *decryption_ } } - if (key_bytes_len < GROUP_KEY_MIN_LEN || key_bytes_len > eapol_len - sizeof(EAPOL_RSN_KEY)) { + if ((key_bytes_len < GROUP_KEY_MIN_LEN) || + (eapol_len < sizeof(EAPOL_RSN_KEY)) || + ...
CWE-125
null
null
41,615
AirPDcapRsnaPrfX( AIRPDCAP_SEC_ASSOCIATION *sa, const UCHAR pmk[32], const UCHAR snonce[32], const INT x, /* for TKIP 512, for CCMP 384 */ UCHAR *ptk) { UINT8 i; UCHAR R[100]; INT offset=sizeof("Pairwise key expansion"); UCHAR output[80]; /* allow for sha1 overflow. */ ...
DoS
0
AirPDcapRsnaPrfX( AIRPDCAP_SEC_ASSOCIATION *sa, const UCHAR pmk[32], const UCHAR snonce[32], const INT x, /* for TKIP 512, for CCMP 384 */ UCHAR *ptk) { UINT8 i; UCHAR R[100]; INT offset=sizeof("Pairwise key expansion"); UCHAR output[80]; /* allow for sha1 overflow. */ ...
@@ -351,7 +351,9 @@ AirPDcapDecryptWPABroadcastKey(const EAPOL_RSN_KEY *pEAPKey, guint8 *decryption_ } } - if (key_bytes_len < GROUP_KEY_MIN_LEN || key_bytes_len > eapol_len - sizeof(EAPOL_RSN_KEY)) { + if ((key_bytes_len < GROUP_KEY_MIN_LEN) || + (eapol_len < sizeof(EAPOL_RSN_KEY)) || + ...
CWE-125
null
null
41,616
AirPDcapRsnaPwd2Psk( const CHAR *passphrase, const CHAR *ssid, const size_t ssidLength, UCHAR *output) { UCHAR m_output[2*SHA1_DIGEST_LEN]; GByteArray *pp_ba = g_byte_array_new(); memset(m_output, 0, 2*SHA1_DIGEST_LEN); if (!uri_str_to_bytes(passphrase, pp_ba)) { g_byte_array_f...
DoS
0
AirPDcapRsnaPwd2Psk( const CHAR *passphrase, const CHAR *ssid, const size_t ssidLength, UCHAR *output) { UCHAR m_output[2*SHA1_DIGEST_LEN]; GByteArray *pp_ba = g_byte_array_new(); memset(m_output, 0, 2*SHA1_DIGEST_LEN); if (!uri_str_to_bytes(passphrase, pp_ba)) { g_byte_array_f...
@@ -351,7 +351,9 @@ AirPDcapDecryptWPABroadcastKey(const EAPOL_RSN_KEY *pEAPKey, guint8 *decryption_ } } - if (key_bytes_len < GROUP_KEY_MIN_LEN || key_bytes_len > eapol_len - sizeof(EAPOL_RSN_KEY)) { + if ((key_bytes_len < GROUP_KEY_MIN_LEN) || + (eapol_len < sizeof(EAPOL_RSN_KEY)) || + ...
CWE-125
null
null
41,617
AirPDcapRsnaPwd2PskStep( const guint8 *ppBytes, const guint ppLength, const CHAR *ssid, const size_t ssidLength, const INT iterations, const INT count, UCHAR *output) { UCHAR digest[MAX_SSID_LENGTH+4]; /* SSID plus 4 bytes of count */ UCHAR digest1[SHA1_DIGEST_LEN]; INT i, j; ...
DoS
0
AirPDcapRsnaPwd2PskStep( const guint8 *ppBytes, const guint ppLength, const CHAR *ssid, const size_t ssidLength, const INT iterations, const INT count, UCHAR *output) { UCHAR digest[MAX_SSID_LENGTH+4]; /* SSID plus 4 bytes of count */ UCHAR digest1[SHA1_DIGEST_LEN]; INT i, j; ...
@@ -351,7 +351,9 @@ AirPDcapDecryptWPABroadcastKey(const EAPOL_RSN_KEY *pEAPKey, guint8 *decryption_ } } - if (key_bytes_len < GROUP_KEY_MIN_LEN || key_bytes_len > eapol_len - sizeof(EAPOL_RSN_KEY)) { + if ((key_bytes_len < GROUP_KEY_MIN_LEN) || + (eapol_len < sizeof(EAPOL_RSN_KEY)) || + ...
CWE-125
null
null
41,618
INT AirPDcapSetKeys( PAIRPDCAP_CONTEXT ctx, AIRPDCAP_KEY_ITEM keys[], const size_t keys_nr) { INT i; INT success; AIRPDCAP_DEBUG_TRACE_START("AirPDcapSetKeys"); if (ctx==NULL || keys==NULL) { AIRPDCAP_DEBUG_PRINT_LINE("AirPDcapSetKeys", "NULL context or NULL keys array", AIRPDCAP_DE...
DoS
0
INT AirPDcapSetKeys( PAIRPDCAP_CONTEXT ctx, AIRPDCAP_KEY_ITEM keys[], const size_t keys_nr) { INT i; INT success; AIRPDCAP_DEBUG_TRACE_START("AirPDcapSetKeys"); if (ctx==NULL || keys==NULL) { AIRPDCAP_DEBUG_PRINT_LINE("AirPDcapSetKeys", "NULL context or NULL keys array", AIRPDCAP_DE...
@@ -351,7 +351,9 @@ AirPDcapDecryptWPABroadcastKey(const EAPOL_RSN_KEY *pEAPKey, guint8 *decryption_ } } - if (key_bytes_len < GROUP_KEY_MIN_LEN || key_bytes_len > eapol_len - sizeof(EAPOL_RSN_KEY)) { + if ((key_bytes_len < GROUP_KEY_MIN_LEN) || + (eapol_len < sizeof(EAPOL_RSN_KEY)) || + ...
CWE-125
null
null
41,619
INT AirPDcapSetLastSSID( PAIRPDCAP_CONTEXT ctx, CHAR *pkt_ssid, size_t pkt_ssid_len) { if (!ctx || !pkt_ssid || pkt_ssid_len < 1 || pkt_ssid_len > WPA_SSID_MAX_SIZE) return AIRPDCAP_RET_UNSUCCESS; memcpy(ctx->pkt_ssid, pkt_ssid, pkt_ssid_len); ctx->pkt_ssid_len = pkt_ssid_len; retu...
DoS
0
INT AirPDcapSetLastSSID( PAIRPDCAP_CONTEXT ctx, CHAR *pkt_ssid, size_t pkt_ssid_len) { if (!ctx || !pkt_ssid || pkt_ssid_len < 1 || pkt_ssid_len > WPA_SSID_MAX_SIZE) return AIRPDCAP_RET_UNSUCCESS; memcpy(ctx->pkt_ssid, pkt_ssid, pkt_ssid_len); ctx->pkt_ssid_len = pkt_ssid_len; retu...
@@ -351,7 +351,9 @@ AirPDcapDecryptWPABroadcastKey(const EAPOL_RSN_KEY *pEAPKey, guint8 *decryption_ } } - if (key_bytes_len < GROUP_KEY_MIN_LEN || key_bytes_len > eapol_len - sizeof(EAPOL_RSN_KEY)) { + if ((key_bytes_len < GROUP_KEY_MIN_LEN) || + (eapol_len < sizeof(EAPOL_RSN_KEY)) || + ...
CWE-125
null
null
41,620
AirPDcapStoreSa( PAIRPDCAP_CONTEXT ctx, AIRPDCAP_SEC_ASSOCIATION_ID *id) { INT last_free; if (ctx->first_free_index>=AIRPDCAP_MAX_SEC_ASSOCIATIONS_NR) { /* there is no empty space available. FAILURE */ return -1; } if (ctx->sa[ctx->first_free_index].used) { /* last additi...
DoS
0
AirPDcapStoreSa( PAIRPDCAP_CONTEXT ctx, AIRPDCAP_SEC_ASSOCIATION_ID *id) { INT last_free; if (ctx->first_free_index>=AIRPDCAP_MAX_SEC_ASSOCIATIONS_NR) { /* there is no empty space available. FAILURE */ return -1; } if (ctx->sa[ctx->first_free_index].used) { /* last additi...
@@ -351,7 +351,9 @@ AirPDcapDecryptWPABroadcastKey(const EAPOL_RSN_KEY *pEAPKey, guint8 *decryption_ } } - if (key_bytes_len < GROUP_KEY_MIN_LEN || key_bytes_len > eapol_len - sizeof(EAPOL_RSN_KEY)) { + if ((key_bytes_len < GROUP_KEY_MIN_LEN) || + (eapol_len < sizeof(EAPOL_RSN_KEY)) || + ...
CWE-125
null
null
41,621
AirPDcapTDLSDeriveKey( PAIRPDCAP_SEC_ASSOCIATION sa, const guint8 *data, guint offset_rsne, guint offset_fte, guint offset_timeout, guint offset_link, guint8 action) { sha256_hmac_context sha_ctx; aes_cmac_ctx aes_ctx; const guint8 *snonce, *anonce, *initiator, *responder, *bssi...
DoS
0
AirPDcapTDLSDeriveKey( PAIRPDCAP_SEC_ASSOCIATION sa, const guint8 *data, guint offset_rsne, guint offset_fte, guint offset_timeout, guint offset_link, guint8 action) { sha256_hmac_context sha_ctx; aes_cmac_ctx aes_ctx; const guint8 *snonce, *anonce, *initiator, *responder, *bssi...
@@ -351,7 +351,9 @@ AirPDcapDecryptWPABroadcastKey(const EAPOL_RSN_KEY *pEAPKey, guint8 *decryption_ } } - if (key_bytes_len < GROUP_KEY_MIN_LEN || key_bytes_len > eapol_len - sizeof(EAPOL_RSN_KEY)) { + if ((key_bytes_len < GROUP_KEY_MIN_LEN) || + (eapol_len < sizeof(EAPOL_RSN_KEY)) || + ...
CWE-125
null
null
41,622
AirPDcapValidateKey( PAIRPDCAP_KEY_ITEM key) { size_t len; UCHAR ret=TRUE; AIRPDCAP_DEBUG_TRACE_START("AirPDcapValidateKey"); if (key==NULL) { AIRPDCAP_DEBUG_PRINT_LINE("AirPDcapValidateKey", "NULL key", AIRPDCAP_DEBUG_LEVEL_5); AIRPDCAP_DEBUG_TRACE_START("AirPDcapValidateKey"); ...
DoS
0
AirPDcapValidateKey( PAIRPDCAP_KEY_ITEM key) { size_t len; UCHAR ret=TRUE; AIRPDCAP_DEBUG_TRACE_START("AirPDcapValidateKey"); if (key==NULL) { AIRPDCAP_DEBUG_PRINT_LINE("AirPDcapValidateKey", "NULL key", AIRPDCAP_DEBUG_LEVEL_5); AIRPDCAP_DEBUG_TRACE_START("AirPDcapValidateKey"); ...
@@ -351,7 +351,9 @@ AirPDcapDecryptWPABroadcastKey(const EAPOL_RSN_KEY *pEAPKey, guint8 *decryption_ } } - if (key_bytes_len < GROUP_KEY_MIN_LEN || key_bytes_len > eapol_len - sizeof(EAPOL_RSN_KEY)) { + if ((key_bytes_len < GROUP_KEY_MIN_LEN) || + (eapol_len < sizeof(EAPOL_RSN_KEY)) || + ...
CWE-125
null
null
41,623
AirPDcapDecryptWPABroadcastKey(const EAPOL_RSN_KEY *pEAPKey, guint8 *decryption_key, PAIRPDCAP_SEC_ASSOCIATION sa, guint eapol_len) { guint8 key_version; guint8 *key_data; guint8 *szEncryptedKey; guint16 key_bytes_len = 0; /* Length of the total key data field */ guint16 key_len; /* Actua...
DoS
0
AirPDcapDecryptWPABroadcastKey(const EAPOL_RSN_KEY *pEAPKey, guint8 *decryption_key, PAIRPDCAP_SEC_ASSOCIATION sa, guint eapol_len) { guint8 key_version; guint8 *key_data; guint8 *szEncryptedKey; guint16 key_bytes_len = 0; /* Length of the total key data field */ guint16 key_len; /* Actua...
@@ -571,7 +571,7 @@ static INT AirPDcapScanForKeys( /* get and check the body length (IEEE 802.1X-2004, pg. 25) */ bodyLength=pntoh16(data+offset+2); - if ((tot_len-offset-4) < bodyLength) { /* Only check if frame is long enough for eapol header, ignore tailing garbage, see bug 9065 */ + ...
CWE-20
null
null
41,624
SpoolssAddPrinterDriver_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { /* Parse packet */ offset = dissect_doserror( tvb, offset, pinfo, tree, di, drep, hf_rc, NULL); return offset; }
DoS
0
SpoolssAddPrinterDriver_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { /* Parse packet */ offset = dissect_doserror( tvb, offset, pinfo, tree, di, drep, hf_rc, NULL); return offset; }
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,625
SpoolssAddPrinterEx_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { dcerpc_call_value *dcv = (dcerpc_call_value *)di->call_data; e_ctx_hnd policy_hnd; proto_item *hnd_item; guint32 status; /* Parse packet */ offset = dissect_nt_policy_hnd( tvb, offs...
DoS
0
SpoolssAddPrinterEx_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { dcerpc_call_value *dcv = (dcerpc_call_value *)di->call_data; e_ctx_hnd policy_hnd; proto_item *hnd_item; guint32 status; /* Parse packet */ offset = dissect_nt_policy_hnd( tvb, offs...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,626
SpoolssClosePrinter_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { e_ctx_hnd policy_hnd; char *pol_name; /* Parse packet */ offset = dissect_nt_policy_hnd( tvb, offset, pinfo, tree, di, drep, hf_hnd, &policy_hnd, NULL, FALSE, TRUE); dcerpc_f...
DoS
0
SpoolssClosePrinter_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { e_ctx_hnd policy_hnd; char *pol_name; /* Parse packet */ offset = dissect_nt_policy_hnd( tvb, offset, pinfo, tree, di, drep, hf_hnd, &policy_hnd, NULL, FALSE, TRUE); dcerpc_f...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,627
SpoolssClosePrinter_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { /* Parse packet */ offset = dissect_nt_policy_hnd( tvb, offset, pinfo, tree, di, drep, hf_hnd, NULL, NULL, FALSE, FALSE); offset = dissect_doserror( tvb, offset, pinfo, tree,...
DoS
0
SpoolssClosePrinter_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { /* Parse packet */ offset = dissect_nt_policy_hnd( tvb, offset, pinfo, tree, di, drep, hf_hnd, NULL, NULL, FALSE, FALSE); offset = dissect_doserror( tvb, offset, pinfo, tree,...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,628
SpoolssDeleteForm_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { proto_item *hidden_item; char *name = NULL; hidden_item = proto_tree_add_uint( tree, hf_form, tvb, offset, 0, 1); PROTO_ITEM_SET_HIDDEN(hidden_item); /* Parse packet */ offset =...
DoS
0
SpoolssDeleteForm_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { proto_item *hidden_item; char *name = NULL; hidden_item = proto_tree_add_uint( tree, hf_form, tvb, offset, 0, 1); PROTO_ITEM_SET_HIDDEN(hidden_item); /* Parse packet */ offset =...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,629
SpoolssDeleteForm_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { proto_item *hidden_item; hidden_item = proto_tree_add_uint( tree, hf_form, tvb, offset, 0, 1); PROTO_ITEM_SET_HIDDEN(hidden_item); /* Parse packet */ offset = dissect_doserror( tv...
DoS
0
SpoolssDeleteForm_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { proto_item *hidden_item; hidden_item = proto_tree_add_uint( tree, hf_form, tvb, offset, 0, 1); PROTO_ITEM_SET_HIDDEN(hidden_item); /* Parse packet */ offset = dissect_doserror( tv...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,630
SpoolssDeletePrinterData_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { char *value_name; proto_item *hidden_item; hidden_item = proto_tree_add_uint( tree, hf_printerdata, tvb, offset, 0, 1); PROTO_ITEM_SET_HIDDEN(hidden_item); /* Parse p...
DoS
0
SpoolssDeletePrinterData_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { char *value_name; proto_item *hidden_item; hidden_item = proto_tree_add_uint( tree, hf_printerdata, tvb, offset, 0, 1); PROTO_ITEM_SET_HIDDEN(hidden_item); /* Parse p...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,631
SpoolssDeletePrinterData_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { proto_item *hidden_item; hidden_item = proto_tree_add_uint( tree, hf_printerdata, tvb, offset, 0, 1); PROTO_ITEM_SET_HIDDEN(hidden_item); /* Parse packet */ offset =...
DoS
0
SpoolssDeletePrinterData_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { proto_item *hidden_item; hidden_item = proto_tree_add_uint( tree, hf_printerdata, tvb, offset, 0, 1); PROTO_ITEM_SET_HIDDEN(hidden_item); /* Parse packet */ offset =...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,632
SpoolssDeletePrinter_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { /* Parse packet */ offset = dissect_nt_policy_hnd( tvb, offset, pinfo, tree, di, drep, hf_hnd, NULL, NULL, FALSE, FALSE); offset = dissect_doserror( tvb, offset, pinfo, tre...
DoS
0
SpoolssDeletePrinter_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { /* Parse packet */ offset = dissect_nt_policy_hnd( tvb, offset, pinfo, tree, di, drep, hf_hnd, NULL, NULL, FALSE, FALSE); offset = dissect_doserror( tvb, offset, pinfo, tre...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,633
SpoolssEndDocPrinter_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { e_ctx_hnd policy_hnd; char *pol_name; /* Parse packet */ offset = dissect_nt_policy_hnd( tvb, offset, pinfo, tree, di, drep, hf_hnd, &policy_hnd, NULL, FALSE, FALSE); dcerpc_f...
DoS
0
SpoolssEndDocPrinter_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { e_ctx_hnd policy_hnd; char *pol_name; /* Parse packet */ offset = dissect_nt_policy_hnd( tvb, offset, pinfo, tree, di, drep, hf_hnd, &policy_hnd, NULL, FALSE, FALSE); dcerpc_f...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,634
SpoolssEndDocPrinter_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { /* Parse packet */ offset = dissect_doserror( tvb, offset, pinfo, tree, di, drep, hf_rc, NULL); return offset; }
DoS
0
SpoolssEndDocPrinter_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { /* Parse packet */ offset = dissect_doserror( tvb, offset, pinfo, tree, di, drep, hf_rc, NULL); return offset; }
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,635
SpoolssEndPagePrinter_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { e_ctx_hnd policy_hnd; char *pol_name; /* Parse packet */ offset = dissect_nt_policy_hnd( tvb, offset, pinfo, tree, di, drep, hf_hnd, &policy_hnd, NULL, FALSE, FALSE); dcerp...
DoS
0
SpoolssEndPagePrinter_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { e_ctx_hnd policy_hnd; char *pol_name; /* Parse packet */ offset = dissect_nt_policy_hnd( tvb, offset, pinfo, tree, di, drep, hf_hnd, &policy_hnd, NULL, FALSE, FALSE); dcerp...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,636
SpoolssEndPagePrinter_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { /* Parse packet */ offset = dissect_doserror( tvb, offset, pinfo, tree, di, drep, hf_rc, NULL); return offset; }
DoS
0
SpoolssEndPagePrinter_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { /* Parse packet */ offset = dissect_doserror( tvb, offset, pinfo, tree, di, drep, hf_rc, NULL); return offset; }
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,637
SpoolssEnumForms_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { dcerpc_call_value *dcv = (dcerpc_call_value *)di->call_data; BUFFER buffer; guint32 level = GPOINTER_TO_UINT(dcv->se_data), i, count; int buffer_offset; proto_item *hidden_item; hidde...
DoS
0
SpoolssEnumForms_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { dcerpc_call_value *dcv = (dcerpc_call_value *)di->call_data; BUFFER buffer; guint32 level = GPOINTER_TO_UINT(dcv->se_data), i, count; int buffer_offset; proto_item *hidden_item; hidde...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,638
SpoolssEnumPrinterDataEx_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { char *key_name; proto_item *hidden_item; hidden_item = proto_tree_add_uint( tree, hf_printerdata, tvb, offset, 0, 1); PROTO_ITEM_SET_HIDDEN(hidden_item); /* Parse pac...
DoS
0
SpoolssEnumPrinterDataEx_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { char *key_name; proto_item *hidden_item; hidden_item = proto_tree_add_uint( tree, hf_printerdata, tvb, offset, 0, 1); PROTO_ITEM_SET_HIDDEN(hidden_item); /* Parse pac...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,639
SpoolssEnumPrinterDataEx_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { guint32 size, num_values; proto_item *hidden_item; hidden_item = proto_tree_add_uint( tree, hf_printerdata, tvb, offset, 0, 1); PROTO_ITEM_SET_HIDDEN(hidden_item); /* Parse...
DoS
0
SpoolssEnumPrinterDataEx_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { guint32 size, num_values; proto_item *hidden_item; hidden_item = proto_tree_add_uint( tree, hf_printerdata, tvb, offset, 0, 1); PROTO_ITEM_SET_HIDDEN(hidden_item); /* Parse...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,640
SpoolssEnumPrinterData_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { guint32 ndx; proto_item *hidden_item; hidden_item = proto_tree_add_uint( tree, hf_printerdata, tvb, offset, 0, 1); PROTO_ITEM_SET_HIDDEN(hidden_item); /* Parse packet *...
DoS
0
SpoolssEnumPrinterData_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { guint32 ndx; proto_item *hidden_item; hidden_item = proto_tree_add_uint( tree, hf_printerdata, tvb, offset, 0, 1); PROTO_ITEM_SET_HIDDEN(hidden_item); /* Parse packet *...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,641
SpoolssEnumPrinterData_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { guint32 value_len, type; char *value; proto_item *value_item; proto_tree *value_subtree; proto_item *hidden_item; hidden_item = proto_tree_add_uint( tree, hf_printerdat...
DoS
0
SpoolssEnumPrinterData_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { guint32 value_len, type; char *value; proto_item *value_item; proto_tree *value_subtree; proto_item *hidden_item; hidden_item = proto_tree_add_uint( tree, hf_printerdat...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,642
SpoolssEnumPrinterDrivers_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { dcerpc_call_value *dcv = (dcerpc_call_value *)di->call_data; guint32 level; /* Parse packet */ offset = dissect_ndr_str_pointer_item( tvb, offset, pinfo, tree, di, ...
DoS
0
SpoolssEnumPrinterDrivers_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { dcerpc_call_value *dcv = (dcerpc_call_value *)di->call_data; guint32 level; /* Parse packet */ offset = dissect_ndr_str_pointer_item( tvb, offset, pinfo, tree, di, ...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,643
SpoolssEnumPrinterDrivers_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { dcerpc_call_value *dcv = (dcerpc_call_value *)di->call_data; guint32 level = GPOINTER_TO_UINT(dcv->se_data), num_drivers, i; int buffer_offset; BUFFER buffer; /* Pars...
DoS
0
SpoolssEnumPrinterDrivers_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { dcerpc_call_value *dcv = (dcerpc_call_value *)di->call_data; guint32 level = GPOINTER_TO_UINT(dcv->se_data), num_drivers, i; int buffer_offset; BUFFER buffer; /* Pars...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,644
SpoolssEnumPrinterKey_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { char *key_name; /* Parse packet */ offset = dissect_nt_policy_hnd( tvb, offset, pinfo, tree, di, drep, hf_hnd, NULL, NULL, FALSE, FALSE); offset = dissect_ndr_cvstring( tv...
DoS
0
SpoolssEnumPrinterKey_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { char *key_name; /* Parse packet */ offset = dissect_nt_policy_hnd( tvb, offset, pinfo, tree, di, drep, hf_hnd, NULL, NULL, FALSE, FALSE); offset = dissect_ndr_cvstring( tv...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,645
SpoolssEnumPrinterKey_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { /* Parse packet */ offset = dissect_spoolss_keybuffer(tvb, offset, pinfo, tree, di, drep); offset = dissect_ndr_uint32( tvb, offset, pinfo, tree, di, drep, hf_needed, NULL); o...
DoS
0
SpoolssEnumPrinterKey_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { /* Parse packet */ offset = dissect_spoolss_keybuffer(tvb, offset, pinfo, tree, di, drep); offset = dissect_ndr_uint32( tvb, offset, pinfo, tree, di, drep, hf_needed, NULL); o...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,646
SpoolssEnumPrinters_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { guint32 num_drivers; dcerpc_call_value *dcv = (dcerpc_call_value *)di->call_data; gint16 level = GPOINTER_TO_INT(dcv->se_data); BUFFER buffer; proto_item *item; proto_tree *subtree = NU...
DoS
0
SpoolssEnumPrinters_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { guint32 num_drivers; dcerpc_call_value *dcv = (dcerpc_call_value *)di->call_data; gint16 level = GPOINTER_TO_INT(dcv->se_data); BUFFER buffer; proto_item *item; proto_tree *subtree = NU...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,647
SpoolssGetForm_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { dcerpc_call_value *dcv = (dcerpc_call_value *)di->call_data; proto_item *hidden_item; guint32 level; char *name; hidden_item = proto_tree_add_uint( tree, hf_form, tvb, offset, 0, 1); PR...
DoS
0
SpoolssGetForm_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { dcerpc_call_value *dcv = (dcerpc_call_value *)di->call_data; proto_item *hidden_item; guint32 level; char *name; hidden_item = proto_tree_add_uint( tree, hf_form, tvb, offset, 0, 1); PR...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,648
SpoolssGetForm_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { dcerpc_call_value *dcv = (dcerpc_call_value *)di->call_data; BUFFER buffer; guint32 level = GPOINTER_TO_UINT(dcv->se_data); proto_item *hidden_item; hidden_item = proto_tree_add_uint( tr...
DoS
0
SpoolssGetForm_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { dcerpc_call_value *dcv = (dcerpc_call_value *)di->call_data; BUFFER buffer; guint32 level = GPOINTER_TO_UINT(dcv->se_data); proto_item *hidden_item; hidden_item = proto_tree_add_uint( tr...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,649
SpoolssGetJob_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { dcerpc_call_value *dcv = (dcerpc_call_value *)di->call_data; guint32 level, jobid; /* Parse packet */ offset = dissect_nt_policy_hnd( tvb, offset, pinfo, tree, di, drep, hf_hnd, NULL, NULL, ...
DoS
0
SpoolssGetJob_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { dcerpc_call_value *dcv = (dcerpc_call_value *)di->call_data; guint32 level, jobid; /* Parse packet */ offset = dissect_nt_policy_hnd( tvb, offset, pinfo, tree, di, drep, hf_hnd, NULL, NULL, ...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,650
SpoolssGetJob_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { dcerpc_call_value *dcv = (dcerpc_call_value *)di->call_data; gint32 level = GPOINTER_TO_UINT(dcv->se_data); BUFFER buffer; /* Parse packet */ offset = dissect_spoolss_buffer(tvb, offset, pinfo, tr...
DoS
0
SpoolssGetJob_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { dcerpc_call_value *dcv = (dcerpc_call_value *)di->call_data; gint32 level = GPOINTER_TO_UINT(dcv->se_data); BUFFER buffer; /* Parse packet */ offset = dissect_spoolss_buffer(tvb, offset, pinfo, tr...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,651
SpoolssGetPrinterDataEx_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { dcerpc_call_value *dcv = (dcerpc_call_value *)di->call_data; char *key_name, *value_name; proto_item *hidden_item; hidden_item = proto_tree_add_uint( tree, hf_printerd...
DoS
0
SpoolssGetPrinterDataEx_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { dcerpc_call_value *dcv = (dcerpc_call_value *)di->call_data; char *key_name, *value_name; proto_item *hidden_item; hidden_item = proto_tree_add_uint( tree, hf_printerd...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,652
SpoolssGetPrinterData_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { dcerpc_call_value *dcv = (dcerpc_call_value *)di->call_data; guint32 type; proto_item *hidden_item; const char *data; hidden_item = proto_tree_add_uint( tree, hf_printerdat...
DoS
0
SpoolssGetPrinterData_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { dcerpc_call_value *dcv = (dcerpc_call_value *)di->call_data; guint32 type; proto_item *hidden_item; const char *data; hidden_item = proto_tree_add_uint( tree, hf_printerdat...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,653
SpoolssGetPrinterDriver2_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { dcerpc_call_value *dcv = (dcerpc_call_value *)di->call_data; e_ctx_hnd policy_hnd; char *pol_name; guint32 level; /* Parse packet */ offset = dissect_nt_policy_hnd( ...
DoS
0
SpoolssGetPrinterDriver2_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { dcerpc_call_value *dcv = (dcerpc_call_value *)di->call_data; e_ctx_hnd policy_hnd; char *pol_name; guint32 level; /* Parse packet */ offset = dissect_nt_policy_hnd( ...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,654
SpoolssGetPrinterDriverDirectory_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { guint32 level; /* Parse packet */ offset = dissect_ndr_str_pointer_item( tvb, offset, pinfo, tree, di, drep, NDR_POINTER_UNIQUE, "Name", hf_servername, 0); ...
DoS
0
SpoolssGetPrinterDriverDirectory_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { guint32 level; /* Parse packet */ offset = dissect_ndr_str_pointer_item( tvb, offset, pinfo, tree, di, drep, NDR_POINTER_UNIQUE, "Name", hf_servername, 0); ...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,655
SpoolssGetPrinterDriverDirectory_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { /* Parse packet */ offset = dissect_spoolss_string_parm( tvb, offset, pinfo, tree, di, drep, "Directory"); offset = dissect_ndr_uint32( tvb, offset, pinfo, tr...
DoS
0
SpoolssGetPrinterDriverDirectory_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { /* Parse packet */ offset = dissect_spoolss_string_parm( tvb, offset, pinfo, tree, di, drep, "Directory"); offset = dissect_ndr_uint32( tvb, offset, pinfo, tr...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,656
SpoolssGetPrinter_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { dcerpc_call_value *dcv = (dcerpc_call_value *)di->call_data; guint32 level; /* Parse packet */ offset = dissect_nt_policy_hnd( tvb, offset, pinfo, tree, di, drep, hf_hnd, NULL, NUL...
DoS
0
SpoolssGetPrinter_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { dcerpc_call_value *dcv = (dcerpc_call_value *)di->call_data; guint32 level; /* Parse packet */ offset = dissect_nt_policy_hnd( tvb, offset, pinfo, tree, di, drep, hf_hnd, NULL, NUL...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,657
SpoolssOpenPrinterEx_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { dcerpc_call_value *dcv = (dcerpc_call_value *)di->call_data; char *name; /* Parse packet */ dcv->private_data=NULL; offset = dissect_ndr_pointer_cb( tvb, offset, pinfo, tree,...
DoS
0
SpoolssOpenPrinterEx_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { dcerpc_call_value *dcv = (dcerpc_call_value *)di->call_data; char *name; /* Parse packet */ dcv->private_data=NULL; offset = dissect_ndr_pointer_cb( tvb, offset, pinfo, tree,...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,658
SpoolssOpenPrinterEx_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { dcerpc_call_value *dcv = (dcerpc_call_value *)di->call_data; e_ctx_hnd policy_hnd; proto_item *hnd_item; guint32 status; /* Parse packet */ offset = dissect_nt_policy_hnd( t...
DoS
0
SpoolssOpenPrinterEx_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { dcerpc_call_value *dcv = (dcerpc_call_value *)di->call_data; e_ctx_hnd policy_hnd; proto_item *hnd_item; guint32 status; /* Parse packet */ offset = dissect_nt_policy_hnd( t...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,659
SpoolssRFFPCNEX_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { guint32 flags; static const int * hf_flags[] = { &hf_rffpcnex_flags_timeout, &hf_rffpcnex_flags_delete_driver, &hf_rffpcnex_flags_set_driver, &hf_rffpcnex_flags_add_driver, ...
DoS
0
SpoolssRFFPCNEX_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { guint32 flags; static const int * hf_flags[] = { &hf_rffpcnex_flags_timeout, &hf_rffpcnex_flags_delete_driver, &hf_rffpcnex_flags_set_driver, &hf_rffpcnex_flags_add_driver, ...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,660
SpoolssRFNPCNEX_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { guint32 changeid; /* Parse packet */ offset = dissect_nt_policy_hnd( tvb, offset, pinfo, tree, di, drep, hf_hnd, NULL, NULL, FALSE, FALSE); offset = dissect_ndr_uint32( tvb, offset, p...
DoS
0
SpoolssRFNPCNEX_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { guint32 changeid; /* Parse packet */ offset = dissect_nt_policy_hnd( tvb, offset, pinfo, tree, di, drep, hf_hnd, NULL, NULL, FALSE, FALSE); offset = dissect_ndr_uint32( tvb, offset, p...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,661
SpoolssRFNPCNEX_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { /* Parse packet */ offset = dissect_ndr_pointer( tvb, offset, pinfo, tree, di, drep, dissect_NOTIFY_INFO, NDR_POINTER_UNIQUE, "Notify Info", -1); offset = dissect_doserror( tvb, offse...
DoS
0
SpoolssRFNPCNEX_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { /* Parse packet */ offset = dissect_ndr_pointer( tvb, offset, pinfo, tree, di, drep, dissect_NOTIFY_INFO, NDR_POINTER_UNIQUE, "Notify Info", -1); offset = dissect_doserror( tvb, offse...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,662
SpoolssRRPCN_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { guint32 changeid; /* Parse packet */ offset = dissect_nt_policy_hnd( tvb, offset, pinfo, tree, di, drep, hf_hnd, NULL, NULL, FALSE, FALSE); offset = dissect_ndr_uint32( tvb, offset, pinfo, ...
DoS
0
SpoolssRRPCN_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { guint32 changeid; /* Parse packet */ offset = dissect_nt_policy_hnd( tvb, offset, pinfo, tree, di, drep, hf_hnd, NULL, NULL, FALSE, FALSE); offset = dissect_ndr_uint32( tvb, offset, pinfo, ...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,663
SpoolssReplyClosePrinter_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { /* Parse packet */ offset = dissect_nt_policy_hnd( tvb, offset, pinfo, tree, di, drep, hf_hnd, NULL, NULL, FALSE, TRUE); return offset; }
DoS
0
SpoolssReplyClosePrinter_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { /* Parse packet */ offset = dissect_nt_policy_hnd( tvb, offset, pinfo, tree, di, drep, hf_hnd, NULL, NULL, FALSE, TRUE); return offset; }
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,664
SpoolssReplyClosePrinter_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { /* Parse packet */ offset = dissect_nt_policy_hnd( tvb, offset, pinfo, tree, di, drep, hf_hnd, NULL, NULL, FALSE, FALSE); offset = dissect_doserror( tvb, offset, pi...
DoS
0
SpoolssReplyClosePrinter_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { /* Parse packet */ offset = dissect_nt_policy_hnd( tvb, offset, pinfo, tree, di, drep, hf_hnd, NULL, NULL, FALSE, FALSE); offset = dissect_doserror( tvb, offset, pi...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,665
SpoolssReplyOpenPrinter_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { dcerpc_call_value *dcv = (dcerpc_call_value *)di->call_data; guint32 printerlocal; char *name; /* Parse packet */ name=NULL; offset = dissect_ndr_cvstring( tvb, offs...
DoS
0
SpoolssReplyOpenPrinter_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { dcerpc_call_value *dcv = (dcerpc_call_value *)di->call_data; guint32 printerlocal; char *name; /* Parse packet */ name=NULL; offset = dissect_ndr_cvstring( tvb, offs...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,666
SpoolssRouterReplyPrinter_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { /* Parse packet */ offset = dissect_nt_policy_hnd( tvb, offset, pinfo, tree, di, drep, hf_hnd, NULL, NULL, FALSE, FALSE); offset = dissect_ndr_uint32( tvb, offset, pinfo, t...
DoS
0
SpoolssRouterReplyPrinter_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { /* Parse packet */ offset = dissect_nt_policy_hnd( tvb, offset, pinfo, tree, di, drep, hf_hnd, NULL, NULL, FALSE, FALSE); offset = dissect_ndr_uint32( tvb, offset, pinfo, t...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,667
SpoolssRouterReplyPrinter_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { /* Parse packet */ offset = dissect_doserror( tvb, offset, pinfo, tree, di, drep, hf_rc, NULL); return offset; }
DoS
0
SpoolssRouterReplyPrinter_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { /* Parse packet */ offset = dissect_doserror( tvb, offset, pinfo, tree, di, drep, hf_rc, NULL); return offset; }
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,668
SpoolssSetForm_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { char *name = NULL; guint32 level; proto_item *hidden_item; hidden_item = proto_tree_add_uint( tree, hf_form, tvb, offset, 0, 1); PROTO_ITEM_SET_HIDDEN(hidden_item); /* Parse packet */ ...
DoS
0
SpoolssSetForm_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { char *name = NULL; guint32 level; proto_item *hidden_item; hidden_item = proto_tree_add_uint( tree, hf_form, tvb, offset, 0, 1); PROTO_ITEM_SET_HIDDEN(hidden_item); /* Parse packet */ ...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,669
SpoolssSetForm_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { proto_item *hidden_item; hidden_item = proto_tree_add_uint( tree, hf_form, tvb, offset, 0, 1); PROTO_ITEM_SET_HIDDEN(hidden_item); /* Parse packet */ offset = dissect_doserror( tvb, ...
DoS
0
SpoolssSetForm_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { proto_item *hidden_item; hidden_item = proto_tree_add_uint( tree, hf_form, tvb, offset, 0, 1); PROTO_ITEM_SET_HIDDEN(hidden_item); /* Parse packet */ offset = dissect_doserror( tvb, ...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,670
SpoolssSetJob_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { /* Parse packet */ offset = dissect_doserror( tvb, offset, pinfo, tree, di, drep, hf_rc, NULL); return offset; }
DoS
0
SpoolssSetJob_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { /* Parse packet */ offset = dissect_doserror( tvb, offset, pinfo, tree, di, drep, hf_rc, NULL); return offset; }
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,671
SpoolssSetPrinterDataEx_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { char *key_name, *value_name; guint32 max_len; proto_item *hidden_item; hidden_item = proto_tree_add_uint( tree, hf_printerdata, tvb, offset, 0, 1); PROTO_ITEM_SET_HID...
DoS
0
SpoolssSetPrinterDataEx_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { char *key_name, *value_name; guint32 max_len; proto_item *hidden_item; hidden_item = proto_tree_add_uint( tree, hf_printerdata, tvb, offset, 0, 1); PROTO_ITEM_SET_HID...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,672
SpoolssSetPrinterDataEx_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { proto_item *hidden_item; hidden_item = proto_tree_add_uint( tree, hf_printerdata, tvb, offset, 0, 1); PROTO_ITEM_SET_HIDDEN(hidden_item); /* Parse packet */ offset ...
DoS
0
SpoolssSetPrinterDataEx_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { proto_item *hidden_item; hidden_item = proto_tree_add_uint( tree, hf_printerdata, tvb, offset, 0, 1); PROTO_ITEM_SET_HIDDEN(hidden_item); /* Parse packet */ offset ...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,673
SpoolssSetPrinter_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { /* Parse packet */ offset = dissect_doserror( tvb, offset, pinfo, tree, di, drep, hf_rc, NULL); return offset; }
DoS
0
SpoolssSetPrinter_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { /* Parse packet */ offset = dissect_doserror( tvb, offset, pinfo, tree, di, drep, hf_rc, NULL); return offset; }
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,674
SpoolssStartPagePrinter_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { e_ctx_hnd policy_hnd; char *pol_name; /* Parse packet */ offset = dissect_nt_policy_hnd( tvb, offset, pinfo, tree, di, drep, hf_hnd, &policy_hnd, NULL, FALSE, FALSE); ...
DoS
0
SpoolssStartPagePrinter_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { e_ctx_hnd policy_hnd; char *pol_name; /* Parse packet */ offset = dissect_nt_policy_hnd( tvb, offset, pinfo, tree, di, drep, hf_hnd, &policy_hnd, NULL, FALSE, FALSE); ...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,675
SpoolssStartPagePrinter_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { /* Parse packet */ offset = dissect_doserror( tvb, offset, pinfo, tree, di, drep, hf_rc, NULL); return offset; }
DoS
0
SpoolssStartPagePrinter_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { /* Parse packet */ offset = dissect_doserror( tvb, offset, pinfo, tree, di, drep, hf_rc, NULL); return offset; }
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,676
SpoolssWritePrinter_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { e_ctx_hnd policy_hnd; char *pol_name; guint32 size; proto_item *item; proto_tree *subtree; /* Parse packet */ offset = dissect_nt_policy_hnd( tvb, offset, pinfo, tree, di, drep, hf_hnd...
DoS
0
SpoolssWritePrinter_q(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { e_ctx_hnd policy_hnd; char *pol_name; guint32 size; proto_item *item; proto_tree *subtree; /* Parse packet */ offset = dissect_nt_policy_hnd( tvb, offset, pinfo, tree, di, drep, hf_hnd...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,677
SpoolssWritePrinter_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { guint32 size; /* Parse packet */ offset = dissect_ndr_uint32( tvb, offset, pinfo, tree, di, drep, hf_writeprinter_numwritten, &size); col_append_fstr( pinfo->cinfo, COL_INFO, ", %d ...
DoS
0
SpoolssWritePrinter_r(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { guint32 size; /* Parse packet */ offset = dissect_ndr_uint32( tvb, offset, pinfo, tree, di, drep, hf_writeprinter_numwritten, &size); col_append_fstr( pinfo->cinfo, COL_INFO, ", %d ...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,678
cb_notify_str_postprocess(packet_info *pinfo _U_, proto_tree *tree _U_, proto_item *item, dcerpc_info *di _U_, tvbuff_t *tvb, int start_offset, int end_offset, void *callback_args) { gint levels, hf_index = GPOINTER_TO_INT(callback_args); guint32 len; char *s; proto_item *hid...
DoS
0
cb_notify_str_postprocess(packet_info *pinfo _U_, proto_tree *tree _U_, proto_item *item, dcerpc_info *di _U_, tvbuff_t *tvb, int start_offset, int end_offset, void *callback_args) { gint levels, hf_index = GPOINTER_TO_INT(callback_args); guint32 len; char *s; proto_item *hid...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,679
dissect_DEVMODE_fields(tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_, guint32 *pdata) { guint32 fields; proto_item *hidden_item; static const int * hf_fields[] = { &hf_devmode_fields_orientation, &hf_devmode_fields_papersize, &hf_devmode_fields_pa...
DoS
0
dissect_DEVMODE_fields(tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_, guint32 *pdata) { guint32 fields; proto_item *hidden_item; static const int * hf_fields[] = { &hf_devmode_fields_orientation, &hf_devmode_fields_papersize, &hf_devmode_fields_pa...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,680
dissect_DRIVER_INFO_1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { proto_tree *subtree; int struct_start = offset; subtree = proto_tree_add_subtree( tree, tvb, offset, 0, ett_DRIVER_INFO_1, NULL, "Driver info level 1"); offset = dissect_spoolss_rels...
DoS
0
dissect_DRIVER_INFO_1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { proto_tree *subtree; int struct_start = offset; subtree = proto_tree_add_subtree( tree, tvb, offset, 0, ett_DRIVER_INFO_1, NULL, "Driver info level 1"); offset = dissect_spoolss_rels...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,681
dissect_DRIVER_INFO_2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { proto_tree *subtree; int struct_start = offset; subtree = proto_tree_add_subtree( tree, tvb, offset, 0, ett_DRIVER_INFO_2, NULL, "Driver info level 2"); offset = dissect_ndr_uint32(tvb, o...
DoS
0
dissect_DRIVER_INFO_2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { proto_tree *subtree; int struct_start = offset; subtree = proto_tree_add_subtree( tree, tvb, offset, 0, ett_DRIVER_INFO_2, NULL, "Driver info level 2"); offset = dissect_ndr_uint32(tvb, o...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,682
dissect_DRIVER_INFO_3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { proto_tree *subtree; int struct_start = offset; subtree = proto_tree_add_subtree( tree, tvb, offset, 0, ett_DRIVER_INFO_3, NULL, "Driver info level 3"); offset = dissect_ndr_uint32(t...
DoS
0
dissect_DRIVER_INFO_3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { proto_tree *subtree; int struct_start = offset; subtree = proto_tree_add_subtree( tree, tvb, offset, 0, ett_DRIVER_INFO_3, NULL, "Driver info level 3"); offset = dissect_ndr_uint32(t...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,683
dissect_DRIVER_INFO_6(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { proto_tree *subtree; int struct_start = offset; subtree = proto_tree_add_subtree( tree, tvb, offset, 0, ett_DRIVER_INFO_6, NULL, "Driver info level 6"); offset = dissect_ndr_uint32(...
DoS
0
dissect_DRIVER_INFO_6(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { proto_tree *subtree; int struct_start = offset; subtree = proto_tree_add_subtree( tree, tvb, offset, 0, ett_DRIVER_INFO_6, NULL, "Driver info level 6"); offset = dissect_ndr_uint32(...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,684
dissect_FORM_1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { proto_tree *subtree; guint32 flags; subtree = proto_tree_add_subtree(tree, tvb, offset, 0, ett_FORM_1, NULL, "Form level 1"); offset = dissect_ndr_str_pointer_item( tvb, offset, pinfo, subtree, ...
DoS
0
dissect_FORM_1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { proto_tree *subtree; guint32 flags; subtree = proto_tree_add_subtree(tree, tvb, offset, 0, ett_FORM_1, NULL, "Form level 1"); offset = dissect_ndr_str_pointer_item( tvb, offset, pinfo, subtree, ...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,685
dissect_FORM_CTR(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { proto_tree *subtree; proto_item *item; guint32 level; subtree = proto_tree_add_subtree(tree, tvb, offset, 0, ett_FORM_CTR, &item, "Form container"); offset = dissect_ndr_uint32( tvb,...
DoS
0
dissect_FORM_CTR(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { proto_tree *subtree; proto_item *item; guint32 level; subtree = proto_tree_add_subtree(tree, tvb, offset, 0, ett_FORM_CTR, &item, "Form container"); offset = dissect_ndr_uint32( tvb,...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,686
dissect_FORM_REL(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep, int struct_start) { proto_item *item; proto_tree *subtree; guint32 flags; int item_start = offset; char *name = NULL; subtree = proto_tree_add_subtree(tree, tvb, offset, 0, ett_FORM_REL, &item,...
DoS
0
dissect_FORM_REL(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep, int struct_start) { proto_item *item; proto_tree *subtree; guint32 flags; int item_start = offset; char *name = NULL; subtree = proto_tree_add_subtree(tree, tvb, offset, 0, ett_FORM_REL, &item,...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,687
dissect_NOTIFY_INFO(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { guint32 count; offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_notify_info_version, NULL); offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, h...
DoS
0
dissect_NOTIFY_INFO(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { guint32 count; offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_notify_info_version, NULL); offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, h...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,688
dissect_NOTIFY_INFO_DATA(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { proto_item *item; proto_tree *subtree; guint32 count; guint16 type, field; const char *field_string; subtree = proto_tree_add_subtree(tree, tvb, offset, 0, ett_NOTIFY_INFO_DATA, &item, "...
DoS
0
dissect_NOTIFY_INFO_DATA(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { proto_item *item; proto_tree *subtree; guint32 count; guint16 type, field; const char *field_string; subtree = proto_tree_add_subtree(tree, tvb, offset, 0, ett_NOTIFY_INFO_DATA, &item, "...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,689
dissect_NOTIFY_INFO_DATA_job(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, dcerpc_info *di, guint8 *drep, guint16 field) { guint32 value1; proto_item *hidden_item; switch (field) { /* String notify data */ case JOB_NOTIFY_PRINTER_NAME: case JOB_NOTIFY_MACHI...
DoS
0
dissect_NOTIFY_INFO_DATA_job(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, dcerpc_info *di, guint8 *drep, guint16 field) { guint32 value1; proto_item *hidden_item; switch (field) { /* String notify data */ case JOB_NOTIFY_PRINTER_NAME: case JOB_NOTIFY_MACHI...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,690
dissect_NOTIFY_INFO_DATA_printer(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, dcerpc_info *di, guint8 *drep, guint16 field) { guint32 value1; switch (field) { /* String notify data */ case PRINTER_NOTIFY_SERVER_NAME: case PRINTER_NOTIFY_PRINTER_NAME: case PRINTE...
DoS
0
dissect_NOTIFY_INFO_DATA_printer(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, proto_item *item, dcerpc_info *di, guint8 *drep, guint16 field) { guint32 value1; switch (field) { /* String notify data */ case PRINTER_NOTIFY_SERVER_NAME: case PRINTER_NOTIFY_PRINTER_NAME: case PRINTE...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,691
dissect_NOTIFY_OPTION(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { dcerpc_call_value *dcv = (dcerpc_call_value *)di->call_data; proto_item *item; proto_tree *subtree; guint16 type; guint32 count; subtree = proto_tree_add_subtree(tree, tvb, offset, 0, e...
DoS
0
dissect_NOTIFY_OPTION(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { dcerpc_call_value *dcv = (dcerpc_call_value *)di->call_data; proto_item *item; proto_tree *subtree; guint16 type; guint32 count; subtree = proto_tree_add_subtree(tree, tvb, offset, 0, e...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,692
dissect_NOTIFY_OPTIONS_ARRAY_CTR(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { if (di->conformant_run) return offset; offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_notify_options_version, NULL); offset = dissect_notify_opt...
DoS
0
dissect_NOTIFY_OPTIONS_ARRAY_CTR(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { if (di->conformant_run) return offset; offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_notify_options_version, NULL); offset = dissect_notify_opt...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,693
dissect_NOTIFY_OPTION_DATA(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { dcerpc_call_value *dcv = (dcerpc_call_value *)di->call_data; guint32 count, i; guint16 type; if (di->conformant_run) return offset; offset = dissect_ndr_uint32( tvb, offset, pinf...
DoS
0
dissect_NOTIFY_OPTION_DATA(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { dcerpc_call_value *dcv = (dcerpc_call_value *)di->call_data; guint32 count, i; guint16 type; if (di->conformant_run) return offset; offset = dissect_ndr_uint32( tvb, offset, pinf...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,694
dissect_PRINTER_DATATYPE(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { if (di->conformant_run) return offset; offset = dissect_ndr_cvstring( tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_datatype, TRUE, NULL); return offset; }
DoS
0
dissect_PRINTER_DATATYPE(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_) { if (di->conformant_run) return offset; offset = dissect_ndr_cvstring( tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_datatype, TRUE, NULL); return offset; }
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,695
dissect_PRINTER_INFO_0(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { offset = dissect_spoolss_relstr( tvb, offset, pinfo, tree, di, drep, hf_printername, 0, NULL); offset = dissect_spoolss_relstr( tvb, offset, pinfo, tree, di, drep, hf_servername,...
DoS
0
dissect_PRINTER_INFO_0(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { offset = dissect_spoolss_relstr( tvb, offset, pinfo, tree, di, drep, hf_printername, 0, NULL); offset = dissect_spoolss_relstr( tvb, offset, pinfo, tree, di, drep, hf_servername,...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,696
dissect_PRINTER_INFO_1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { offset = dissect_ndr_uint32( tvb, offset, pinfo, tree, di, drep, hf_printer_flags, NULL); offset = dissect_spoolss_relstr( tvb, offset, pinfo, tree, di, drep, hf_printerdesc, 0...
DoS
0
dissect_PRINTER_INFO_1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { offset = dissect_ndr_uint32( tvb, offset, pinfo, tree, di, drep, hf_printer_flags, NULL); offset = dissect_spoolss_relstr( tvb, offset, pinfo, tree, di, drep, hf_printerdesc, 0...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,697
dissect_PRINTER_INFO_3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { offset = dissect_ndr_uint32( tvb, offset, pinfo, tree, di, drep, hf_printer_flags, NULL); offset = dissect_nt_sec_desc( tvb, offset, pinfo, tree, drep, FALSE, -1, &spoolss_pr...
DoS
0
dissect_PRINTER_INFO_3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { offset = dissect_ndr_uint32( tvb, offset, pinfo, tree, di, drep, hf_printer_flags, NULL); offset = dissect_nt_sec_desc( tvb, offset, pinfo, tree, drep, FALSE, -1, &spoolss_pr...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,698
dissect_PRINTER_INFO_7(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { offset = dissect_spoolss_relstr( tvb, offset, pinfo, tree, di, drep, hf_printer_guid, 0, NULL); offset = dissect_ndr_uint32( tvb, offset, pinfo, tree, di, drep, hf_printer_acti...
DoS
0
dissect_PRINTER_INFO_7(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { offset = dissect_spoolss_relstr( tvb, offset, pinfo, tree, di, drep, hf_printer_guid, 0, NULL); offset = dissect_ndr_uint32( tvb, offset, pinfo, tree, di, drep, hf_printer_acti...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null
41,699
dissect_SEC_DESC_BUF(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { proto_tree *subtree; guint32 len; /* XXX: I think this is really a array of bytes which can be dissected using dissect_ndr_cvstring(). The dissected data can be passed to dissect_nt...
DoS
0
dissect_SEC_DESC_BUF(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { proto_tree *subtree; guint32 len; /* XXX: I think this is really a array of bytes which can be dissected using dissect_ndr_cvstring(). The dissected data can be passed to dissect_nt...
@@ -1090,7 +1090,7 @@ dissect_spoolss_uint16uni(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* Get remaining data in buffer as a string */ - remaining = tvb_captured_length_remaining(tvb, offset); + remaining = tvb_reported_length_remaining(tvb, offset); if (remaining <= 0) { if (data) *data = g_s...
CWE-399
null
null