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 <oleksii_moisieiev@epam.com> Reviewed-by: Michalis Pappas <michalis@unikraft.io> Approved-by: Simon Kuenzer <simon@unikraft.io> GitHub-Closes: unikraft#1269
- Loading branch information