(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-bssgp.c) |
| |
| 2936 | | | decode_iei_trigger_id(bssgp_ie_t *ie, build_info_t *bi, int ie_start_offset) { |
| 2937 | | | |
| 2938 | | | proto_item *ti; |
| 2939 | | | |
| 2940 | | | if (bi->bssgp_tree) { |
| 2941 | | | ti = bssgp_proto_tree_add_ie(ie, bi, ie_start_offset); |
Ignored Return Value
The return value of bssgp_proto_tree_add_ie() 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 bssgp_proto_tree_add_ie() is checked 96% 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 bssgp_proto_tree_add_ie() from the Ignored Return Value check, use configuration file parameter RETURN_CHECKER_IGNORED_FUNCS).
Show: All events | Only primary events |
|
| 2942 | | | } |
| 2943 | | | bi->offset += ie->value_length; |
| 2944 | | | } |
| |