From 6a53c0b3d499d62346a5c51034db543a4ef78ea3 Mon Sep 17 00:00:00 2001 From: John Reiser Date: Sun, 21 Jul 2019 10:51:59 -0700 Subject: [PATCH] [Append to previous commit message.] https://github.com/upx/upx/issues/286 modified: p_vmlinx.cpp --- src/p_vmlinx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_vmlinx.cpp b/src/p_vmlinx.cpp index 6d380195..56c4fd18 100644 --- a/src/p_vmlinx.cpp +++ b/src/p_vmlinx.cpp @@ -115,7 +115,7 @@ typename T::Shdr const *PackVmlinuxBase::getElfSections() && p->sh_size <= ((unsigned long)file_size - p->sh_offset) && p->sh_name < (unsigned long)file_size && 10 <= ((unsigned long)file_size - p->sh_name) - // 10 == (1+ strlen(".shstrtab")) + // 10 == (1+ strlen(".shstrtab")) ) { delete [] shstrtab; shstrtab = new char[1+ p->sh_size];