Skip to content

locking issues in chdir.c #474

Description

@yamt

in make_absolute:

  • __wasilibc_cwd_unlock is called twice
  • static vars (make_absolute_buf/make_absolute_len) are used w/o lock

in chdir:

  • static vars (relative_buf/relative_buf_len/__wasilibc_cwd_mallocd) are used w/o lock
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

    threadsRelated to pthreads

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions