(/home/sate/Testcases/c/cve/wireshark-1.2.0/plugins/profinet/packet-dcom-cba.c) |
| |
| 1098 | | | dissect_ICBAGroupError_OnGroupErrorChanged_rqst(tvbuff_t *tvb, int offset, |
| 1099 | | | packet_info *pinfo, proto_tree *tree, guint8 *drep) |
| 1100 | | | { |
| 1101 | | | guint16 u16NewGroupError; |
| 1102 | | | guint16 u16OldGroupError; |
| 1103 | | | |
| 1104 | | | |
| 1105 | | | offset = dissect_dcom_this(tvb, offset, pinfo, tree, drep); |
| 1106 | | | |
| 1107 | | | offset = dissect_dcom_WORD(tvb, offset, pinfo, tree, drep, |
| 1108 | | | hf_cba_new_grouperror, &u16NewGroupError); |
| 1109 | | | |
| 1110 | | | offset = dissect_dcom_WORD(tvb, offset, pinfo, tree, drep, |
| 1111 | [+] | | hf_cba_old_grouperror, &u16OldGroupError); |
Event 1:
dissect_ndr_uint16() does not initialize u16OldGroupError. - This may be because of a failure case or other special case for dissect_ndr_uint16().
hide
|
|
 |
| 1112 | | | |
| 1113 | [+] | | if (check_col(pinfo->cinfo, COL_INFO)) { |
 |
| 1114 | | | col_append_fstr(pinfo->cinfo, COL_INFO, ": NewGE=%s OldGE=%s", |
| 1115 | | | val_to_str(u16NewGroupError, cba_grouperror_vals, "Unknown (0x%04x)"), |
| 1116 | | | val_to_str(u16OldGroupError, cba_grouperror_vals, "Unknown (0x%04x)") ); |
Uninitialized Variable
u16OldGroupError was not initialized. The issue can occur if the highlighted code executes. See related event 1. Show: All events | Only primary events |
|
| |