Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib/posix-socket: Fix raddr set call in uk_sys_accept
uk_socket_evd_raddr_set receives *addr_len as an input parameter, which means that NullPointerException is generated when addr_len is NULL. Also, al->evd structure is present only when CONFIG_LIBPOSIX_SOCKET_EVENTS enabled so wrapping usages under #ifdef. Signed-off-by: Oleksii Moisieiev <[email protected]> Reviewed-by: Michalis Pappas <[email protected]> Approved-by: Simon Kuenzer <[email protected]> GitHub-Closes: unikraft#1269
- Loading branch information