diff --git a/src/p_vmlinx.cpp b/src/p_vmlinx.cpp index d100eaf6..0dbf7571 100644 --- a/src/p_vmlinx.cpp +++ b/src/p_vmlinx.cpp @@ -165,6 +165,7 @@ bool PackVmlinuxBase::canPack() int j; for (p = shdri, j= ehdri.e_shnum; --j>=0; ++p) { if (Shdr::SHT_PROGBITS==p->sh_type + && (p->sh_name + shstrsec->sh_offset) < (unsigned)file_size && 0==strcmp("__ksymtab", p->sh_name + shstrtab)) { break; }