Skip to content

Fixed crash on open url with wrong host on some platforms (macOS, iOS, Android)

For non-existing host function returns EAI_NONAME (which is equal to 8), so instead of return it had consequence of null-pointer exception on res[0] access. getaddrinfo returns 0 in case of success, thus need to check for non-zero result instead of negative.

Merge request reports