Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[mini] Fix the bounds check in GET_BBLOCK (#73493)
If the target IP is out of bounds, but `cfg->cil_offset_to_bb` has some non-zero data before or after it, then `tblock` will be some non-NULL pointer that we will treat as a good basic block. Related to #73474 (but doesn't fix the underlying issue there - it will just make the whole offending method throw a BadImageFormatException when it's called) This may have some performance overhead for the mono JIT.
- Loading branch information