Text   |  XML   |  ReML   |   Visible Warnings:

Cast Alters Value  at packet-ber.c:398

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

dissect_unknown_ber

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-ber.c)expand/collapse
Show more  
 376  int dissect_unknown_ber(packet_info *pinfo, tvbuff_t *tvb, int offset, proto_tree *tree)
 377  {
 378          int start_offset;
 379          gint8 class;
 380          gboolean pc, ind;
 381          gint32 tag;
 382          guint32 len;
 383          int hdr_len;
 384          proto_item *item=NULL;
 385          proto_tree *next_tree=NULL;
 386          guint8 c;
 387          guint32 i;
 388          gboolean is_printable;
 389          proto_item *pi, *cause;
 390          asn1_ctx_t asn1_ctx;
 391   
 392          start_offset=offset;
 393          asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
 394   
 395          offset=get_ber_identifier(tvb, offset, &class, &pc, &tag);
 396          offset=get_ber_length(tvb, offset, &len, &ind);
 397   
 398[+]         if(len>(guint32)tvb_length_remaining(tvb, offset)){
Show more  




Change Warning 1218.34266 : Cast Alters Value

Priority:
State:
Finding:
Owner:
Note: