(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcom.c) |
| |
| 1064 | | | dissect_dcom_HRESULT(tvbuff_t *tvb, int offset, packet_info *pinfo, |
| 1065 | | | proto_tree *tree, guint8 *drep, |
| 1066 | | | guint32 * pu32HResult) |
| 1067 | | | { |
| 1068 | | | guint32 u32HResult; |
| 1069 | | | proto_item *item = NULL; |
| 1070 | | | |
| 1071 | | | |
| 1072 | | | offset = dissect_dcom_DWORD(tvb, offset, pinfo, NULL , drep, |
| 1073 | [+] | | hf_dcom_hresult, &u32HResult); |
Event 1:
dissect_ndr_uint32() does not initialize u32HResult. - This may be because of a failure case or other special case for dissect_ndr_uint32().
hide
|
|
 |
| 1074 | | | |
| 1075 | | | if (tree) { |
Event 3:
Skipping " if". tree evaluates to false.
hide
|
|
| 1076 | | | |
| 1077 | | | item = proto_tree_add_item (tree, hf_dcom_hresult, tvb, offset-4, 4, (drep[0] & 0x10)); |
| 1078 | | | } |
| 1079 | | | |
| 1080 | | | |
| 1081 | | | |
| 1082 | | | if(u32HResult & 0x80000000) { |
Uninitialized Variable
u32HResult was not initialized. The issue can occur if the highlighted code executes. See related event 1. Show: All events | Only primary events |
|
| |