Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use checked arithmetic to prevent stack overflow.
When calculating the length of P and I, it's possible for this to result in an arithmetic overflow. This arithmetic overflow is then fed in to `stackalloc`, which treats the input as unsigned and causes a large stack allocation.
- Loading branch information