mirror of
https://github.com/geode-sdk/android-launcher.git
synced 2026-10-22 00:42:38 +00:00
null check on dlpi name
This commit is contained in:
1 file changed
+1
-1
@@ -174,7 +174,7 @@ std::vector<std::string> get_symbols_listing() {
|
||||
|
||||
int on_dl_iterate(dl_phdr_info* info, size_t size, void* data) {
|
||||
// this is probably going to be gd
|
||||
if (strstr(info->dlpi_name, "libcocos2dcpp.so") != nullptr) {
|
||||
if (info->dlpi_name != nullptr && strstr(info->dlpi_name, "libcocos2dcpp.so") != nullptr) {
|
||||
// step 1: get the dynamic table
|
||||
std::uintptr_t dyn_addr = 0u;
|
||||
|
||||
|
||||
Reference in new issue
Block a user