1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00
freebsd-ports/databases/mysql57-client/files
Jochen Neumeister 9f08727261 databases/mysql57-client: fix SIGSEGV due to static OpenSSL linking
As opposed to MySQL 8.0.x branch that switched to dynamic linking for OpenSSL libraries, MySQL 5.7.30 still statically links client applications with OpenSSL.

Meantime, OpenSSL supports dynamic loading of external engines like security/gost-engine. If such engine is configured to load in the openssl.cnf, mysql CLI application crashes at start with SIGSEGV early trying to initialize OpenSSL.

This loads dynamic engine library libgost.so that calls OpenSSL function using second (uninitialized) instance of OpenSSL leading to crash.

The problem is fixed with small backport from MySQL 8.0.x for cmake/ssl.cmake distribution file we already patching anyway.

https://github.com/openssl/openssl/issues/12368

PR:		247803
Reported by:	eugen
Sponsored by:	Netzkommune GmbH
2020-07-09 10:09:40 +00:00
..
patch-client_CMakeLists.txt
patch-cmake_build__configurations_compiler__options.cmake
patch-cmake_os_DragonFly.cmake
patch-cmake_os_FreeBSD.cmake
patch-cmake_plugin.cmake
patch-cmake_ssl.cmake databases/mysql57-client: fix SIGSEGV due to static OpenSSL linking 2020-07-09 10:09:40 +00:00
patch-CMakeLists.txt
patch-configure.cmake
patch-extra_CMakeLists.txt
patch-include_CMakeLists.txt
patch-include_my__compare.h
patch-include_my_openssl.h In file included from /usr/obj/usr/ports/databases/mysql57-client/work/mysql-5.7.30/vio/viosslfactories.c:29: 2020-05-04 09:44:07 +00:00
patch-include_myisam.h
patch-libmysql_CMakeLists.txt
patch-man_CMakeLists.txt
patch-mysys__ssl_my__default.cc
patch-mysys_mf__iocache2.c
patch-mysys_my__symlink.c
patch-scripts_CMakeLists.txt
patch-sql_auth_sha2_password_common.cc In file included from /usr/obj/usr/ports/databases/mysql57-client/work/mysql-5.7.30/vio/viosslfactories.c:29: 2020-05-04 09:44:07 +00:00
patch-storage_myisam_mi__dynrec.c
patch-support-files_CMakeLists.txt
patch-vio_viosslfactories.c In file included from /usr/obj/usr/ports/databases/mysql57-client/work/mysql-5.7.30/vio/viosslfactories.c:29: 2020-05-04 09:44:07 +00:00