Text   |  XML   |  ReML   |   Visible Warnings:

Unreachable Conditional  at packet-ranap.c:11573

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

dissect_ProtocolIEFieldValue

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-ranap.c)expand/collapse
Show more  
 11563  static int dissect_ProtocolIEFieldValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 11564  {
 11565   
 11566    int ret = 0;
 11567    int key;
 11568   
 11569    /* Special handling, same ID used for different IE's depending on signal */
 11570    switch(ProcedureCode){
 11571            case id_RelocationPreparation:
 11572                    if((ProtocolIE_ID == id_Source_ToTarget_TransparentContainer)||(ProtocolIE_ID == id_Target_ToSource_TransparentContainer)){
 11573                            key = SPECIAL || ProtocolIE_ID;
 11574                            ret = (dissector_try_port_new(ranap_ies_dissector_table, key, tvb, pinfo, tree, FALSE)) ? tvb_length(tvb) : 0;
 11575                    }
 11576                    break;
 11577            default:
 11578                    /* no special handling */
 11579                    ret = (dissector_try_port_new(ranap_ies_dissector_table, ProtocolIE_ID, tvb, pinfo, tree, FALSE)) ? tvb_length(tvb) : 0;
 11580                    if (ret == 0) {
 11581                            key = pdu_type || ProtocolIE_ID;
 11582                            ret = (dissector_try_port_new(ranap_ies_dissector_table, key, tvb, pinfo, tree, FALSE)) ? tvb_length(tvb) : 0;
 11583                    }
 11584                    break;
 11585    }
 11586    return ret;
 11587  }
Show more  




Change Warning 3156.30865 : Unreachable Conditional

Priority:
State:
Finding:
Owner:
Note: