• 石松洲's avatar
    Make xmmap() returns nullptr when fails · ebb0ec6c
    石松洲 authored
    In the constructor of mmap_data, there are two possible values when fails: nullptr if fstat() fails, and MAP_FAILED if mmap() fails, but mmap_data treated MAP_FAILED as valid address and crashes.
    ebb0ec6c
Name
Last commit
Last update
..
jni Loading commit data...
src/main Loading commit data...
.gitignore Loading commit data...
build.gradle.kts Loading commit data...