diff options
author | David Allsopp <david.allsopp@metastack.com> | 2022-08-29 18:24:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-29 19:24:28 +0200 |
commit | d03d7452e93d290c5f076b7805fcf8b3bf166864 (patch) | |
tree | 74464e476ce313007d335f3d675fb903d88334ea /.depend | |
parent | ef07bd846c01262c38bd9f734161929c85f3d54f (diff) | |
download | ocaml-d03d7452e93d290c5f076b7805fcf8b3bf166864.tar.gz |
Fix two undefined usages of `caml_secure_getenv` (#11511)
* strdup the value of OCAML_RUNTIME_EVENTS_DIR
The return value of caml_secure_getenv should not be cached in a global
variable.
* Avoid undefined usage of caml_secure_getenv
The return value of caml_secure_getenv cannot be used beyond the next
call to caml_secure_getenv. Fix minor regression from multicore as
CAML_DEBUG_FILE could be read after OCAMLRUNPARAM is read, but before
the latter has been processed.
Diffstat (limited to '.depend')
0 files changed, 0 insertions, 0 deletions