Text   |  XML   |  ReML   |   Visible Warnings:

Uninitialized Variable  at packet-dcom.c:1116

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

dissect_dcom_indexed_HRESULT

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcom.c)expand/collapse
Show more  
 1095  dissect_dcom_indexed_HRESULT(tvbuff_t *tvb, int offset, packet_info *pinfo,
 1096                                           proto_tree *tree, guint8 *drep,  
 1097                                           guint32 * pu32HResult, int field_index)
 1098  {
 1099          guint32 u32HResult;
 1100          proto_item *item = NULL;
 1101   
 1102   
 1103          /* dissect the DWORD, but don't add to tree */
 1104          offset = dissect_dcom_DWORD(tvb, offset, pinfo, NULL /*tree*/, drep,  
 1105[+]                     hf_dcom_hresult, &u32HResult);
 1106   
 1107          if (tree) {
 1108                  /* special formatted output of indexed value */
 1109                  item = proto_tree_add_uint_format(tree, hf_dcom_hresult, tvb, offset-4, 4, u32HResult,
 1110                          "HResult[%u]: %s (0x%08x)", field_index,
 1111                          val_to_str(u32HResult, dcom_hresult_vals, "Unknown"),
 1112                          u32HResult);
 1113          }
 1114          /* expert info only if severity flag is set */
 1115          /* XXX - move this to the callers of this function, to provide a more detailed error output */
 1116          if(u32HResult & 0x80000000) {
Show more  




Change Warning 2217.33936 : Uninitialized Variable

Priority:
State:
Finding:
Owner:
Note: