mirror of https://github.com/c-ares/c-ares.git
As per #517 glibc allows a service/servname of "0" to be treated the same as if NULL was provided. Also, add a sanity check to ensure the port number is in range instead of a blind cast. Fixes: #517 Fix By: Brad House (@bradh352)pull/520/head
parent
38b30bc922
commit
f95ca36cde
1 changed files with 10 additions and 4 deletions
Loading…
Reference in new issue