aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer/README
diff options
context:
space:
mode:
authorBenedikt Reinartz <[email protected]>2018-05-24 09:59:47 +0200
committerGitHub <[email protected]>2018-05-24 09:59:47 +0200
commit35fb6f2e11db0454c634772137f748dc81bcca63 (patch)
treee482b0a494d484e6aa7cd8553f33bf167247d6fe /lib/dialyzer/README
parent20970abd567cf577d31f97a2396985174cae15b7 (diff)
downloadotp-35fb6f2e11db0454c634772137f748dc81bcca63.tar.gz
otp-35fb6f2e11db0454c634772137f748dc81bcca63.tar.bz2
otp-35fb6f2e11db0454c634772137f748dc81bcca63.zip
Fix use-after-free on Windows in escript
Since commit 385b18de6fd72672ed7d6736b30f56d6691d4433, the emulator path was not copied anymore before pushing it to the args vector (before it was done within the `push_words` function. Since on Windows `free_env_val` is not a NOP as it is on Unix systems, the string is freed and afterwards used, leading to strange errors like this: escript: Error executing 'àyI': 2 This is fixed by removing the `free_env_val` call.
Diffstat (limited to 'lib/dialyzer/README')
0 files changed, 0 insertions, 0 deletions