<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libc/stdlib, branch libressl-v3.8.4</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=libressl-v3.8.4</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=libressl-v3.8.4'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2023-09-09T06:52:40+00:00</updated>
<entry>
<title>Print waring message when not allocated memory in putleakinfo().</title>
<updated>2023-09-09T06:52:40+00:00</updated>
<author>
<name>asou</name>
<email></email>
</author>
<published>2023-09-09T06:52:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=6d1324dd796d24ee2d7d9d745f5b6502cc4f8a74'/>
<id>urn:sha1:6d1324dd796d24ee2d7d9d745f5b6502cc4f8a74</id>
<content type='text'>
ok otto.
</content>
</entry>
<entry>
<title>Document that small allocations are initially junked with 0xdf now</title>
<updated>2023-07-01T18:35:14+00:00</updated>
<author>
<name>otto</name>
<email></email>
</author>
<published>2023-07-01T18:35:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=364a0be2bc00fc346b564acafa58e35cc3a601b1'/>
<id>urn:sha1:364a0be2bc00fc346b564acafa58e35cc3a601b1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Recommit "Allow to ask for deeper callers for leak reports using</title>
<updated>2023-06-30T06:24:58+00:00</updated>
<author>
<name>otto</name>
<email></email>
</author>
<published>2023-06-30T06:24:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c111c67219ce3e64e18b69cac66db4f26b34a254'/>
<id>urn:sha1:c111c67219ce3e64e18b69cac66db4f26b34a254</id>
<content type='text'>
malloc options"

Now only enabled for platforms where it's know to work and written
as a inline functions instead of a macro.
</content>
</entry>
<entry>
<title>Revert previous, not all platforms allow compiling</title>
<updated>2023-06-23T05:26:45+00:00</updated>
<author>
<name>otto</name>
<email></email>
</author>
<published>2023-06-23T05:26:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=88356c7f16b582f6323f6f967e8d6086ef5ee584'/>
<id>urn:sha1:88356c7f16b582f6323f6f967e8d6086ef5ee584</id>
<content type='text'>
__builtin_return_address(a) with a != 0.
</content>
</entry>
<entry>
<title>Allow to ask for deeper callers for leak reports using malloc options.</title>
<updated>2023-06-22T11:04:16+00:00</updated>
<author>
<name>otto</name>
<email></email>
</author>
<published>2023-06-22T11:04:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=430bab60a2459b139f4e9f24ca77058d72cf0fbf'/>
<id>urn:sha1:430bab60a2459b139f4e9f24ca77058d72cf0fbf</id>
<content type='text'>
ok deraadt@
</content>
</entry>
<entry>
<title>Add portable version and m88k-specific version lb() function, because</title>
<updated>2023-06-07T12:56:22+00:00</updated>
<author>
<name>aoyama</name>
<email></email>
</author>
<published>2023-06-07T12:56:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=1fea23cb6df5879e751b546b2412d8c09ce5bc9a'/>
<id>urn:sha1:1fea23cb6df5879e751b546b2412d8c09ce5bc9a</id>
<content type='text'>
unfortunately gcc3 does not have __builtin_clz().

ok miod@ otto@
</content>
</entry>
<entry>
<title>More thorough write-afetr-free checks.</title>
<updated>2023-06-04T06:58:33+00:00</updated>
<author>
<name>otto</name>
<email></email>
</author>
<published>2023-06-04T06:58:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2a8b47d0250685d7abc14fa96be74d04d0b8c8ec'/>
<id>urn:sha1:2a8b47d0250685d7abc14fa96be74d04d0b8c8ec</id>
<content type='text'>
On free, chunks (the pieces of a pages used for smaller allocations)
are junked and then validated after they leave the delayed free
list.  So after free, a chunk always contains junk bytes. This means
that if we start with the right contents for a new page of chunks,
we can *validate* instead of *write* junk bytes when (re)-using a
chunk.

With this, we can detect write-after-free when a chunk is recycled,
not justy when a chunk is in the delayed free list.  We do a little
bit more work on initial allocation of a page of chunks and when
re-using (as we validate now even on junk level 1).

Also: some extra consistency checks for recallocaray(3) and fixes
in error messages to make them more consistent, with man page bits.

Plus regress additions.
</content>
</entry>
<entry>
<title>Remove malloc interposition, a workaround that was once needed for emacs</title>
<updated>2023-05-27T04:33:00+00:00</updated>
<author>
<name>otto</name>
<email></email>
</author>
<published>2023-05-27T04:33:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=79242671d4fc62c0520403a6875e4c4254611365'/>
<id>urn:sha1:79242671d4fc62c0520403a6875e4c4254611365</id>
<content type='text'>
ok guenther@
</content>
</entry>
<entry>
<title>Add PROTO_NORMAL() declarations for the remaining syscalls, to avoid</title>
<updated>2023-05-18T16:11:10+00:00</updated>
<author>
<name>guenther</name>
<email></email>
</author>
<published>2023-05-18T16:11:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=432d44bf3970806c89d3c69805013dc2cdc4cfc0'/>
<id>urn:sha1:432d44bf3970806c89d3c69805013dc2cdc4cfc0</id>
<content type='text'>
future, inadvertant PLT entries.  Move the __getcwd and __realpath
declarations to hidden/{stdlib,unistd}.h to consolidate and remove
duplication.

ok tb@ otto@ deraadt@
</content>
</entry>
<entry>
<title>As mmap(2) is no longer a LOCK syscall, do away with the extra</title>
<updated>2023-05-10T07:58:06+00:00</updated>
<author>
<name>otto</name>
<email></email>
</author>
<published>2023-05-10T07:58:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2571fa44f98869d5490b1fc30fb1ed5868093cdb'/>
<id>urn:sha1:2571fa44f98869d5490b1fc30fb1ed5868093cdb</id>
<content type='text'>
unlock-lock dance it serves no real purpose any more. Confirmed
by a small performance increase in tests.  ok @tb
</content>
</entry>
</feed>
