diff options
author | Xavier Leroy <xavierleroy@users.noreply.github.com> | 2022-01-19 17:39:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-19 17:39:24 +0100 |
commit | ade6577539477d165bb4cf1cf7186031d54ba188 (patch) | |
tree | 52b4da2c1ed2be97cf1a1797519e36ba2b189cf4 /toplevel | |
parent | 78fd956291a7e7b22c9e422b3cccaa9d7a0b984c (diff) | |
download | ocaml-ade6577539477d165bb4cf1cf7186031d54ba188.tar.gz |
Fix a concurrency bug in caml_stat_resize_noexc in cleanup-at-exit mode (#10920)
The previous implementation had a race between realloc freeing the block
and concurrent free or realloc operations accessing the same block to adjust
the pool chaining.
The problem was exhibited by tests/lib-marshal/intext_par.ml when
run in cleanup-at-exit mode.
Diffstat (limited to 'toplevel')
0 files changed, 0 insertions, 0 deletions