Skip to content

Data race in Modules/cjkcodecs/multibytecodec.c #154577

Description

@xxyzz

Bug report

Bug description:

Functions have MultibyteIncrementalEncoderObject and MultibyteIncrementalDecoderObject argument are not using @critical_section, therefore could have data race on these objects. For more details please see the TSAN-0001 report from parent issue #153852.

CPython versions tested on:

CPython main branch

Operating systems tested on:

No response

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions