mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
minielf: Increase maximum amount of symbols loaded
PiperOrigin-RevId: 243775723 Change-Id: I5398ec23bd76be01c48c69bd4decb015a48386fc
This commit is contained in:
parent
af44845246
commit
8ad4fcd0a8
|
@ -88,10 +88,10 @@ class ElfParser {
|
|||
// Arbitrary cut-off values, so we can parse safely.
|
||||
static constexpr int kMaxProgramHeaderEntries = 500;
|
||||
static constexpr int kMaxSectionHeaderEntries = 500;
|
||||
static constexpr size_t kMaxSectionSize = 50 * 1024 * 1024;
|
||||
static constexpr size_t kMaxSectionSize = 100 * 1024 * 1024;
|
||||
static constexpr size_t kMaxStrtabSize = 500 * 1024 * 1024;
|
||||
static constexpr size_t kMaxLibPathSize = 1024;
|
||||
static constexpr int kMaxSymbolEntries = 100000;
|
||||
static constexpr int kMaxSymbolEntries = 1 * 1000 * 1000;
|
||||
static constexpr int kMaxDynamicEntries = 10000;
|
||||
static constexpr size_t kMaxInterpreterSize = 1000;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user