(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-ftam.c) |
| |
| 3142 | | | dissect_ftam_File_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_) { |
| 3143 | | | #line 101 "ftam.cnf" |
| 3144 | | | gint branch_taken; |
| 3145 | | | |
| 3146 | | | offset = dissect_ber_choice(actx, tree, tvb, offset, |
| 3147 | | | File_PDU_choice, hf_index, ett_ftam_File_PDU, |
| 3148 | [+] | | &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
|
|
 |
| 3149 | | | |
| 3150 | | | |
| 3151 | | | if( (branch_taken!=-1) && ftam_File_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 |
|
| |