Text   |  XML   |  ReML   |   Visible Warnings:

Unreachable Data Flow  at packet-gsm_map.c:17582

No properties have been set. | edit properties
Jump to warning location ↓ warning details...
Show Events | Options

dissect_gsm_map_GSMMAPPDU

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-gsm_map.c)expand/collapse
Show more  
 17550  dissect_gsm_map_GSMMAPPDU(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index _U_) {
 17551   
 17552    char *version_ptr;
 17553    struct tcap_private_t * p_private_tcap;
 17554   
 17555    opcode = 0;
 17556    application_context_version = 0;
 17557    if (actx->pinfo->private_data != NULL){
 17558      p_private_tcap=actx->pinfo->private_data;
 17559      if (p_private_tcap->acv==TRUE ){
 17560        version_ptr = strrchr(p_private_tcap->oid,'.');
 17561        if (version_ptr){
 17562                    application_context_version = atoi(version_ptr+1);
 17563            }
 17564      }
 17565    }
 17566   
 17567    gsmmap_pdu_type = tvb_get_guint8(tvb, offset)&0x0f;
 17568    /* Get the length and add 2 */
 17569    gsm_map_pdu_size = tvb_get_guint8(tvb, offset+1)+2;
 17570   
 17571    if (check_col(actx->pinfo->cinfo, COL_INFO)){
 17572      col_set_str(actx->pinfo->cinfo, COL_INFO, val_to_str(gsmmap_pdu_type, gsm_old_Component_vals, "Unknown GSM-MAP PDU (%u)"));
 17573          col_append_fstr(actx->pinfo->cinfo, COL_INFO, " ");
 17574    }
 17575    offset = dissect_gsm_old_Component(FALSE, tvb, 0, actx, tree, hf_gsm_map_old_Component_PDU);
 17576    return offset;
 17577  /*
 17578    offset = dissect_ber_choice(pinfo, tree, tvb, offset,
 17579                                GSMMAPPDU_choice, hf_index, ett_gsm_map_GSMMAPPDU, NULL);
 17580  */
 17581   
 17582    return offset;
 17583  }
Show more  




Change Warning 1284.32147 : Unreachable Data Flow

Priority:
State:
Finding:
Owner:
Note: