Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
trace: fix out-of-bound memory access
When OSSL_trace_get_category_num() is called with an unknown category name, it returns -1. This case needs to be considered in order to avoid out-of-bound memory access to the `trace_channels` array. Reviewed-by: Paul Dale <[email protected]> (Merged from openssl#8552)
- Loading branch information