(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcom.c) |
| |
| 1873 | | | dissect_dcom_STDOBJREF(tvbuff_t *tvb, gint offset, packet_info *pinfo, |
| 1874 | | | proto_tree *tree, guint8 *drep, int hfindex _U_, |
| 1875 | | | guint64 *oxid, guint64 *oid, e_uuid_t *ipid) |
| 1876 | | | { |
| 1877 | | | guint32 u32Flags; |
| 1878 | | | guint32 u32PublicRefs; |
| 1879 | | | proto_item *sub_item; |
| 1880 | | | proto_tree *sub_tree; |
| 1881 | | | guint32 u32SubStart; |
| 1882 | | | |
| 1883 | | | |
| 1884 | | | |
| 1885 | | | sub_item = proto_tree_add_item(tree, hf_dcom_stdobjref, tvb, offset, 0, FALSE); |
| 1886 | | | sub_tree = proto_item_add_subtree(sub_item, ett_dcom_stdobjref); |
| 1887 | | | |
| 1888 | | | offset = dissect_dcom_DWORD(tvb, offset, pinfo, sub_tree, drep, |
| 1889 | | | hf_dcom_stdobjref_flags, &u32Flags); |
| 1890 | | | |
| 1891 | | | u32SubStart = offset - 4; |
| 1892 | | | offset = dissect_dcom_DWORD(tvb, offset, pinfo, sub_tree, drep, |
| 1893 | [+] | | hf_dcom_stdobjref_public_refs, &u32PublicRefs); |
Event 1:
dissect_ndr_uint32() does not initialize u32PublicRefs. - This may be because of a failure case or other special case for dissect_ndr_uint32().
hide
|
|
 |
| 1894 | | | offset = dissect_dcom_ID(tvb, offset, pinfo, sub_tree, drep, |
| 1895 | | | hf_dcom_oxid, oxid); |
| 1896 | | | offset = dissect_dcom_ID(tvb, offset, pinfo, sub_tree, drep, |
| 1897 | | | hf_dcom_oid, oid); |
| 1898 | | | offset = dissect_dcom_UUID(tvb, offset, pinfo, sub_tree, drep, |
| 1899 | | | hf_dcom_ipid, ipid); |
| 1900 | | | |
| 1901 | | | |
| 1902 | | | proto_item_append_text(sub_item, ": PublicRefs=%u IPID=%s", |
| 1903 | | | u32PublicRefs, guids_resolve_uuid_to_str(ipid));
x /home/sate/Testcases/c/cve/wireshark-1.2.0/epan/guid-utils.h |
| |
61 | #define guids_resolve_uuid_to_str(uuid) guids_resolve_guid_to_str((e_guid_t *) (uuid)) |
| |
|
Uninitialized Variable
u32PublicRefs was not initialized. The issue can occur if the highlighted code executes. See related event 1. Show: All events | Only primary events |
|
| |