--TEST-- FPM: GH-15335 - PHP_AUTH shutdown use after free --SKIPIF-- --FILE-- createSourceFileAndScriptName(); $tester->start(); $tester->expectLogStartNotices(); $tester ->request( headers: [ "HTTP_AUTHORIZATION" => "Basic Zm9vOg==", "REQUEST_METHOD" => "GET"], uri: $scriptName, address: '{{ADDR}}', scriptFilename: __DIR__ . "/__unknown.php", scriptName: "/", ) ->expectStatus('404 Not Found'); $tester ->request( uri: $scriptName, address: '{{ADDR}}', params: [], ); $tester->expectNoLogPattern("/zend_mm_heap corrupted/"); $tester->terminate(); $tester->expectLogTerminatingNotices(); $tester->close(); ?> Done --EXPECT-- Done --CLEAN--