Text   |  XML   |  ReML   |   Visible Warnings:

Ignored Return Value  at packet-h248_3gpp.c:295

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

dissect_3GTFO_codec_mode

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-h248_3gpp.c)expand/collapse
Show more  
 282  static void dissect_3GTFO_codec_mode(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo, int hfid, h248_curr_info_t* cu _U_, void* ignored _U_) {
 283          tvbuff_t* sub_tvb = NULL;
 284          gint8 class;
 285          gboolean pc;
 286          gint32 tag;
 287          asn1_ctx_t asn1_ctx;
 288   
 289          asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
 290           
 291          get_ber_identifier(tvb, 0, &class, &pc, &tag);
 292           
 293          /* XXX: is this enough to guess it? */
 294          if ((tag==BER_UNI_TAG_OCTETSTRING)) {
 295                  dissect_ber_octet_string(FALSE, &asn1_ctx, tree, tvb, 0, hfid, &sub_tvb );
 296                   
 297                  if (sub_tvb) {
 298                          proto_tree* pt = proto_item_add_subtree(asn1_ctx.created_item, ett_h248_3GTFO_codec);
 299                          dissect_codec_mode(pt, sub_tvb, 0, tvb_length(tvb));
 300                  }
 301          } else {
 302                  proto_tree_add_item(tree,hfid,tvb,0,-1,FALSE);
 303          }
 304           
 305  }
Show more  




Change Warning 5393.35604 : Ignored Return Value

Priority:
State:
Finding:
Owner:
Note: