Still Failing: openssl/openssl#24825 (OpenSSL_1_1_1-stable - 18111b1)
builds at travis-ci.org
Thu Apr 18 17:56:49 UTC 2019
Build Update for openssl/openssl
Status: Still Failing
Duration: 25 mins and 32 secs
Commit: 18111b1 (OpenSSL_1_1_1-stable)
Author: Richard Levitte
Message: asn1parse: avoid double free
|str| was used for multiple conflicting purposes. When using
'-strictpem', it's used to uniquely hold a reference to the loaded
payload. However, when using '-strparse', |str| was re-used to hold
the position from where to start parsing.
So when '-strparse' and '-strictpem' are were together, |str| ended up
pointing into data pointed at by |at|, and was yet being freed, with
the result that the payload it held a reference to became a memory
leak, and there was a double free conflict when both |str| and |at|
were being freed.
The situation is resolved by always having |buf| hold the pointer to
the file data, and always and only use |str| to hold the position to
start parsing from. Now, we only need to free |buf| properly and not
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre at ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/8753)
(cherry picked from commit 4f29f3a29b8b416a501c7166dbbca5284b198f81)
View the changeset: https://github.com/openssl/openssl/compare/2456ae5763dc...18111b130abc
View the full build log and details: https://travis-ci.org/openssl/openssl/builds/521823496?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...
More information about the openssl-commits