Failed: openssl/openssl#34488 (master - 0324ffc)

Travis CI builds at travis-ci.org
Fri May 8 22:05:24 UTC 2020


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

Build: #34488
Status: Failed

Duration: 12 mins and 9 secs
Commit: 0324ffc (master)
Author: Maximilian Blenk
Message: Fix PEM certificate loading that sometimes fails

As described in https://github.com/openssl/openssl/issues/9187, the
loading of PEM certificates sometimes fails if a line of base64
content has the length of a multiple of 254.
The problem is in get_header_and_data(). When such a line with a
length of 254 (or a multiple) has been read, the next read will
only read a newline. Due to this get_header_and_data() expects to be
in the header not in the data area. This commit fixes that by checking
if lines have been read completely or only partially. In case of a
previous partial read, a newline will be ignored.

Reviewed-by: Dmitry Belyavskiy <beldmit at gmail.com>
Reviewed-by: Tomas Mraz <tmraz at fedoraproject.org>
Reviewed-by: Ben Kaduk <kaduk at mit.edu>
(Merged from https://github.com/openssl/openssl/pull/11741)

View the changeset: https://github.com/openssl/openssl/compare/257e9d03b028...0324ffc5d5d3

View the full build log and details: https://travis-ci.org/github/openssl/openssl/builds/684850902?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: <https://mta.openssl.org/pipermail/openssl-commits/attachments/20200508/4f13887f/attachment-0001.html>


More information about the openssl-commits mailing list