Text   |  XML   |  ReML   |   Visible Warnings:

Uninitialized Variable  at packet-dcom-cba.c:954

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

dissect_PBAddressInfo

(/home/sate/Testcases/c/cve/wireshark-1.2.0/plugins/profinet/packet-dcom-cba.c)expand/collapse
Show more  
 934  dissect_PBAddressInfo(tvbuff_t *tvb, gint offset, packet_info *pinfo,
 935                         proto_tree *tree, guint8 *drep,
 936                         guint32 u32VarType _U_, guint32 u32ArraySize)
 937  {
 938      guint8  u8ID;
 939      guint8  u8Addr;
 940      proto_item *sub_item;
 941      proto_tree *sub_tree;
 942   
 943   
 944      while(u32ArraySize != 0) {
 945          sub_item = proto_tree_add_item(tree, hf_cba_pbaddress, tvb, offset, 2, FALSE);
 946          sub_tree = proto_item_add_subtree(sub_item, ett_PBAddress);
 947           
 948          offset = dissect_dcom_BYTE(tvb, offset, pinfo, sub_tree, drep,  
 949                                                  hf_cba_pbaddress_system_id, &u8ID);
 950          offset = dissect_dcom_BYTE(tvb, offset, pinfo, sub_tree, drep,  
 951[+]                                                 hf_cba_pbaddress_address, &u8Addr);
 952          u32ArraySize-=2;
 953   
 954          proto_item_append_text(sub_item, ": ID=0x%x Addr=%u", u8ID, u8Addr);
Show more  




Change Warning 3775.34264 : Uninitialized Variable

Because they are very similar, this warning shares annotations with warning 3775.34265.

Priority:
State:
Finding:
Owner:
Note: