mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-26 13:37:39 +00:00
ebb0ec6c42
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.