(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-per.c) |
| |
| 742 | | | dissect_per_restricted_character_string(tvbuff_t *tvb, guint32 offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index, int min_len, int max_len, const char *alphabet, int alphabet_length, tvbuff_t **value_tvb) |
| 743 | | | { |
| 744 | | | const char *alphabet_ptr; |
| 745 | | | char sorted_alphabet[128]; |
| 746 | | | |
| 747 | | | if (alphabet_length > 127) { |
Event 1:
Taking false branch. alphabet_length > 127 evaluates to false.
hide
|
|
| 748 | | | alphabet_ptr = alphabet; |
| 749 | | | } else { |
| 750 | [+] | | alphabet_ptr = sort_alphabet(sorted_alphabet, alphabet, alphabet_length); |
Event 2:
sorted_alphabet is passed to sort_alphabet() as the first argument.
hide
Event 3:
sort_alphabet() does not initialize sorted_alphabet. - This may be because of a failure case or other special case for sort_alphabet().
hide
|
|
 |
| 751 | | | } |
| 752 | [+] | | return dissect_per_restricted_character_string_sorted(tvb, offset, actx, tree, hf_index, min_len, max_len, alphabet_ptr, alphabet_length, value_tvb); |
Event 8:
alphabet_ptr, which evaluates to sorted_alphabet, is passed to dissect_per_restricted_character_string_sorted() as the eighth argument. See related event 7.
hide
Event 9:
dissect_per_restricted_character_string_sorted() does not initialize sorted_alphabet. - This may be because of a failure case or other special case for dissect_per_restricted_character_string_sorted().
hide
|
|
 |
| |