Index: third_party/android_crazy_linker/src/src/crazy_linker_elf_loader.cpp |
diff --git a/third_party/android_crazy_linker/src/src/crazy_linker_elf_loader.cpp b/third_party/android_crazy_linker/src/src/crazy_linker_elf_loader.cpp |
index a2e5fab23b3f51acd47d6bab8e7b92b8b47b3862..e265ac39b03d5f6f8943614aead26cc0c5ed30c7 100644 |
--- a/third_party/android_crazy_linker/src/src/crazy_linker_elf_loader.cpp |
+++ b/third_party/android_crazy_linker/src/src/crazy_linker_elf_loader.cpp |
@@ -193,7 +193,7 @@ bool ElfLoader::ReserveAddressSpace(Error* error) { |
return false; |
} |
- uint8_t* addr = reinterpret_cast<uint8_t*>(min_vaddr); |
+ uint8_t* addr = NULL; |
int mmap_flags = MAP_PRIVATE | MAP_ANONYMOUS; |
// Support loading at a fixed address. |