<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libc/net/getifaddrs.c, branch OPENBSD_7_9_BASE</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_9_BASE</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_9_BASE'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2025-11-13T10:34:32+00:00</updated>
<entry>
<title>the structure produced has alignment, which contained uninitialized data.</title>
<updated>2025-11-13T10:34:32+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2025-11-13T10:34:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=825e052c574fe0fd3afe3cf1322f333551ca4888'/>
<id>urn:sha1:825e052c574fe0fd3afe3cf1322f333551ca4888</id>
<content type='text'>
This is obviously fixed by using calloc(), but it was also observed that
the precalculated storage requirement was higher than what is actually
filled.  So all the math has been rewritten to be byte accurate.
Temporarily, a syslog_r check is added to report if we ever get count
inconsistancy again so that can be fixed quickly.
ok claudio
</content>
</entry>
<entry>
<title>A few sys/param.h annotations lacked ALIGNBYTES</title>
<updated>2021-11-29T03:20:37+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2021-11-29T03:20:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=3ff0ca30be40ac85767c463af5dda1f3a1c9fe6e'/>
<id>urn:sha1:3ff0ca30be40ac85767c463af5dda1f3a1c9fe6e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Wrap &lt;ifaddrs.h&gt;, &lt;netinet/in.h&gt;, and &lt;netinet/if_ether.h&gt; so internal</title>
<updated>2015-09-14T11:01:47+00:00</updated>
<author>
<name>guenther</name>
<email></email>
</author>
<published>2015-09-14T11:01:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=bf667082490d7a06ab4fe5b0c135d58ac8c0e1c7'/>
<id>urn:sha1:bf667082490d7a06ab4fe5b0c135d58ac8c0e1c7</id>
<content type='text'>
calls go direct and all the symbols are weak
</content>
</entry>
<entry>
<title>Move to the &lt;limits.h&gt; universe.</title>
<updated>2015-01-16T16:48:51+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2015-01-16T16:48:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=7027596ae70e4cf09e00ec2f7cb7434e59c533db'/>
<id>urn:sha1:7027596ae70e4cf09e00ec2f7cb7434e59c533db</id>
<content type='text'>
review by millert, binary checking process with doug, concept with guenther
</content>
</entry>
<entry>
<title>Use a realloc() loop around the sysctl() for NET_RT_IFLIST, in case an</title>
<updated>2013-03-20T14:15:56+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2013-03-20T14:15:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=3fa1a9feed79cceefc98d265d5ab9d3345a1f497'/>
<id>urn:sha1:3fa1a9feed79cceefc98d265d5ab9d3345a1f497</id>
<content type='text'>
interface is added at just the right... wrong moment.
ok millert dlg
</content>
</entry>
<entry>
<title>Correctly jump over routing headers and calculate the size of the if_data</title>
<updated>2008-11-24T20:08:49+00:00</updated>
<author>
<name>claudio</name>
<email></email>
</author>
<published>2008-11-24T20:08:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=3e8819ad9b9a3e9908f83841f2dedb8f6c6de15e'/>
<id>urn:sha1:3e8819ad9b9a3e9908f83841f2dedb8f6c6de15e</id>
<content type='text'>
struct in the if_msghdr instead of using sizeof() blindly. This allows us
to grow if_data without causing issues for the getifaddrs() users.
OK deraadt@ (who needs this for some cool upcomming stuff)
</content>
</entry>
<entry>
<title>remove obsolete comment, no SIOCGIFCONF path any more</title>
<updated>2002-08-09T06:12:25+00:00</updated>
<author>
<name>itojun</name>
<email></email>
</author>
<published>2002-08-09T06:12:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c428d081529c12d71cc936f7a1977fc925eec118'/>
<id>urn:sha1:c428d081529c12d71cc936f7a1977fc925eec118</id>
<content type='text'>
</content>
</entry>
<entry>
<title>unifdef for auditability.</title>
<updated>2002-08-09T06:11:53+00:00</updated>
<author>
<name>itojun</name>
<email></email>
</author>
<published>2002-08-09T06:11:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0dc53d4b9306ff2469ff6f680646ea0540058fc2'/>
<id>urn:sha1:0dc53d4b9306ff2469ff6f680646ea0540058fc2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>label abort() from inside library as ILLEGAL</title>
<updated>2002-01-02T23:00:10+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2002-01-02T23:00:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=4f30fe57b0192300ebaeb9dd5367a67c78c9625a'/>
<id>urn:sha1:4f30fe57b0192300ebaeb9dd5367a67c78c9625a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cope with sa_len &lt; sizeof(struct sockaddr).</title>
<updated>2001-08-20T02:27:10+00:00</updated>
<author>
<name>itojun</name>
<email></email>
</author>
<published>2001-08-20T02:27:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=7f230ace8fd819f5d376db88b183f0151a8e6475'/>
<id>urn:sha1:7f230ace8fd819f5d376db88b183f0151a8e6475</id>
<content type='text'>
From: Patrik Lindergren &lt;patrik@datacom.nu&gt;
</content>
</entry>
</feed>
