From 8bda799d6f6b3027117105ab717dacdcab597032 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Thu, 13 Aug 2020 11:45:05 +0200 Subject: Fixed bug #79724 --- NEWS | 4 ++++ azure-pipelines.yml | 5 +++-- azure/apt.yml | 1 + ext/session/mod_mm.c | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/NEWS b/NEWS index 89dc3f9d12..9a971b5062 100644 --- a/NEWS +++ b/NEWS @@ -39,6 +39,10 @@ PHP NEWS . Fixed bug #64705 (errorInfo property of PDOException is null when PDO::__construct() fails). (Ahmed Abdou) +- Session: + . Fixed bug #79724 (Return type does not match in ext/session/mod_mm.c). + (Nikita) + - Standard: . Fixed bug #79930 (array_merge_recursive() crashes when called with array with single reference). (Nikita) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 688d36c148..acdf32204b 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -12,10 +12,11 @@ trigger: - UPGRADING.INTERNALS jobs: + # We specify --with-mm here, because it cannot be used together with --enable-maintainer-zts. - template: azure/job.yml parameters: configurationName: DEBUG_NTS - configurationParameters: '--enable-debug --disable-maintainer-zts' + configurationParameters: '--enable-debug --disable-maintainer-zts --with-mm' - template: azure/job.yml parameters: configurationName: RELEASE_ZTS @@ -36,7 +37,7 @@ jobs: - template: azure/job.yml parameters: configurationName: RELEASE_NTS - configurationParameters: '--disable-debug --disable-maintainer-zts' + configurationParameters: '--disable-debug --disable-maintainer-zts --with-mm' - template: azure/i386/job.yml parameters: configurationName: I386_DEBUG_NTS diff --git a/azure/apt.yml b/azure/apt.yml index 8e51d80629..e8da9b001d 100644 --- a/azure/apt.yml +++ b/azure/apt.yml @@ -34,6 +34,7 @@ steps: libldap2-dev \ libsodium-dev \ libargon2-0-dev \ + libmm-dev \ postgresql \ postgresql-contrib \ llvm \ diff --git a/ext/session/mod_mm.c b/ext/session/mod_mm.c index 93cfde7633..6e175f9b2b 100644 --- a/ext/session/mod_mm.c +++ b/ext/session/mod_mm.c @@ -466,7 +466,7 @@ PS_GC_FUNC(mm) mm_unlock(data->mm); - return nrdels; + return *nrdels; } PS_CREATE_SID_FUNC(mm) -- cgit v1.2.1