(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-ftam.c) |
| |
| 4712 | | | dissect_ftam_FSM_PDU(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
| 4713 | | | #line 123 "ftam.cnf" |
| 4714 | | | gint branch_taken; |
| 4715 | | | |
| 4716 | | | offset = dissect_ber_choice(actx, tree, tvb, offset, |
| 4717 | | | FSM_PDU_choice, hf_index, ett_ftam_FSM_PDU, |
| 4718 | [+] | | &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
|
|
 |
| 4719 | | | |
| 4720 | | | |
| 4721 | | | if( (branch_taken!=-1) && ftam_FSM_PDU_vals[branch_taken].strptr ){ |
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 |
|
| |