(/home/sate/Testcases/c/cve/wireshark-1.2.0/plugins/profinet/packet-dcom-cba-acco.c) |
| |
| 3861 | | | dissect_ICBAAccoMgt2_GetConsConnections_resp(tvbuff_t *tvb, int offset, |
| 3862 | | | packet_info *pinfo, proto_tree *tree, guint8 *drep) |
| 3863 | | | { |
| 3864 | | | guint32 u32Count; |
| 3865 | | | guint32 u32TmpCount; |
| 3866 | | | guint32 u32Pointer; |
| 3867 | | | guint32 u32HResult; |
| 3868 | | | |
| 3869 | | | guint16 u16QoSType; |
| 3870 | | | guint16 u16QoSValue; |
| 3871 | | | guint8 u8State; |
| 3872 | | | guint16 u16Persistence; |
| 3873 | | | proto_item *sub_item; |
| 3874 | | | proto_tree *sub_tree; |
| 3875 | | | guint32 u32SubStart; |
| 3876 | | | guint32 u32Idx; |
| 3877 | | | guint32 u32VariableOffset; |
| 3878 | | | gchar szProv[1000] = { 0 }; |
| 3879 | | | guint32 u32MaxProvLen = sizeof(szProv); |
| 3880 | | | gchar szProvItem[1000] = { 0 }; |
| 3881 | | | guint32 u32MaxProvItemLen = sizeof(szProvItem); |
| 3882 | | | gchar szConsItem[1000] = { 0 }; |
| 3883 | | | guint32 u32MaxConsItemLen = sizeof(szConsItem); |
| 3884 | | | |
| 3885 | | | |
| 3886 | | | offset = dissect_dcom_that(tvb, offset, pinfo, tree, drep); |
| 3887 | | | |
| 3888 | | | offset = dissect_dcom_dcerpc_pointer(tvb, offset, pinfo, tree, drep, |
| 3889 | [+] | | &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
|
|
 |
| 3890 | | | |
| 3891 | | | u32VariableOffset = offset; |
| 3892 | | | |
| 3893 | | | 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 |
|
| |