mirror of
https://github.com/curl/curl.git
synced 2026-04-21 08:02:13 +03:00
curl_osslq: error out properly if BIO_ADDR_rawmake() fails
Reported-by: Joshua Rogers Closes #18878
This commit is contained in:
parent
22ae8ac874
commit
3517053cf7
1 changed files with 1 additions and 0 deletions
|
|
@ -185,6 +185,7 @@ static CURLcode make_bio_addr(BIO_ADDR **pbio_addr,
|
|||
(struct sockaddr_in6 * const)CURL_UNCONST(&addr->curl_sa_addr);
|
||||
if(!BIO_ADDR_rawmake(bio_addr, AF_INET6, &sin->sin6_addr,
|
||||
sizeof(sin->sin6_addr), sin->sin6_port)) {
|
||||
goto out;
|
||||
}
|
||||
result = CURLE_OK;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue