Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix ELF: Increasing the upper limit of relocations
  • Loading branch information
romainthomas committed Oct 20, 2017
1 parent fded192 commit 077bc32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/LIEF/ELF/Parser.hpp
Expand Up @@ -52,7 +52,7 @@ class DLL_PUBLIC Parser : public LIEF::Parser {
static constexpr uint32_t NB_MAX_CHAINS = 1000000;
static constexpr uint32_t NB_MAX_SECTION = 10000;
static constexpr uint32_t NB_MAX_SEGMENTS = 10000;
static constexpr uint32_t NB_MAX_RELOCATIONS = 10000;
static constexpr uint32_t NB_MAX_RELOCATIONS = 3000000;
static constexpr uint32_t NB_MAX_DYNAMIC_ENTRIES = 1000;
static constexpr uint32_t NB_MAX_MASKWORD = 512;
static constexpr uint32_t MAX_NOTE_DESCRIPTION = 1_MB;
Expand Down

0 comments on commit 077bc32

Please sign in to comment.