Still Failing: openssl/openssl#30203 (master - f75abcc)

Travis CI builds at travis-ci.org
Mon Nov 18 04:01:29 UTC 2019


Build Update for openssl/openssl
-------------------------------------

Build: #30203
Status: Still Failing

Duration: 30 mins and 5 secs
Commit: f75abcc (master)
Author: Shane Lontis
Message: Fix Use after free when copying cipher ctx

Fixes #10438
issue found by clusterfuzz/ossfuzz

The dest was getting a copy of the src structure which contained a pointer that should point to an offset inside itself - because of the copy it was pointing to the original structure.

The setup for a ctx is mainly done by the initkey method in the PROV_CIPHER_HW structure. Because of this it makes sense that the structure should also contain a copyctx method that is use to resolve any pointers that need to be setup.

A dup_ctx has been added to the cipher_enc tests in evp_test. It does a dup after setup and then frees the original ctx. This detects any floating pointers in the duplicated context that were pointing back to the freed ctx.

Reviewed-by: Matt Caswell <matt at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10443)

View the changeset: https://github.com/openssl/openssl/compare/de0799b0fc84...f75abcc0f073

View the full build log and details: https://travis-ci.org/openssl/openssl/builds/613310825?utm_medium=notification&utm_source=email

--

You can unsubscribe from build emails from the openssl/openssl repository going to https://travis-ci.org/account/preferences/unsubscribe?repository=5849220&utm_medium=notification&utm_source=email.
Or unsubscribe from *all* email updating your settings at https://travis-ci.org/account/preferences/unsubscribe?utm_medium=notification&utm_source=email.
Or configure specific recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-commits/attachments/20191118/a6628dcc/attachment.html>


More information about the openssl-commits mailing list