[MDEV-28339] Crashes with OpenSSL 3.0.2 Created: 2022-04-18 Updated: 2022-05-16 Resolved: 2022-05-16 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Server |
| Affects Version/s: | 10.5.15, 10.6.7, 10.7.3 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Andy | Assignee: | Unassigned |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | openssl | ||
| Environment: |
SunOS hosting 5.11 omnios-r151042-7577932f27 i86pc i386 i86pc |
||
| Issue Links: |
|
||||||||
| Description |
|
Since upgrading my OS to a version which ships mariadb built against openssl 3.0.2, I am seeing server crashes in both my_md5() and my_aes()
Changing the code to use the new openssl APIs with EVP_CIPHER/MD_CTX_new/free() resolves the problem for me, but that doesn't fix the plugin API. |
| Comments |
| Comment by Sergei Golubchik [ 2022-04-18 ] |
|
MariaDB 10.5.15, 10.6.7, 10.7.3 cannot be built with OpenSSL 3.0. There's a compile-time check that prevents that: https://github.com/MariaDB/server/commit/c9beef43154 I suspect your OS mariadb maintainers have removed this safety check and ended up with a broken binary. At the moment MariaDB supports OpenSSL 3.0 only starting from MariaDB 10.8. We do plan to backport this change, but it has not happened yet. |
| Comment by Andy [ 2022-04-18 ] |
|
It would appear so, I'll go and look into that. |