Skip to content
This repository was archived by the owner on May 16, 2018. It is now read-only.
This repository was archived by the owner on May 16, 2018. It is now read-only.

Zend_File_Transfer_Adapter_Abstract::_isPathWriteable() doesn't work in concurrent sessions #443

Open
@dmitry-lomakin

Description

@dmitry-lomakin

As the method operates on a temporary file with constant filename the check randomly fails if being executed in concurrent sessions due to race conditions. To fix that either a unique filename should be used in each check or the temporary file should be locked so concurrent sessions would be unable to remove it.

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