Skip to content

Commit 3ba7336

Browse files
committed
gh-154577: Fix data race in Modules/cjkcodecs/multibytecodec.c
Prevent race by adding `@critical_section` to functions that have `MultibyteIncrementalEncoderObject` or `MultibyteIncrementalDecoderObject` argument Fix TSAN-0001 from gh-153852
1 parent 993a0c6 commit 3ba7336

3 files changed

Lines changed: 95 additions & 23 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix data race of incremental encoder/decoder objects

Modules/cjkcodecs/clinic/multibytecodec.c.h

Lines changed: 64 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)