Files
php/php-8.1.34-cve-2026-129291.patch
T
chrisandClaude Opus 5.5 985d073613 mod_php_install.sh: apply security patches for PHP 8.1.34.
Apply php-8.1.34-cve-2026-109618-109619.patch, php-8.1.34-sury-9.patch
and php-8.1.34-cve-2026-129291.patch (in this order - otherwise a hunk
of main/rfc1867.c fails) when installing PHP 8.1.34. Abort if a patch
is missing, is an HTML page or does not apply.

Replace the three patch files, which were saved GitHub HTML pages, by
the raw patches from omega8cc/boa (aegir/patches/php-sec).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 12:52:08 +01:00

27 lines
535 B
Diff

--- a/sapi/fpm/fpm/fpm_children.c
+++ b/sapi/fpm/fpm/fpm_children.c
@@ -87,7 +87,11 @@
fpm_event_fire(&child->ev_stdout);
}
if (child->fd_stdout != -1) {
+ if (in_event_loop) {
+ fpm_event_del(&child->ev_stdout);
+ }
close(child->fd_stdout);
+ child->fd_stdout = -1;
}
}
@@ -97,7 +101,11 @@
fpm_event_fire(&child->ev_stderr);
}
if (child->fd_stderr != -1) {
+ if (in_event_loop) {
+ fpm_event_del(&child->ev_stderr);
+ }
close(child->fd_stderr);
+ child->fd_stderr = -1;
}
}