<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/regress/lib/libc/malloc, branch libressl-v3.8.2</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=libressl-v3.8.2</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=libressl-v3.8.2'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2023-09-27T17:06:42+00:00</updated>
<entry>
<title>We're not interested in the core dump, so prevent it.  Also catch</title>
<updated>2023-09-27T17:06:42+00:00</updated>
<author>
<name>otto</name>
<email></email>
</author>
<published>2023-09-27T17:06:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2111262672df46424f159b033df992da98921119'/>
<id>urn:sha1:2111262672df46424f159b033df992da98921119</id>
<content type='text'>
SIGABRT, to avoid the "Abort trap" message, which confuses me sometimes
until I realize it's the purpose of this test to abort.
</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>Make malloc tests that set flags more robust against the user also</title>
<updated>2023-05-09T19:07:37+00:00</updated>
<author>
<name>otto</name>
<email></email>
</author>
<published>2023-05-09T19:07:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=6e7c77af78e6fdcf852347ebed6370240e6fa7aa'/>
<id>urn:sha1:6e7c77af78e6fdcf852347ebed6370240e6fa7aa</id>
<content type='text'>
having flags set.
</content>
</entry>
<entry>
<title>Enable malloc_errs test</title>
<updated>2023-05-08T11:13:30+00:00</updated>
<author>
<name>otto</name>
<email></email>
</author>
<published>2023-05-08T11:13:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=6e9688945a2be8253a069c29a3824a8b0bec66bb'/>
<id>urn:sha1:6e9688945a2be8253a069c29a3824a8b0bec66bb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add a regress test to test various malloc API and heap mismanagement</title>
<updated>2023-05-08T11:12:44+00:00</updated>
<author>
<name>otto</name>
<email></email>
</author>
<published>2023-05-08T11:12:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=1c041cc12f5a2b5e0daa288ce8b7e2428e78dc64'/>
<id>urn:sha1:1c041cc12f5a2b5e0daa288ce8b7e2428e78dc64</id>
<content type='text'>
errors which should cause abort. A few are not enabled yet, they
will be once the corresponding diffs in malloc are committed.
</content>
</entry>
<entry>
<title>Remove double slash in path to test program.</title>
<updated>2022-03-30T05:22:31+00:00</updated>
<author>
<name>anton</name>
<email></email>
</author>
<published>2022-03-30T05:22:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=a971c2dc43f2a59a987ed0427dcb233143629d75'/>
<id>urn:sha1:a971c2dc43f2a59a987ed0427dcb233143629d75</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Increase the max size of allocations, in prep for a large cache implementation.</title>
<updated>2022-01-09T07:18:50+00:00</updated>
<author>
<name>otto</name>
<email></email>
</author>
<published>2022-01-09T07:18:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=42f5a05492cea7c6f70c2887c5846c0bde6d621b'/>
<id>urn:sha1:42f5a05492cea7c6f70c2887c5846c0bde6d621b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>A few more flag combo's to test</title>
<updated>2021-02-12T12:03:39+00:00</updated>
<author>
<name>otto</name>
<email></email>
</author>
<published>2021-02-12T12:03:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=10ee17c00a6cbd616c502d47342f04734d15411b'/>
<id>urn:sha1:10ee17c00a6cbd616c502d47342f04734d15411b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Set malloc_options in global scope with an initializer.</title>
<updated>2019-06-12T11:31:36+00:00</updated>
<author>
<name>bluhm</name>
<email></email>
</author>
<published>2019-06-12T11:31:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=5e24eb523a9641cc50f62b07b0663a1c937abfe5'/>
<id>urn:sha1:5e24eb523a9641cc50f62b07b0663a1c937abfe5</id>
<content type='text'>
recommended by otto@
</content>
</entry>
<entry>
<title>Disable junking with malloc options.  If set, the test hangs on low</title>
<updated>2019-06-11T22:16:13+00:00</updated>
<author>
<name>bluhm</name>
<email></email>
</author>
<published>2019-06-11T22:16:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b0f7e7781477a1f49e0615e84ddbfb72809afaa6'/>
<id>urn:sha1:b0f7e7781477a1f49e0615e84ddbfb72809afaa6</id>
<content type='text'>
memory arm64 machines.
found by patrick@; OK otto@
</content>
</entry>
</feed>
