Merge ~athos-ribeiro/ubuntu/+source/php8.1:lp2057576-sigsegv-jj into ubuntu/+source/php8.1:ubuntu/jammy-devel

Proposed by Athos Ribeiro
Status: Merged
Approved by: git-ubuntu bot
Approved revision: not available
Merged at revision: 576bbfb217b73bd3c29631c0cacc0ab77b749071
Proposed branch: ~athos-ribeiro/ubuntu/+source/php8.1:lp2057576-sigsegv-jj
Merge into: ubuntu/+source/php8.1:ubuntu/jammy-devel
Diff against target: 57 lines (+35/-0)
3 files modified
debian/changelog (+7/-0)
debian/patches/fix-segfault-in-fpm_status_export_to_zval.patch (+27/-0)
debian/patches/series (+1/-0)
Reviewer Review Type Date Requested Status
git-ubuntu bot Approve
Andreas Hasenack Approve
Canonical Server packageset reviewers Pending
Canonical Server Reporter Pending
Review via email: mp+464008@code.launchpad.net

Description of the change

To post a comment you must log in.
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

+1

review: Approve
Revision history for this message
git-ubuntu bot (git-ubuntu-bot) wrote :

Approvers: athos-ribeiro, ahasenack
Uploaders: athos-ribeiro, ahasenack
MP auto-approved

review: Approve
Revision history for this message
Athos Ribeiro (athos-ribeiro) wrote :

Thanks, Andreas!

Uploaded

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/debian/changelog b/debian/changelog
index 2e4720e..0917431 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
1php8.1 (8.1.2-1ubuntu2.16) jammy; urgency=medium
2
3 * d/p/fix-segfault-in-fpm_status_export_to_zval.patch: fix
4 segmentation fault in fpm_status_export_to_zval. (LP: #2057576)
5
6 -- Athos Ribeiro <athos.ribeiro@canonical.com> Wed, 10 Apr 2024 08:54:30 -0300
7
1php8.1 (8.1.2-1ubuntu2.15) jammy; urgency=medium8php8.1 (8.1.2-1ubuntu2.15) jammy; urgency=medium
29
3 * d/p/fix-attribute-instantion-dangling-pointer.patch: Fix sigsegv from10 * d/p/fix-attribute-instantion-dangling-pointer.patch: Fix sigsegv from
diff --git a/debian/patches/fix-segfault-in-fpm_status_export_to_zval.patch b/debian/patches/fix-segfault-in-fpm_status_export_to_zval.patch
4new file mode 10064411new file mode 100644
index 0000000..5aaa816
--- /dev/null
+++ b/debian/patches/fix-segfault-in-fpm_status_export_to_zval.patch
@@ -0,0 +1,27 @@
1From df259f88daaf7df5673fd78a0a1b76a1d831d0a2 Mon Sep 17 00:00:00 2001
2From: Patrick Prasse <patrick.prasse@actindo.com>
3Date: Fri, 17 Nov 2023 16:32:23 +0000
4Subject: [PATCH] Fix bug GH-12705: Segmentation fault in fpm_status_export_to_zval
5
6Closes GH-12706
7
8Bug: https://github.com/php/php-src/issues/12705
9Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/php7.4/+bug/2057576
10Last-update: 2024-04-10
11Origin: upstream, https://github.com/php/php-src/commit/df259f88daaf7df5673fd78a0a1b76a1d831d0a2
12---
13 NEWS | 4 ++++
14 sapi/fpm/fpm/fpm_status.c | 2 +-
15 2 files changed, 5 insertions(+), 1 deletion(-)
16
17--- a/sapi/fpm/fpm/fpm_status.c
18+++ b/sapi/fpm/fpm/fpm_status.c
19@@ -55,7 +55,7 @@
20
21 scoreboard_p = fpm_scoreboard_acquire(NULL, 1);
22 if (!scoreboard_p) {
23- zlog(ZLOG_NOTICE, "[pool %s] status: scoreboard already in use.", scoreboard_p->pool);
24+ zlog(ZLOG_NOTICE, "[pool (unknown)] status: scoreboard already in use.");
25 return -1;
26 }
27
diff --git a/debian/patches/series b/debian/patches/series
index 8c85899..e7dd8bb 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -70,3 +70,4 @@ CVE-2023-3823.patch
70CVE-2023-3824.patch70CVE-2023-3824.patch
71fix-attribute-instantion-dangling-pointer.patch71fix-attribute-instantion-dangling-pointer.patch
72fix-attribute-instantion-memory-overflow-recovery.patch72fix-attribute-instantion-memory-overflow-recovery.patch
73fix-segfault-in-fpm_status_export_to_zval.patch

Subscribers

People subscribed via source and target branches