forked from Lainports/freebsd-ports
This update includes:
Bugfixes:
- InnoDB: Undo tablespaces remained unencrypted after enabling
undo tablespace encryption at startup. (Bug #29477795)
- InnoDB: Problematic macros introduced with undo tablespace DDL support
(Bug #29324132, Bug #94243).
- InnoDB: Static thread local variables defined at the wrong scope
were not released at thread exit. (Bug #29305186)
- Memory leaks discovered in the innochecksum (Bug #28917614, Bug #93164).
New features:
- MySQL C API now supports asynchronous functions for
nonblocking communication with the MySQL server.
- MySQL now supports a new Chinese collation, utf8mb4_zh_0900_as_cs
- CMake now causes the build process to link with the llvm lld linker
for Clang if it is available.
Security Fix:
CVE-2019-2632, CVE-2019-2693, CVE-2019-2694, CVE-2019-2695 and other fixes.
More info: https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html#AppendixMSQL
PR: 237399
Reported by: Brent Busby <brent@jfi.uchicago.edu>
Sponsored by: The FreeBSD Foundation
11 lines
436 B
C++
11 lines
436 B
C++
--- sql/mysqld.cc.orig 2018-05-06 19:15:48 UTC
|
|
+++ sql/mysqld.cc
|
|
@@ -4321,7 +4321,7 @@ static void init_ssl() {
|
|
|
|
static void init_ssl() {
|
|
#ifdef HAVE_OPENSSL
|
|
-#if !defined(HAVE_WOLFSSL) && !defined(__sun)
|
|
+#if !defined(HAVE_WOLFSSL) && !defined(LIBRESSL_VERSION_NUMBER) && !defined(__sun)
|
|
#if defined(HAVE_PSI_MEMORY_INTERFACE)
|
|
static PSI_memory_info all_openssl_memory[] = {
|
|
{&key_memory_openssl, "openssl_malloc", 0, 0,
|