<feed xmlns='http://www.w3.org/2005/Atom'>
<title>skalibs/src/libstddjb/stralloc_ready_tuned.c, branch main</title>
<subtitle>The skarnet.org C programming library</subtitle>
<id>https://git.skarnet.org/cgit/skalibs/atom/src/libstddjb/stralloc_ready_tuned.c?h=main</id>
<link rel='self' href='https://git.skarnet.org/cgit/skalibs/atom/src/libstddjb/stralloc_ready_tuned.c?h=main'/>
<link rel='alternate' type='text/html' href='https://git.skarnet.org/cgit/skalibs/'/>
<updated>2026-03-10T17:44:37Z</updated>
<entry>
<title> ZI stralloc/genalloc</title>
<updated>2026-03-10T17:44:37Z</updated>
<author>
<name>Laurent Bercot</name>
<email>ska-skaware@skarnet.org</email>
</author>
<published>2026-03-10T17:44:37Z</published>
<link rel='alternate' type='text/html' href='https://git.skarnet.org/cgit/skalibs/commit/?id=f9c256aec78bdb594c3d3719373d67712851f5b6'/>
<id>urn:sha1:f9c256aec78bdb594c3d3719373d67712851f5b6</id>
<content type='text'>
</content>
</entry>
<entry>
<title> Fix alloc_realloc UB</title>
<updated>2020-04-29T19:08:19Z</updated>
<author>
<name>Laurent Bercot</name>
<email>ska-skaware@skarnet.org</email>
</author>
<published>2020-04-29T19:08:19Z</published>
<link rel='alternate' type='text/html' href='https://git.skarnet.org/cgit/skalibs/commit/?id=038082c425c40037a28111934dfb5037edbcad8c'/>
<id>urn:sha1:038082c425c40037a28111934dfb5037edbcad8c</id>
<content type='text'>
 void ** does not exist: the address of a generic pointer is not
properly defined (different pointer types may have different
representations). So, alloc_realloc cannot exist as is without UB.
Fortunately, it's not supposed to be used in the skalibs programming
style, and skalibs itself only uses it in two places
(stralloc_ready_tuned and stralloc_shrink) where the pointer is a
char *.
 So we just fix the UB by making alloc_realloc() take a char **,
and it's only defined for that pointer type.
 Nothing to see here folks, nothing happened at all.
</content>
</entry>
<entry>
<title> We're down to ONE rogue sysdep, boys. ONE.</title>
<updated>2019-09-20T19:55:29Z</updated>
<author>
<name>Laurent Bercot</name>
<email>ska-skaware@skarnet.org</email>
</author>
<published>2019-09-20T19:55:29Z</published>
<link rel='alternate' type='text/html' href='https://git.skarnet.org/cgit/skalibs/commit/?id=03f37879ef167dba6f5944716c06da81902e436e'/>
<id>urn:sha1:03f37879ef167dba6f5944716c06da81902e436e</id>
<content type='text'>
</content>
</entry>
<entry>
<title> Types change: big pass on libstddjb and libunixonacid</title>
<updated>2017-02-21T12:05:07Z</updated>
<author>
<name>Laurent Bercot</name>
<email>ska-skaware@skarnet.org</email>
</author>
<published>2017-02-21T12:05:07Z</published>
<link rel='alternate' type='text/html' href='https://git.skarnet.org/cgit/skalibs/commit/?id=49d8fa1058aaf23c29e074b2314492ae40d2f557'/>
<id>urn:sha1:49d8fa1058aaf23c29e074b2314492ae40d2f557</id>
<content type='text'>
 libdatastruct still missing, library still not functional
</content>
</entry>
<entry>
<title> add arc4random_addrandom sysdep; next batch of types changes.</title>
<updated>2017-02-15T17:40:40Z</updated>
<author>
<name>Laurent Bercot</name>
<email>ska-skaware@skarnet.org</email>
</author>
<published>2017-02-15T17:40:40Z</published>
<link rel='alternate' type='text/html' href='https://git.skarnet.org/cgit/skalibs/commit/?id=a896ca2a8c617e5e00ffd5fc9e69331ad754e5b3'/>
<id>urn:sha1:a896ca2a8c617e5e00ffd5fc9e69331ad754e5b3</id>
<content type='text'>
 The library isn't supposed to be functional yet: there are
still a lot of type mismatches.
</content>
</entry>
<entry>
<title>initial commit with rc for skalibs-2.0.0.0</title>
<updated>2014-09-18T18:55:44Z</updated>
<author>
<name>Laurent Bercot</name>
<email>ska-skaware@skarnet.org</email>
</author>
<published>2014-09-18T18:55:44Z</published>
<link rel='alternate' type='text/html' href='https://git.skarnet.org/cgit/skalibs/commit/?id=3534b428629be185e096be99e3bd5fdfe32d5544'/>
<id>urn:sha1:3534b428629be185e096be99e3bd5fdfe32d5544</id>
<content type='text'>
</content>
</entry>
</feed>
