Still Failing: openssl/openssl#35084 (master - 082c041)

Travis CI builds at travis-ci.org
Fri May 29 14:35:41 UTC 2020


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

Build: #35084
Status: Still Failing

Duration: 45 mins and 27 secs
Commit: 082c041 (master)
Author: Bernd Edlinger
Message: bio printf: Avoid using rounding errors in range check

There is a problem casting ULONG_MAX to double which clang-10 is warning about.
ULONG_MAX typically cannot be exactly represented as a double.  ULONG_MAX + 1
can be and this fix uses the latter, however since ULONG_MAX cannot be
represented exactly as a double number we subtract 65535 from this number,
and the result has at most 48 leading one bits, and can therefore be
represented as a double integer without rounding error.  By adding
65536.0 to this number we achive the correct result, which should avoid the
warning.

The addresses a symptom of the underlying problem: we print doubles via an
unsigned long integer.  Doubles have a far greater range and should be printed
better.

Reviewed-by: Paul Dale <paul.dale at oracle.com>
(Merged from https://github.com/openssl/openssl/pull/11955)

View the changeset: https://github.com/openssl/openssl/compare/f438f53a4e57...082c041b4233

View the full build log and details: https://travis-ci.org/github/openssl/openssl/builds/692553385?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/20200529/8ec8ad12/attachment.html>


More information about the openssl-commits mailing list