mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Increase limit on symbol table size and section size.
PiperOrigin-RevId: 325215228 Change-Id: I2e6ca131d92d86e7aa0d5cc37a3507dce03db25f
This commit is contained in:
parent
db0dfbb21f
commit
8633f22185
@ -87,10 +87,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 = 100 * 1024 * 1024;
|
||||
static constexpr size_t kMaxSectionSize = 200 * 1024 * 1024;
|
||||
static constexpr size_t kMaxStrtabSize = 500 * 1024 * 1024;
|
||||
static constexpr size_t kMaxLibPathSize = 1024;
|
||||
static constexpr int kMaxSymbolEntries = 1 * 1000 * 1000;
|
||||
static constexpr int kMaxSymbolEntries = 2 * 1000 * 1000;
|
||||
static constexpr int kMaxDynamicEntries = 10000;
|
||||
static constexpr size_t kMaxInterpreterSize = 1000;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user