(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-cmp.c) |
| |
| 1104 | | | dissect_cmp_PKIBody(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
| 1105 | | | #line 96 "cmp.cnf" |
| 1106 | | | gint branch_taken; |
| 1107 | | | |
| 1108 | | | offset = dissect_ber_choice(actx, tree, tvb, offset, |
| 1109 | | | PKIBody_choice, hf_index, ett_cmp_PKIBody, |
| 1110 | [+] | | &branch_taken); |
Event 1:
dissect_ber_choice() does not initialize branch_taken. - This may be because of a failure case or other special case for dissect_ber_choice().
hide
|
|
 |
| 1111 | | | |
| 1112 | | | |
| 1113 | [+] | | if (check_col(actx->pinfo->cinfo, COL_INFO)) { |
 |
| 1114 | | | col_append_fstr(actx->pinfo->cinfo, COL_INFO, " Body=%s", val_to_str(branch_taken, cmp_PKIBody_vals, "unknown")); |
Uninitialized Variable
branch_taken was not initialized. The issue can occur if the highlighted code executes. See related event 1. Show: All events | Only primary events |
|
| |