Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CA-399172: fix potential crash in Uri.of_string
Using Lazy from a multithreaded program should raise Lazy.Undefined. However due to bugs in the OCaml runtime this was actually crashing. Update to angstrom 0.16.1 which no longer uses Lazy and avoids this crash. This was initially discovered: * mirage/ocaml-uri#178 Fixed in Angstrom: * inhabitedtype/angstrom#229 Runtime bug reported with potential fix from maintainers: * ocaml/ocaml#13430 * ocaml/ocaml#13434 There are various other usages of Lazy, but I couldn't get those to crash yet, so lets fix the known crash for now, and audit/fix the rest next. Signed-off-by: Edwin Török <edwin.torok@cloud.com>
- Loading branch information