Text   |  XML   |  ReML   |   Visible Warnings:

Uninitialized Variable  at packet-dcom.c:1191

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

dissect_dcom_SAFEARRAY

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcom.c)expand/collapse
Show more  
 1144  dissect_dcom_SAFEARRAY(tvbuff_t *tvb, int offset, packet_info *pinfo,
 1145                                                  proto_tree *tree, guint8 *drep, int hfindex _U_, sa_callback_t sacb)
 1146  {
 1147          guint32 u32Dims;
 1148          guint16 u16Dims;
 1149          guint16 u16Features;
 1150          guint32 u32ElementSize;
 1151          guint32 u32VarType;
 1152          guint32 u32Elements;
 1153          guint32 u32Pointer;
 1154          guint32 u32BoundElements;
 1155          guint32 u32LowBound;
 1156
1165
Show [ Lines 1156 to 1165 omitted. ]
 1166          proto_tree *sub_tree;
 1167          guint32 u32SubStart;
 1168          guint32 u32TmpOffset;
 1169   
 1170          proto_item *feature_item;
 1171          proto_tree *feature_tree;
 1172   
 1173   
 1174          /* XXX: which alignment do we need here? */
 1175   
 1176          sub_item = proto_tree_add_item(tree, hf_dcom_safearray, tvb, offset, 0, FALSE);
 1177          sub_tree = proto_item_add_subtree(sub_item, ett_dcom_safearray);
 1178          u32SubStart = offset;
 1179   
 1180          offset = dissect_dcom_dcerpc_pointer(tvb, offset, pinfo, sub_tree, drep, &u32Pointer);
 1181          offset = dissect_dcom_dcerpc_pointer(tvb, offset, pinfo, sub_tree, drep, &u32Pointer);
 1182   
 1183          offset = dissect_dcom_DWORD(tvb, offset, pinfo, sub_tree, drep,  
 1184                          hf_dcom_sa_dims32, &u32Dims);
 1185          offset = dissect_dcom_WORD(tvb, offset, pinfo, sub_tree, drep,  
 1186                          hf_dcom_sa_dims16, &u16Dims);
 1187   
 1188          /* feature flags */
 1189          u32TmpOffset = dissect_dcom_WORD(tvb, offset, pinfo, NULL, drep,  
 1190[+]                         hf_dcom_sa_features, &u16Features);
 1191          feature_item = proto_tree_add_uint (sub_tree, hf_dcom_sa_features, tvb, offset, 2, u16Features);
Show more  




Change Warning 2219.34796 : Uninitialized Variable

Priority:
State:
Finding:
Owner:
Note: