Text   |  XML   |  ReML   |   Visible Warnings:

Unused Value  at packet-sabp.c:1634

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

get_sabp_pdu_len

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-sabp.c)expand/collapse
Show more  
 1622  get_sabp_pdu_len(packet_info *pinfo _U_, tvbuff_t *tvb, int offset)
 1623  {
 1624          guint32 type_length;
 1625          int bit_offset;
 1626          asn1_ctx_t asn1_ctx;
 1627          asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo);
 1628   
 1629          /* Length should be in the 3:d octet */
 1630          offset = offset + 3;
 1631   
 1632          bit_offset = offset<<3;
 1633          /* Get the length of the sabp packet. offset in bits  */
 1634          offset = dissect_per_length_determinant(tvb, bit_offset, &asn1_ctx, NULL, -1, &type_length);
 1635   
 1636          /* return the remaining length of the PDU */
 1637          return type_length+5;
 1638  }
Show more  




Change Warning 3160.31756 : Unused Value

Priority:
State:
Finding:
Owner:
Note: