awslabs / aws-crt-cpp

C++ wrapper around the aws-c-* libraries. Provides Cross-Platform Transport Protocols and SSL/TLS implementations for C++.
Apache License 2.0
74 stars 65 forks source link

Fix host resolve on a non-existent host #578

Closed SergeyRyabinin closed 9 months ago

SergeyRyabinin commented 9 months ago

Issue #, if available: does not check if ptr is null Description of changes: check if hostAddresses is not a null ptr.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.