Interesting part is that the bug was introduced in the latest versions and has been fixed by the person who inserted it :-)
Bug added: https://github.com/openssl/openssl/commit/da084a5ec6cebd67ae...
Bug removed: https://github.com/openssl/openssl/commit/2aacec8f4a5ba1b365...
Although that's just the committer: https://twitter.com/agl__/status/619129579580469248