<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libc/stdlib/reallocarray.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>2015-09-13T08:31:48+00:00</updated>
<entry>
<title>Wrap &lt;stdlib.h&gt; so that calls go direct and the symbols not in the</title>
<updated>2015-09-13T08:31:48+00:00</updated>
<author>
<name>guenther</name>
<email></email>
</author>
<published>2015-09-13T08:31:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=e85bde5645a66155108c2a88d25fa62993a3f2bb'/>
<id>urn:sha1:e85bde5645a66155108c2a88d25fa62993a3f2bb</id>
<content type='text'>
C standard are all weak.
Apply __{BEGIN,END}_HIDDEN_DECLS to gdtoa{,imp}.h, hiding the
arch-specific __strtorx, __ULtox_D2A, __strtorQ, __ULtoQ_D2A symbols.
</content>
</entry>
<entry>
<title>avoid left shift overflow in reallocarray.</title>
<updated>2014-12-08T03:45:00+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2014-12-08T03:45:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c2309f70a1d7d69c81f79e5ab9ad79e63d4d8e82'/>
<id>urn:sha1:c2309f70a1d7d69c81f79e5ab9ad79e63d4d8e82</id>
<content type='text'>
Some 64-bit platforms (e.g. Windows 64) have a 32-bit long. So, shifting
1UL 32-bits to the left causes an overflow. This replaces the constant 1UL with
(size_t)1 so that we get the correct constant size for the platform.

discussed with tedu@ &amp; deraadt@
</content>
</entry>
<entry>
<title>move reallocarray() to a seperate file so that -portable applications</title>
<updated>2014-05-08T21:43:49+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2014-05-08T21:43:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=d5f0005a9be9ae9d9f5d3cca531533e152bf50eb'/>
<id>urn:sha1:d5f0005a9be9ae9d9f5d3cca531533e152bf50eb</id>
<content type='text'>
can avoid reinventing the wheel
ok guenther schwarze
</content>
</entry>
</feed>
