Solutionunvalidated
Use safe overflow-checked arithmetic for the intermediate size calculation and reject unreasonable bounds values.
4cc9fcc3-37c6-43f4-90d4-ecff5423eba0
Use safe overflow-checked arithmetic for the intermediate size calculation and reject unreasonable bounds values.