(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-rtse.c) |
| |
| 575 | | | dissect_rtse_RTTRapdu(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
| 576 | | | #line 79 "rtse.cnf" |
| 577 | | | tvbuff_t *next_tvb = NULL; |
| 578 | | | |
| 579 | | | offset = dissect_ber_octet_string(FALSE, actx, tree, tvb, offset, hf_index, &next_tvb); |
Ignored Return Value
The return value of dissect_ber_octet_string() is never checked in the highlighted execution scenario. - If the return value can indicate an error, the error will be ignored if the highlighted code executes.
- The return value of dissect_ber_octet_string() is checked 98% of the time in this project. CodeSonar is configured to enforce Ignored Return Value checks for any function whose return value is checked at least 96% of the time, unless the function is used fewer than 20 times. (To modify these thresholds, use configuration file parameters RETURN_CHECKER_SAMPLE_SIZE and RETURN_CHECKER_RATIO. To exempt dissect_ber_octet_string() from the Ignored Return Value check, use configuration file parameter RETURN_CHECKER_IGNORED_FUNCS).
Show: All events | Only primary events |
|
| 580 | | | |
| 581 | | | if(next_tvb) { |
Event 2:
Taking true branch. next_tvb evaluates to true.
hide
|
|
| 582 | | | |
| 583 | | | |
| 584 | | | |
| 585 | | | |
| 586 | | | if(session) |
Event 3:
Taking true branch. session evaluates to true.
hide
|
|
| 587 | | | session->ros_op = (ROS_OP_INVOKE | ROS_OP_ARGUMENT); |
| 588 | | | |
| 589 | | | offset = dissect_ber_external_type(FALSE, tree, next_tvb, 0, actx, -1, call_rtse_external_type_callback); |
| 590 | | | } |
| 591 | | | |
| 592 | | | |
| 593 | | | |
| 594 | | | |
| 595 | | | return offset; |
| 596 | | | } |
| |