rust/library/std
bors cbca5689a5 Auto merge of #76345 - okready:sgx-mem-range-overflow-checks, r=joshtriplett
Add is_enclave_range/is_user_range overflow checks

Fixes #76343.

This adds overflow checking to `is_enclave_range` and `is_user_range` in `sgx::os::fortanix_sgx::mem` in order to mitigate possible security issues with enclave code. It also accounts for an edge case where the memory range provided ends exactly at the end of the address space, where calculating `p + len` would overflow back to zero despite the range potentially being valid.
2021-03-03 05:45:50 +00:00
..
benches
src Auto merge of #76345 - okready:sgx-mem-range-overflow-checks, r=joshtriplett 2021-03-03 05:45:50 +00:00
tests
build.rs
Cargo.toml Bump minimum libc version to 0.2.85 for std. 2021-02-24 12:47:28 +01:00