Text   |  XML   |  ReML   |   Visible Warnings:

Buffer Overrun  at packet-per.c:1802

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

dissect_h245_T_crcDesired

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-h245.c)expand/collapse
Show more  
 14248  dissect_h245_T_crcDesired(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
 14249    offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
 14250[+]                                    ett_h245_T_crcDesired, T_crcDesired_sequence);
expand/collapse

dissect_per_sequence

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-per.c)expand/collapse
Show more  
 1773  dissect_per_sequence(tvbuff_t *tvb, guint32 offset, asn1_ctx_t *actx, proto_tree *parent_tree, int hf_index, gint ett_index, const per_sequence_t *sequence)
 1774  {
 1775          gboolean extension_present, extension_flag, optional_field_flag;
 1776          proto_item *item;
 1777          proto_tree *tree;
 1778          guint32 old_offset=offset;
 1779          guint32 i, num_opts;
 1780          guint32 optional_mask;
 1781   
 1782  DEBUG_ENTRY("dissect_per_sequence");
 1783   
 1784          item=proto_tree_add_item(parent_tree, hf_index, tvb, offset>>3, 0, FALSE);
 1785          tree=proto_item_add_subtree(item, ett_index);
 1786   
 1787   
 1788          /* first check if there should be an extension bit for this CHOICE.
 1789             we do this by just checking the first choice arm 
 1790           */
 1791          /* 18.1 */
 1792          extension_flag=0;
 1793          if(sequence[0].extension==ASN1_NO_EXTENSIONS){
 1794                  extension_present=0;
 1795          } else {
 1796                  extension_present=1;
 1797                  offset=dissect_per_boolean(tvb, offset, actx, tree, hf_per_extension_bit, &extension_flag);
 1798                  if (!display_internal_per_fields) PROTO_ITEM_SET_HIDDEN(actx->created_item);
 1799          }
 1800          /* 18.2 */
 1801          num_opts=0;
 1802          for(i=0;sequence[i].p_id;i++){
 1803                  if((sequence[i].extension!=ASN1_NOT_EXTENSION_ROOT)&&(sequence[i].optional==ASN1_OPTIONAL)){
Show more  
Show more  




Change Warning 3135.33485 : Buffer Overrun

Priority:
State:
Finding:
Owner:
Note: