1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-15 20:25:17 +03:00
aports/testing/php7/fix-fpm-syntax.patch
Andy Postnikov f2b3405662 testing/php7: backport latest CVEs
- CVE-2023-0567
- CVE-2023-0568
- CVE-2023-0662
2023-02-15 18:20:29 +00:00

33 lines
1.1 KiB
Diff

--- a/sapi/fpm/tests/ghsa-54hq-v5wp-fqgv-max-body-parts-custom.phpt
+++ b/sapi/fpm/tests/ghsa-54hq-v5wp-fqgv-max-body-parts-custom.phpt
@@ -35,7 +35,7 @@
$tester->start();
$tester->expectLogStartNotices();
echo $tester
- ->request(stdin: [
+ ->request('', [], null, null, null, null, false, null, [
'parts' => [
'count' => 30,
]
--- a/sapi/fpm/tests/ghsa-54hq-v5wp-fqgv-max-body-parts-default.phpt
+++ b/sapi/fpm/tests/ghsa-54hq-v5wp-fqgv-max-body-parts-default.phpt
@@ -34,7 +34,7 @@
$tester->start();
$tester->expectLogStartNotices();
echo $tester
- ->request(stdin: [
+ ->request('', [], null, null, null, null, false, null, [
'parts' => [
'count' => 30,
]
--- a/sapi/fpm/tests/ghsa-54hq-v5wp-fqgv-max-file-uploads.phpt
+++ b/sapi/fpm/tests/ghsa-54hq-v5wp-fqgv-max-file-uploads.phpt
@@ -33,7 +33,7 @@
$tester->start();
$tester->expectLogStartNotices();
echo $tester
- ->request(stdin: [
+ ->request('', [], null, null, null, null, false, null, [
'parts' => [
'count' => 10,
'param' => 'filename'