Skip to content

Commit 175a082

Browse files
Sandboxed API Teamcopybara-github
authored andcommitted
ELF parser: Increase maximum number of loaded libraries even more.
Needed for more complex binaries (e.g. ffmpeg) PiperOrigin-RevId: 785726639 Change-Id: I5a6ecc132cf5686d7c026e8b39f97dfb1f64d81e
1 parent cff8937 commit 175a082

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sandboxed_api/sandbox2/util/library_resolver.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@ absl::StatusOr<std::string> ResolveLibraryPaths(
172172
constexpr int kMaxWorkQueueSize = 1000;
173173
constexpr int kMaxResolvingDepth = 10;
174174
constexpr int kMaxResolvedEntries = 1000;
175-
constexpr int kMaxLoadedEntries = 100;
176-
constexpr int kMaxImportedLibraries = 200;
175+
constexpr int kMaxLoadedEntries = 400;
176+
constexpr int kMaxImportedLibraries = 400;
177177

178178
absl::flat_hash_set<std::string> imported_libraries;
179179
std::vector<std::pair<std::string, int>> to_resolve;

0 commit comments

Comments
 (0)