<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openssl/test, branch openssl-3.3.2</title>
<subtitle>TLS/SSL and crypto library.</subtitle>
<id>http://git.bktus.com/gpgfrontend/openssl/atom?h=openssl-3.3.2</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/openssl/atom?h=openssl-3.3.2'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/'/>
<updated>2024-09-03T12:44:27Z</updated>
<entry>
<title>Copyright year updates</title>
<updated>2024-09-03T12:44:27Z</updated>
<author>
<name>Tomas Mraz</name>
<email>tomas@openssl.org</email>
</author>
<published>2024-09-03T12:44:27Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=96782e34ddf480d10ca4781cabbd2a7d4feff982'/>
<id>urn:sha1:96782e34ddf480d10ca4781cabbd2a7d4feff982</id>
<content type='text'>
Reviewed-by: Neil Horman &lt;nhorman@openssl.org&gt;
Release: yes
</content>
</entry>
<entry>
<title>Avoid type errors in EAI-related name check logic.</title>
<updated>2024-09-03T10:03:11Z</updated>
<author>
<name>Viktor Dukhovni</name>
<email>viktor@openssl.org</email>
</author>
<published>2024-06-19T11:04:11Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=7dfcee2cd2a63b2c64b9b4b0850be64cb695b0a0'/>
<id>urn:sha1:7dfcee2cd2a63b2c64b9b4b0850be64cb695b0a0</id>
<content type='text'>
The incorrectly typed data is read only, used in a compare operation, so
neither remote code execution, nor memory content disclosure were possible.
However, applications performing certificate name checks were vulnerable to
denial of service.

The GENERAL_TYPE data type is a union, and we must take care to access the
correct member, based on `gen-&gt;type`, not all the member fields have the same
structure, and a segfault is possible if the wrong member field is read.

The code in question was lightly refactored with the intent to make it more
obviously correct.

Fixes CVE-2024-6119

Reviewed-by: Richard Levitte &lt;levitte@openssl.org&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
(cherry picked from commit 0890cd13d40fbc98f655f3974f466769caa83680)
</content>
</entry>
<entry>
<title>endecode_test.c: Fix !fips v3.0.0 check</title>
<updated>2024-08-30T09:43:20Z</updated>
<author>
<name>Pauli</name>
<email>ppzgs1@gmail.com</email>
</author>
<published>2024-08-30T01:43:29Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=ff35957337cdb1b68478fc5d1e77a2fc7e5be012'/>
<id>urn:sha1:ff35957337cdb1b68478fc5d1e77a2fc7e5be012</id>
<content type='text'>
The fips_provider_version_* functions return true if the FIPS provider isn't
loaded.  This is somewhat counterintuitive and the fix in #25327 neglected
this nuance resulting in not running the SM2 tests when the FIPS provider
wasn't being loaded.

Reviewed-by: Viktor Dukhovni &lt;viktor@openssl.org&gt;
Reviewed-by: Tom Cosgrove &lt;tom.cosgrove@arm.com&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/25331)

(cherry picked from commit c6c6af18ea5f8dd7aa2bd54b63fcb813ee6c2394)
</content>
</entry>
<entry>
<title>endecode_test.c: Avoid running the SM2 tests with 3.0.0 FIPS provider</title>
<updated>2024-08-29T17:46:00Z</updated>
<author>
<name>Tomas Mraz</name>
<email>tomas@openssl.org</email>
</author>
<published>2024-08-29T16:42:14Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=d197788f4a9f4d68508bbc92d48a3f1bbe1b8f1c'/>
<id>urn:sha1:d197788f4a9f4d68508bbc92d48a3f1bbe1b8f1c</id>
<content type='text'>
Fixes #25326

Reviewed-by: Richard Levitte &lt;levitte@openssl.org&gt;
Reviewed-by: Neil Horman &lt;nhorman@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/25327)

(cherry picked from commit 0b97a5505efa8833bb7b8cabae45894ad6d910a2)
</content>
</entry>
<entry>
<title>Fix decoder error on SM2 private key</title>
<updated>2024-08-29T13:29:32Z</updated>
<author>
<name>Jamie Cui</name>
<email>jamie.cui@outlook.com</email>
</author>
<published>2024-08-22T03:41:50Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=ba01343c9efd7d53e3f8fd24750fa7749e5c1d6a'/>
<id>urn:sha1:ba01343c9efd7d53e3f8fd24750fa7749e5c1d6a</id>
<content type='text'>
Added sm2 testcases to endecode_test.c.

Reviewed-by: Richard Levitte &lt;levitte@openssl.org&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/25266)

(cherry picked from commit 25bd0c77bfa7e8127faafda2b082432ea58f9570)
</content>
</entry>
<entry>
<title>FIPS: Change fips tests to use SHA2 for corruption test.</title>
<updated>2024-08-23T08:28:08Z</updated>
<author>
<name>slontis</name>
<email>shane.lontis@oracle.com</email>
</author>
<published>2024-08-21T23:09:14Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=81259299499e81d0b3850e09c9366aa67c65b07c'/>
<id>urn:sha1:81259299499e81d0b3850e09c9366aa67c65b07c</id>
<content type='text'>
Fixes cross testing with OpenSSL 3.4 with removed SHA1 from the self
tests.

Reviewed-by: Paul Dale &lt;ppzgs1@gmail.com&gt;
Reviewed-by: Tom Cosgrove &lt;tom.cosgrove@arm.com&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/25262)

(cherry picked from commit 06179b4be0e5617455924f02830a43b85d154c1a)
</content>
</entry>
<entry>
<title>Fix error handling in OBJ_add_object</title>
<updated>2024-08-21T13:53:57Z</updated>
<author>
<name>Bernd Edlinger</name>
<email>bernd.edlinger@hotmail.de</email>
</author>
<published>2023-10-27T10:05:05Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=2e966354956e55825331f61bf98976ffe60e4332'/>
<id>urn:sha1:2e966354956e55825331f61bf98976ffe60e4332</id>
<content type='text'>
This fixes the possible memory leak in OBJ_add_object
when a pre-existing object is replaced by a new one,
with identical NID, OID, and/or short/long name.
We do not try to delete any orphans, but only mark
them as type == -1, because the previously returned
pointers from OBJ_nid2obj/OBJ_nid2sn/OBJ_nid2ln
may be cached by applications and can thus not
be cleaned up before the application terminates.

Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/22534)

(cherry picked from commit e91384d5b0547bf797e2b44976f142d146c4e650)
</content>
</entry>
<entry>
<title>test/provider_test.c: Add OSSL_PROVIDER_unload() to avoid memory leak</title>
<updated>2024-08-21T13:39:43Z</updated>
<author>
<name>Jiasheng Jiang</name>
<email>jiashengjiangcool@outlook.com</email>
</author>
<published>2024-08-06T19:18:34Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=606fdff98a2eaafad257fe66193921b9222bdeba'/>
<id>urn:sha1:606fdff98a2eaafad257fe66193921b9222bdeba</id>
<content type='text'>
Add OSSL_PROVIDER_unload() when OSSL_PROVIDER_add_builtin() fails to avoid memory leak.

Fixes: 5442611dff ("Add a test for OSSL_LIB_CTX_new_child()")
Signed-off-by: Jiasheng Jiang &lt;jiashengjiangcool@outlook.com&gt;

Reviewed-by: Shane Lontis &lt;shane.lontis@oracle.com&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/25109)

(cherry picked from commit 55662b674543c9385600bc9b7c46277ef69b4dba)
</content>
</entry>
<entry>
<title>test/provider_fallback_test.c: Add OSSL_PROVIDER_unload() to avoid memory leak</title>
<updated>2024-08-21T13:37:50Z</updated>
<author>
<name>Jiasheng Jiang</name>
<email>jiashengjiangcool@outlook.com</email>
</author>
<published>2024-08-06T18:42:06Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=2bec15e92ea2b57e5e8c474f524989177c2cdd27'/>
<id>urn:sha1:2bec15e92ea2b57e5e8c474f524989177c2cdd27</id>
<content type='text'>
Add OSSL_PROVIDER_unload() when test_provider() fails to avoid memory leak.

Fixes: f995e5bdcd ("TEST: Add provider_fallback_test, to test aspects of
fallback providers")
Signed-off-by: Jiasheng Jiang &lt;jiashengjiangcool@outlook.com&gt;

Reviewed-by: Shane Lontis &lt;shane.lontis@oracle.com&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/25108)

(cherry picked from commit 6e8a1031ed11af9645769f9e019db9f032a220b8)
</content>
</entry>
<entry>
<title>test: add a default greeting to avoid printing a null pointer.</title>
<updated>2024-08-19T09:21:36Z</updated>
<author>
<name>Pauli</name>
<email>ppzgs1@gmail.com</email>
</author>
<published>2024-08-18T22:31:15Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=fce17ad57d22820dfe01f57084d28fe515f6425c'/>
<id>urn:sha1:fce17ad57d22820dfe01f57084d28fe515f6425c</id>
<content type='text'>
Reviewed-by: Shane Lontis &lt;shane.lontis@oracle.com&gt;
Reviewed-by: Paul Yang &lt;kaishen.yy@antfin.com&gt;
(Merged from https://github.com/openssl/openssl/pull/25221)

(cherry picked from commit 34877dbcd467efb4e2dbf45d2fcb44c5a4b4926a)
</content>
</entry>
</feed>
