You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: binary corruption during parallel promotion/install
Fixesocaml#6668
When performing multiple promotions in parallel (e.g. for a .bc and an .exe)
then sharing a single global buf means that one of them could get corrupted
if the buffer is overwritten by the other build.
Do not use global variables: allocate a new per-file buffer in 'parse' instead!
`cd test && dune build @unit-tests/artifact_substitution/runtest @blackbox-tests/test-cases/versioncorruption` passes now
Signed-off-by: Edwin Török <edvin.torok@citrix.com>
0 commit comments