<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libssl, branch libressl-v3.2.3</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=libressl-v3.2.3</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=libressl-v3.2.3'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2020-09-26T14:43:17+00:00</updated>
<entry>
<title>Call dtls1_hm_fragment_free() from dtls1_drain_fragments()</title>
<updated>2020-09-26T14:43:17+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2020-09-26T14:43:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b147e2d737372e25e4ae27eb3f3cf46c472e9055'/>
<id>urn:sha1:b147e2d737372e25e4ae27eb3f3cf46c472e9055</id>
<content type='text'>
Currently dtls1_drain_fragments() has a incomplete handrolled version of
dtls1_hm_fragment_free(), which has the potential to leak memory. Replace
the handrolled free with a call to dtls1_hm_fragment_free().

ok inoguchi@ tb@
</content>
</entry>
<entry>
<title>Have dtls1_new() call dtls1_free() on failure.</title>
<updated>2020-09-26T09:01:05+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2020-09-26T09:01:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=16a00524267404e94d8c26a27dd54a75587920e7'/>
<id>urn:sha1:16a00524267404e94d8c26a27dd54a75587920e7</id>
<content type='text'>
Allocate into the appropriate structures and call dtls1_free() on failure,
rather than allocating into local variables and then remembering to free
various things on failure.

ok tb@
</content>
</entry>
<entry>
<title>Have dtls1_hm_fragment_new() call dtls1_hm_fragment_free() on failure.</title>
<updated>2020-09-26T08:58:00+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2020-09-26T08:58:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=f4c0739084aedd02b6fe70b1b3fd77fb833e59c1'/>
<id>urn:sha1:f4c0739084aedd02b6fe70b1b3fd77fb833e59c1</id>
<content type='text'>
Rather than using local variables and having to remember which things need
to be freed upon a failure at a certain point, simply allocate into the
hm_fragment struct and call dtls1_hm_fragment_free() on failure.

Also use calloc() to ensure memory is appropriately zeroed/initialised.

ok tb@
</content>
</entry>
<entry>
<title>Refactor dtls1_clear_queues()</title>
<updated>2020-09-26T07:36:51+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2020-09-26T07:36:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=4284d3c95b72551c4d0f88087d7ef3e863d48e86'/>
<id>urn:sha1:4284d3c95b72551c4d0f88087d7ef3e863d48e86</id>
<content type='text'>
An upcoming cleanup diff by jsing needs dtls1_clear_queues() to be
able to handle NULL pqueues. While one can easily add a NULL check
to pqueue_pop(), this does not really fit in with the rest of the
code. There are two kinds of while loops in dtls1_clear_queues that
drain pqueues, so add two helper functions with a NULL check each.

ok jsing
</content>
</entry>
<entry>
<title>Simplify the cleanup of init_buf via a ssl3_release_init_buffer() function.</title>
<updated>2020-09-24T18:12:00+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2020-09-24T18:12:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=10841ee643f560678ff5ed0276c4da735ec37bdf'/>
<id>urn:sha1:10841ee643f560678ff5ed0276c4da735ec37bdf</id>
<content type='text'>
ok beck@ inoguchi@ tb@
</content>
</entry>
<entry>
<title>Release read and write buffers using freezero().</title>
<updated>2020-09-24T17:59:54+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2020-09-24T17:59:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=1328e78055c6ad087ebbec8484862dea13576ef5'/>
<id>urn:sha1:1328e78055c6ad087ebbec8484862dea13576ef5</id>
<content type='text'>
Provide a ssl3_release_buffer() function that correctly frees a buffer
and call it from the appropriate locations. While here also change
ssl3_release_{read,write}_buffer() to void since they cannot fail and
no callers check the return value currently.

ok beck@ inoguchi@ tb@
</content>
</entry>
<entry>
<title>Comment out SSL_get0_peername(3) for the OpenBSD 6.8 release</title>
<updated>2020-09-22T16:31:37+00:00</updated>
<author>
<name>schwarze</name>
<email></email>
</author>
<published>2020-09-22T16:31:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=3c2327f4edba471c6f740a93c21833ec7d949058'/>
<id>urn:sha1:3c2327f4edba471c6f740a93c21833ec7d949058</id>
<content type='text'>
because tb@ decided to not enable it before the release.
OK tb@
</content>
</entry>
<entry>
<title>reword ambiguous title line;</title>
<updated>2020-09-22T13:27:08+00:00</updated>
<author>
<name>schwarze</name>
<email></email>
</author>
<published>2020-09-22T13:27:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=73027e1287f7c452f7daf47c5abbfaf91a1e4967'/>
<id>urn:sha1:73027e1287f7c452f7daf47c5abbfaf91a1e4967</id>
<content type='text'>
issue noticed by and patch OK by jsing@
</content>
</entry>
<entry>
<title>s/before the handshake is complete/during the handshake/g</title>
<updated>2020-09-21T15:18:13+00:00</updated>
<author>
<name>schwarze</name>
<email></email>
</author>
<published>2020-09-21T15:18:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=6e09d7f1e9f3ef530e31923e85921a0535f5a4e0'/>
<id>urn:sha1:6e09d7f1e9f3ef530e31923e85921a0535f5a4e0</id>
<content type='text'>
because that is both shorter and more precise;
wording suggested by jsing@
</content>
</entry>
<entry>
<title>two wording tweaks suggested by jsing@, adding clarity</title>
<updated>2020-09-21T14:59:46+00:00</updated>
<author>
<name>schwarze</name>
<email></email>
</author>
<published>2020-09-21T14:59:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=27ff728c524e9adfa73f3906fd342bb9fd830e98'/>
<id>urn:sha1:27ff728c524e9adfa73f3906fd342bb9fd830e98</id>
<content type='text'>
</content>
</entry>
</feed>
