ARTEMIS-2260 Fixes a potential NULL pointer dereference on the thin library

If the code fails to allocate native memory for the error message, it
will still perform the call to strcpy, which will result in a
segmentation fault to occur. This may cause the JVM to shutdown abruptly
potentially causing the original root cause to be hidden.
1 file changed
tree: 10f58c604aa2fc222462d3e46a6af2eeb03cf8ae
  1. bin/
  2. src/
  3. CMakeLists.txt
  4. compile-native.sh
  5. pom.xml
  6. README