Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libfabric/core: Fix integer overflow in ofi_get_mem_size
Need to ensure that the multiplication of page_cnt and page_size does not exceed the maximum value that can be held by a size_t variable. This modification ensures that the function checks for overflow conditions before performing the multiplication Signed-off-by: Juee Himalbhai Desai <[email protected]>
- Loading branch information