(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcom.c) |
| |
| 780 | | | dissect_dcom_this(tvbuff_t *tvb, int offset, |
| 781 | | | packet_info *pinfo, proto_tree *tree, guint8 *drep) |
| 782 | | | { |
| 783 | | | guint16 u16VersionMajor; |
| 784 | | | guint16 u16VersionMinor; |
| 785 | | | guint32 u32Flags; |
| 786 | | | guint32 u32Res; |
| 787 | | | e_uuid_t uuidCausality; |
| 788 | | | proto_item *sub_item; |
| 789 | | | proto_tree *sub_tree; |
| 790 | | | guint32 u32SubStart; |
| 791 | | | proto_item *pi; |
| 792 | | | dcerpc_info *info = (dcerpc_info *)pinfo->private_data; |
| 793 | | | |
| 794 | | | |
| 795 | | | sub_item = proto_tree_add_protocol_format(tree, proto_dcom, tvb, offset, 0, |
| 796 | | | "DCOM, ORPCThis"); |
| 797 | | | sub_tree = proto_item_add_subtree(sub_item, ett_dcom_this); |
| 798 | | | |
| 799 | | | offset = dissect_dcom_COMVERSION(tvb, offset, pinfo, sub_tree, drep, |
| 800 | [+] | | &u16VersionMajor, &u16VersionMinor); |
Event 1:
dissect_dcom_COMVERSION() does not initialize u16VersionMinor. - This may be because of a failure case or other special case for dissect_dcom_COMVERSION().
hide
|
|
 |
| 801 | | | u32SubStart = offset - 4; |
| 802 | | | |
| 803 | | | offset = dissect_dcom_DWORD(tvb, offset, pinfo, sub_tree, drep, |
| 804 | | | hf_dcom_this_flags, &u32Flags); |
| 805 | | | offset = dissect_dcom_DWORD(tvb, offset, pinfo, sub_tree, drep, |
| 806 | | | hf_dcom_this_res, &u32Res); |
| 807 | | | |
| 808 | | | offset = dissect_dcom_UUID(tvb, offset, pinfo, sub_tree, drep, |
| 809 | | | hf_dcom_this_cid, &uuidCausality); |
| 810 | | | |
| 811 | | | offset = dissect_dcom_extent(tvb, offset, pinfo, sub_tree, drep); |
| 812 | | | |
| 813 | | | |
| 814 | | | proto_item_append_text(sub_item, ", V%u.%u, Causality ID: %s", |
| 815 | | | u16VersionMajor, u16VersionMinor, guids_resolve_uuid_to_str(&uuidCausality));
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
u16VersionMinor was not initialized. The issue can occur if the highlighted code executes. See related events 1 and 2. Show: All events | Only primary events |
|
| |