(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-h248.c) |
| |
| 1948 | | | dissect_h248_T_errorCode(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
| 1949 | | | #line 262 "h248.cnf" |
| 1950 | | | offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_h248_error_code, &error_code); |
| 1951 | | | expert_add_info_format(actx->pinfo, actx->created_item, PI_RESPONSE_CODE, PI_WARN, "Errored Command"); |
| 1952 | | | |
| 1953 | | | if (curr_info.cmd) { |
| 1954 | | | gcp_cmd_set_error(curr_info.cmd,error_code); |
| 1955 | | | } else if (curr_info.trx) { |
| 1956 | | | gcp_trx_set_error(curr_info.trx,error_code); |
| 1957 | | | } |
| 1958 | | | |
| 1959 | | | return offset; |
| 1960 | | | |
| 1961 | | | |
| 1962 | | | return offset; |
Unreachable Data Flow
The highlighted code will not execute under any circumstances. This may be because of: |
|
| 1963 | | | } |
| |