(/home/sate/Testcases/c/cve/wireshark-1.2.0/plugins/profinet/packet-dcom-cba-acco.c) |
| |
| 2850 | | | dissect_Server_GetProvConnections_resp(tvbuff_t *tvb, int offset, |
| 2851 | | | packet_info *pinfo, proto_tree *tree, guint8 *drep) |
| 2852 | | | { |
| 2853 | | | guint32 u32Count; |
| 2854 | | | guint32 u32TmpCount; |
| 2855 | | | guint32 u32Pointer; |
| 2856 | | | guint32 u32VariableOffset; |
| 2857 | | | guint32 u32Idx; |
| 2858 | | | proto_item *sub_item; |
| 2859 | | | proto_tree *sub_tree; |
| 2860 | | | guint32 u32SubStart; |
| 2861 | | | gchar szCons[1000] = { 0 }; |
| 2862 | | | guint32 u32MaxConsLen = sizeof(szCons); |
| 2863 | | | gchar szProvItem[1000] = { 0 }; |
| 2864 | | | guint32 u32MaxProvItemLen = sizeof(szProvItem); |
| 2865 | | | guint32 u32ConsID; |
| 2866 | | | guint16 u16QoSType; |
| 2867 | | | guint16 u16QoSValue; |
| 2868 | | | guint8 u8State; |
| 2869 | | | guint32 u32HResult; |
| 2870 | | | |
| 2871 | | | |
| 2872 | | | offset = dissect_dcom_that(tvb, offset, pinfo, tree, drep); |
| 2873 | | | |
| 2874 | | | offset = dissect_dcom_dcerpc_pointer(tvb, offset, pinfo, tree, drep, |
| 2875 | [+] | | &u32Pointer); |
Event 1:
dissect_dcom_dcerpc_pointer() does not initialize u32Pointer. - This may be because of a failure case or other special case for dissect_dcom_dcerpc_pointer().
hide
|
|
 |
| 2876 | | | |
| 2877 | | | u32VariableOffset = offset; |
| 2878 | | | |
| 2879 | | | if (u32Pointer) { |
Uninitialized Variable
u32Pointer was not initialized. The issue can occur if the highlighted code executes. See related events 1 and 3. Show: All events | Only primary events |
|
| |