<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib, 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-12-08T15:08:47+00:00</updated>
<entry>
<title>Fix a NULL dereference in GENERAL_NAME_cmp()</title>
<updated>2020-12-08T15:08:47+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2020-12-08T15:08:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=267ac14fa6781b6553b05a6d8dcdf99eaacc0edf'/>
<id>urn:sha1:267ac14fa6781b6553b05a6d8dcdf99eaacc0edf</id>
<content type='text'>
Comparing two GENERAL_NAME structures containing an EDIPARTYNAME can lead
to a crash. This enables a denial of service attack for an attacker who can
control both sides of the comparison.

Issue reported to OpenSSL on Nov 9 by David Benjamin.
OpenSSL shared the information with us on Dec 1st.
Fix from Matt Caswell (OpenSSL) with a few small tweaks.

ok jsing

this is errata/6.8/008_asn1.patch.sig
</content>
</entry>
<entry>
<title>Ensure leaf is set up on X509_STORE_CTX before verification.</title>
<updated>2020-09-26T15:44:06+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2020-09-26T15:44:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=4e8347390553060ef9ddb7e486d3c945d2af54ab'/>
<id>urn:sha1:4e8347390553060ef9ddb7e486d3c945d2af54ab</id>
<content type='text'>
Previously the leaf certificate was only being set up on the X509_STORE_CTX
after two verification steps were performed, however at least one of those
steps could result in the verification callback being triggered and
existing code breaking.

Issue noticed by Raf Czlonka when attempting to connect to talk.google.com
using profanity (which does not set SNI and ends up receiving an invalid
certificate).

ok beck@ deraadt@ tb@
</content>
</entry>
<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>jumping into the x509 fray with a bunch of whitespace repair</title>
<updated>2020-09-26T02:06:28+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2020-09-26T02:06:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=3e6655fb0b20e8ae2d4546bab15df8fe320eec75'/>
<id>urn:sha1:3e6655fb0b20e8ae2d4546bab15df8fe320eec75</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bump to LibreSSL 3.2.2 ahead of lock</title>
<updated>2020-09-25T11:31:39+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2020-09-25T11:31:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=33b8c9d48b4113d7a8f7d647bbf752c75a0a83e3'/>
<id>urn:sha1:33b8c9d48b4113d7a8f7d647bbf752c75a0a83e3</id>
<content type='text'>
ok tb@
</content>
</entry>
<entry>
<title>KNF for a few comments and indent a label</title>
<updated>2020-09-25T11:25:31+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2020-09-25T11:25:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=595cb14b635063eb152a7a571795b041671c0869'/>
<id>urn:sha1:595cb14b635063eb152a7a571795b041671c0869</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove some dangling elses for consistency with the rest of the file</title>
<updated>2020-09-25T11:17:52+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2020-09-25T11:17:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=1efcbc50096abcd1a19ce4d45d4d127e06e04413'/>
<id>urn:sha1:1efcbc50096abcd1a19ce4d45d4d127e06e04413</id>
<content type='text'>
</content>
</entry>
</feed>
