Text   |  XML   |  ReML   |   Visible Warnings:

Ignored Return Value  at packet-giop.c:3664

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

dissect_giop_locate_request

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-giop.c)expand/collapse
Show more  
 3643  dissect_giop_locate_request( tvbuff_t * tvb, packet_info * pinfo,
 3644                          proto_tree * tree, MessageHeader * header,
 3645                          gboolean stream_is_big_endian)
 3646  {
 3647    guint32 offset = 0;
 3648    guint32 request_id;
 3649    guint32 len = 0;
 3650    proto_tree *locate_request_tree = NULL;
 3651    proto_item *tf;
 3652   
 3653    if (tree)
 3654      {
 3655        tf = proto_tree_add_text (tree, tvb, offset, -1,
 3656                                  "General Inter-ORB Locate Request");
 3657        if (locate_request_tree == NULL)
 3658          {
 3659            locate_request_tree = proto_item_add_subtree (tf, ett_giop_locate_request);
 3660   
 3661          }
 3662      }
 3663   
 3664    request_id = get_CDR_ulong(tvb, &offset, stream_is_big_endian,GIOP_HEADER_SIZE);
 3665    if (check_col(pinfo->cinfo, COL_INFO))
 3666      {
 3667        col_append_fstr(pinfo->cinfo, COL_INFO, " id=%u op=LocateRequest", request_id);
 3668      }
 3669    if (locate_request_tree)
 3670      {
 3671        proto_tree_add_text (locate_request_tree, tvb, offset-4, 4,
 3672                             "Request id: %u", request_id);
 3673      }
 3674   
 3675    if(header->GIOP_version.minor < 2)
 3676    {
 3677          len = get_CDR_ulong(tvb, &offset, stream_is_big_endian,GIOP_HEADER_SIZE);
 3678          if (locate_request_tree)
 3679            {
 3680              proto_tree_add_text (locate_request_tree, tvb, offset-4, 4,
 3681                                   "Object Key length: %u", len);
 3682            }
 3683   
 3684          if (len > 0) {
 3685   
 3686            if(locate_request_tree)
 3687              {
 3688   
 3689                proto_tree_add_item(locate_request_tree, hf_giop_objekt_key, tvb, offset-len, len, FALSE);
 3690              }
 3691   
 3692          }
 3693    }
 3694    else     /* GIOP 1.2 and higher */
 3695    {
 3696        dissect_target_address(tvb, pinfo, &offset, locate_request_tree,
 3697                               stream_is_big_endian, NULL, NULL);
 3698    }
 3699  }
Show more  




Change Warning 12512.35627 : Ignored Return Value

Priority:
State:
Finding:
Owner:
Note: