From cb78815edb8aca7da3faefa2170b373a71585fd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Mei=C3=9Fner?= Date: Thu, 1 Jun 2023 11:50:45 +0200 Subject: [PATCH] Reduces SYMBOL_NAME_LENGTH_MAXIMUM to 64. (#470) --- src/elf_parser/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/elf_parser/mod.rs b/src/elf_parser/mod.rs index 3fe966bb..7cafa4e3 100644 --- a/src/elf_parser/mod.rs +++ b/src/elf_parser/mod.rs @@ -9,7 +9,7 @@ use crate::{ArithmeticOverflow, ErrCheckedArithmetic}; use {consts::*, types::*}; const SECTION_NAME_LENGTH_MAXIMUM: usize = 16; -const SYMBOL_NAME_LENGTH_MAXIMUM: usize = 1024; +const SYMBOL_NAME_LENGTH_MAXIMUM: usize = 64; /// Error definitions #[derive(Debug, PartialEq, Eq, thiserror::Error)]