Plugin metric IDs index the plugin RSB, so bounds check against that.
| 550 | |
| 551 | // Plugin metric IDs index the plugin RSB, so bounds check against that. |
| 552 | static TSReturnCode |
| 553 | sdk_sanity_check_stat_id(int id) |
| 554 | { |
| 555 | return (global_api_metrics.valid(id) ? TS_SUCCESS : TS_ERROR); |
| 556 | } |
| 557 | |
| 558 | static TSReturnCode |
| 559 | sdk_sanity_check_rpc_handler_options(const TSRPCHandlerOptions *opt) |
no test coverage detected