Page MenuHomeFreeBSD

D3724.id.diff
No OneTemporary

D3724.id.diff

Index: head/lib/libfetch/common.c
===================================================================
--- head/lib/libfetch/common.c
+++ head/lib/libfetch/common.c
@@ -495,7 +495,8 @@
hints.ai_protocol = 0;
hints.ai_flags = AI_NUMERICHOST;
/* port is not relevant for this purpose */
- getaddrinfo(host, "443", &hints, &res);
+ if (getaddrinfo(host, "443", &hints, &res) != 0)
+ res = NULL;
free(host);
return res;
}

File Metadata

Mime Type
text/plain
Expires
Sun, Apr 12, 10:24 AM (12 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31342362
Default Alt Text
D3724.id.diff (429 B)

Event Timeline