Text   |  XML   |  ReML   |   Visible Warnings:

Uninitialized Variable  at packet-nfs.c:5130

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

dissect_nfs3_mknod_call

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-nfs.c)expand/collapse
Show more  
 5101  dissect_nfs3_mknod_call(tvbuff_t *tvb, int offset, packet_info *pinfo,
 5102          proto_tree* tree)
 5103  {
 5104          guint32 type;
 5105          guint32 hash;
 5106          char *name=NULL;
 5107          const char *type_str;
 5108   
 5109[+]         offset = dissect_diropargs3(tvb, offset, pinfo, tree, "where", &hash, &name);
 5110          offset = dissect_ftype3(tvb, offset, tree, hf_nfs_ftype3, &type);
 5111          switch (type) {
 5112                  case NF3CHR:
 5113                  case NF3BLK:
 5114                          offset = dissect_sattr3(tvb, offset, tree, "dev_attributes");
 5115                          offset = dissect_specdata3(tvb, offset, tree, "spec");
 5116                  break;
 5117                  case NF3SOCK:
 5118                  case NF3FIFO:
 5119                          offset = dissect_sattr3(tvb, offset, tree, "pipe_attributes");
 5120                  break;
 5121                  default:
 5122                          /* nothing to do */
 5123                  break;
 5124          }
 5125   
 5126          type_str=val_to_str(type, names_nfs_ftype3, "Unknown type:%u");
 5127[+]         if (check_col(pinfo->cinfo, COL_INFO)) {
 5128                  col_append_fstr(pinfo->cinfo, COL_INFO,", FH:0x%08x/%s %s", hash, name, type_str);
 5129          }
 5130          proto_item_append_text(tree, ", MKNOD Call FH:0x%08x/%s %s", hash, name, type_str);
Show more  




Change Warning 12433.34879 : Uninitialized Variable

Priority:
State:
Finding:
Owner:
Note: