Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Missing initialization in caml_obj_reachable_words
A marshaling operation can leave `extern_flags` with the `NO_SHARING` bit set. In this context, `caml_obj_reachable_words` calls `extern_init_position_table`, which does nothing, then proceeds to access the position table, causing a crash. The solution is trivial: initialize `extern_flags` before calling `extern_init_position_table`. First reported at ocaml-multicore/ocaml-multicore#824
- Loading branch information