Summary: | Uninitialized variable usage in error path in _dns_getaddrinfo() | ||
---|---|---|---|
Product: | Base System | Reporter: | Sean Boudreau <seanb> |
Component: | bin | Assignee: | Hajimu UMEMOTO <ume> |
Status: | Closed FIXED | ||
Severity: | Affects Some People | CC: | ume |
Priority: | --- | Keywords: | patch |
Version: | CURRENT | ||
Hardware: | Any | ||
OS: | Any |
Description
Sean Boudreau
2015-08-06 19:36:45 UTC
A commit references this bug: Author: ume Date: Thu Dec 10 11:11:44 UTC 2015 New revision: 292059 URL: https://svnweb.freebsd.org/changeset/base/292059 Log: The calls to RES_SET_H_ERRNO() macro on error paths wind up dereferencing an uninitialized res. PR: 202142 Submitted by: Sean Boudreau MFC after: 1 week Changes: head/lib/libc/net/getaddrinfo.c Thank you for your report. I've committed it into 11-CURRENT. I'll do MFC it after 1 week. A commit references this bug: Author: ume Date: Thu Dec 17 16:08:28 UTC 2015 New revision: 292403 URL: https://svnweb.freebsd.org/changeset/base/292403 Log: MFC r292059: The calls to RES_SET_H_ERRNO() macro on error paths wind up dereferencing an uninitialized res. PR: 202142 Submitted by: Sean Boudreau Changes: _U stable/10/ stable/10/lib/libc/net/getaddrinfo.c A commit references this bug: Author: ume Date: Thu Dec 17 16:09:15 UTC 2015 New revision: 292404 URL: https://svnweb.freebsd.org/changeset/base/292404 Log: MFC r292059: The calls to RES_SET_H_ERRNO() macro on error paths wind up dereferencing an uninitialized res. PR: 202142 Submitted by: Sean Boudreau Changes: _U stable/9/lib/libc/ stable/9/lib/libc/net/getaddrinfo.c |