<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libc/net/getaddrinfo.3, branch OPENBSD_7_9</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_9</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_9'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2025-12-08T13:30:08+00:00</updated>
<entry>
<title>Do not crash when calling freeaddrinfo(NULL)</title>
<updated>2025-12-08T13:30:08+00:00</updated>
<author>
<name>jca</name>
<email></email>
</author>
<published>2025-12-08T13:30:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2a9ce651b1c5e84f70570a283e2a5ccd1e14eb25'/>
<id>urn:sha1:2a9ce651b1c5e84f70570a283e2a5ccd1e14eb25</id>
<content type='text'>
Supported by Linux since at least 1997, and FreeBSD since 2017.  While
not defined, there's no real good reason to crash when we could just
cope.  Indeed, software out there relies on the Linux behavior.

Point out in the manpage that the behavior of getaddrinfo(NULL) isn't
defined and thus isn't portable.

Edge case spotted recently by kn@ in OpenVPN.
ok millert@ djm@ deraadt@ kn@
</content>
</entry>
<entry>
<title>.Li -&gt; .Vt where appropriate;</title>
<updated>2022-09-11T06:38:11+00:00</updated>
<author>
<name>jmc</name>
<email></email>
</author>
<published>2022-09-11T06:38:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=62590e3e551e5acaf5ee4726dac3ed5fadbdf680'/>
<id>urn:sha1:62590e3e551e5acaf5ee4726dac3ed5fadbdf680</id>
<content type='text'>
from josiah frentsos, tweaked by schwarze

ok schwarze
</content>
</entry>
<entry>
<title>man pages: add missing commas between subordinate and main clauses</title>
<updated>2022-03-31T17:27:26+00:00</updated>
<author>
<name>naddy</name>
<email></email>
</author>
<published>2022-03-31T17:27:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=3d8be07546f5ec331a0f851b0ea88212376ebb95'/>
<id>urn:sha1:3d8be07546f5ec331a0f851b0ea88212376ebb95</id>
<content type='text'>
jmc@ dislikes a comma before "then" in a conditional, so leave those
untouched.

ok jmc@
</content>
</entry>
<entry>
<title>mop up resolver.3 rename; ok deraadt</title>
<updated>2019-08-30T20:20:51+00:00</updated>
<author>
<name>jmc</name>
<email></email>
</author>
<published>2019-08-30T20:20:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b0f0fa2ffa3c9540cfd08821cf6c83d4254ea762'/>
<id>urn:sha1:b0f0fa2ffa3c9540cfd08821cf6c83d4254ea762</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Prefer AF_* over PF_* and 'address family' over 'protocol family'</title>
<updated>2016-05-29T06:01:24+00:00</updated>
<author>
<name>guenther</name>
<email></email>
</author>
<published>2016-05-29T06:01:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=4748ef406f88568af5dc81963f80fcb0ba56c02a'/>
<id>urn:sha1:4748ef406f88568af5dc81963f80fcb0ba56c02a</id>
<content type='text'>
ok jung@
</content>
</entry>
<entry>
<title>Amend documentation for AI_ADDRCONFIG</title>
<updated>2015-02-16T18:26:56+00:00</updated>
<author>
<name>jca</name>
<email></email>
</author>
<published>2015-02-16T18:26:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=58bde4fa4a15911047530f107de916640d13df1d'/>
<id>urn:sha1:58bde4fa4a15911047530f107de916640d13df1d</id>
<content type='text'>
ok jmc@
</content>
</entry>
<entry>
<title>unbind;</title>
<updated>2014-08-23T07:25:54+00:00</updated>
<author>
<name>jmc</name>
<email></email>
</author>
<published>2014-08-23T07:25:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0da35c5527cadb4d9d5c40167d67c630c96b3878'/>
<id>urn:sha1:0da35c5527cadb4d9d5c40167d67c630c96b3878</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implement AI_ADDRCONFIG</title>
<updated>2014-04-28T21:38:59+00:00</updated>
<author>
<name>sperreault</name>
<email></email>
</author>
<published>2014-04-28T21:38:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=ec9a5fc41d280c06d7d1f5aeb5fe576939499b56'/>
<id>urn:sha1:ec9a5fc41d280c06d7d1f5aeb5fe576939499b56</id>
<content type='text'>
This is a getaddrinfo() flag that is defined thusly in RFC 3493:

   If the AI_ADDRCONFIG flag is specified, IPv4 addresses shall be
   returned only if an IPv4 address is configured on the local system,
   and IPv6 addresses shall be returned only if an IPv6 address is
   configured on the local system.  The loopback address is not
   considered for this case as valid as a configured address.

      For example, when using the DNS, a query for AAAA records should
      occur only if the node has at least one IPv6 address configured
      (other than IPv6 loopback) and a query for A records should occur
      only if the node has at least one IPv4 address configured (other
      than the IPv4 loopback).

The flag is set by default when hints is NULL.

ok Eric Faurot, Jason McIntyre
</content>
</entry>
<entry>
<title>obvious .Pa fixes; found with mandocdb(8)</title>
<updated>2014-01-21T03:15:45+00:00</updated>
<author>
<name>schwarze</name>
<email></email>
</author>
<published>2014-01-21T03:15:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=d60d9234a28e0f31b490cea083e7015beaee4f1b'/>
<id>urn:sha1:d60d9234a28e0f31b490cea083e7015beaee4f1b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze</title>
<updated>2013-06-05T03:39:23+00:00</updated>
<author>
<name>tedu</name>
<email></email>
</author>
<published>2013-06-05T03:39:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2b7c3ac1a78656e1ad7e45f24ecbff6f63f289e4'/>
<id>urn:sha1:2b7c3ac1a78656e1ad7e45f24ecbff6f63f289e4</id>
<content type='text'>
</content>
</entry>
</feed>
