Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
prov/sockets: fix possible buffer overrun when copying src addr
ofi_sizeofip returns sizeof(struct in_addr) which can be 4 and ofi_sizeofaddr returns sizeof(struct ofi_sockaddr_in) which can be larger Use sizeofaddr instead of sizeofip to ensure we have enough space Signed-off-by: Alexia Ingerson <[email protected]>
- Loading branch information