Skip to content

FPM successful config test early exit #10385

Closed
@bukka

Description

@bukka

Description

ASAN does not like early exits without freeing all memory. One such path is in FPM when config test is done successfully:

if (fpm_globals.test_successful) {
exit(FPM_EXIT_OK);

The test that triggers that is sapi/fpm/tests/socket-uds-numeric-ugid-nonroot.phpt and one such failed job can be seen at https://github.com/php/php-src/actions/runs/3926296131/jobs/6711897592 .

This should be fixed and SAPI cleanly shut down.

PHP Version

PHP 8.x

Operating System

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions