Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f07b5fe9 authored by Andreas Gampe's avatar Andreas Gampe Committed by android-build-merger
Browse files

Merge "Nativeloader: Restrict anonymous namespace creation" am: d21a090f

am: 7b3377cd

Change-Id: I057a90ced0ee9e7aba34df509802e4e23c915a57
parents 71a0804f 7b3377cd
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -220,7 +220,9 @@ class LibraryNamespaces {
      }
    }

    if (!initialized_ && !InitPublicNamespace(library_path.c_str(), error_msg)) {
    // Initialize the anonymous namespace with the first non-empty library path.
    if (!library_path.empty() && !initialized_ &&
        !InitPublicNamespace(library_path.c_str(), error_msg)) {
      return nullptr;
    }