• 石松洲'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
..
core Loading commit data...
external Loading commit data...
include Loading commit data...
init Loading commit data...
magiskboot Loading commit data...
magiskpolicy Loading commit data...
resetprop Loading commit data...
su Loading commit data...
utils Loading commit data...
zygisk Loading commit data...
.gitignore Loading commit data...
Android.mk Loading commit data...
Application.mk Loading commit data...
lto_fix.lds Loading commit data...