Menu

#61 Command line option '-version' cause segment fault

v1.0 (example)
open
nobody
None
5
2017-06-02
2017-06-02
Linyu Zhu
No

I build jamvm with openjdk8.
-version cause segment fault.
This crash is triggered in src/classlib/openjdk/dll.c classlibDefaultBootDllPath(), which gets uninitialized string 'java_home'.

getJavaHome() need to ensure java_home is initialized before return this pointer.

Discussion


Log in to post a comment.