Text   |  XML   |  ReML   |   Visible Warnings:

Uninitialized Variable  at packet-dcerpc-spoolss.c:3415

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

dissect_SEC_DESC_BUF

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcerpc-spoolss.c)expand/collapse
Show more  
 3384  dissect_SEC_DESC_BUF(tvbuff_t *tvb, int offset, packet_info *pinfo,
 3385                       proto_tree *tree, guint8 *drep)
 3386  {
 3387          proto_item *item;
 3388          proto_tree *subtree;
 3389          guint32 len;
 3390   
 3391          /* XXX: I think this is really a array of bytes which can be  
 3392             dissected using dissect_ndr_cvstring().  The dissected data  
 3393             can be passed to dissect_nt_sec_desc().  The problem is that 
 3394             dissect_nt_cvstring() passes back a char * where it really 
 3395             should pass back a tvb. */
 3396   
 3397          item = proto_tree_add_text(
 3398                  tree, tvb, offset, 0, "Security descriptor buffer");
 3399   
 3400          subtree = proto_item_add_subtree(item, ett_SEC_DESC_BUF);
 3401   
 3402          offset = dissect_ndr_uint32(
 3403                  tvb, offset, pinfo, subtree, drep,
 3404                  hf_secdescbuf_maxlen, NULL);
 3405   
 3406          offset = dissect_ndr_uint32(
 3407                  tvb, offset, pinfo, subtree, drep,
 3408                  hf_secdescbuf_undoc, NULL);
 3409   
 3410          offset = dissect_ndr_uint32(
 3411                  tvb, offset, pinfo, subtree, drep,
 3412[+]                 hf_secdescbuf_len, &len);
 3413           
 3414          dissect_nt_sec_desc(
 3415                  tvb, offset, pinfo, subtree, drep, TRUE, len,  
 3416                  &spoolss_printer_access_mask_info);
Show more  




Change Warning 2116.35142 : Uninitialized Variable

Priority:
State:
Finding:
Owner:
Note: