Skip to content

Race condition in mtime-precision/probe #103

Description

@julien-f

Two parallel calls, cachedPrecision is not defined in both, both will call utimes then stat, and Object.defineProperty will be called twice.

This does not throw TypeError: Cannot redefine property because the new value to be defined is the existing value.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions