Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add validation ai_addrlen in PosixSocketResolveTest
Enhanced the SunnyDay test in PosixSocketResolveTest to include checks for the ai_addrlen field. The test now verifies that ai_addrlen matches the expected size for sockaddr_in (IPv4) and sockaddr_in6 (IPv6) based on the ai_family value. This ensures that getaddrinfo correctly sets the length of the returned socket address structures. b/349469318 Signed-off-by: Mykola Solianko <[email protected]>
- Loading branch information