Text   |  XML   |  ReML   |   Visible Warnings:

Uninitialized Variable  at packet-nfs.c:4960

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

dissect_nfs3_create_call

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-nfs.c)expand/collapse
Show more  
 4938  dissect_nfs3_create_call(tvbuff_t *tvb, int offset, packet_info *pinfo,
 4939          proto_tree* tree)
 4940  {
 4941          guint32 mode;
 4942          guint32 hash;
 4943          char *name=NULL;
 4944   
 4945[+]         offset = dissect_diropargs3 (tvb, offset, pinfo, tree, "where", &hash, &name);
 4946          offset = dissect_createmode3(tvb, offset, tree, &mode);
 4947          switch (mode) {
 4948                  case UNCHECKED:
 4949                  case GUARDED:
 4950                          offset = dissect_sattr3(tvb, offset, tree, "obj_attributes");
 4951                  break;
 4952                  case EXCLUSIVE:
 4953                          offset = dissect_createverf3(tvb, offset, tree);
 4954                  break;
 4955          }
 4956   
 4957[+]         if (check_col(pinfo->cinfo, COL_INFO)) {
 4958                  col_append_fstr(pinfo->cinfo, COL_INFO,", DH:0x%08x/%s Mode:%s", hash, name, val_to_str(mode, names_createmode3, "Unknown Mode:%u"));
 4959          }
 4960          proto_item_append_text(tree, ", CREATE Call DH:0x%08x/%s Mode:%s", hash, name, val_to_str(mode, names_createmode3, "Unknown Mode:%u"));
Show more  




Change Warning 12428.34874 : Uninitialized Variable

Priority:
State:
Finding:
Owner:
Note: