[Bug tools/23920] New: elflint should check sanity check Chdr fields and uncompressed data of compressed sections

mark at klomp dot org sourceware-bugzilla@sourceware.org
Mon Nov 26 12:01:00 GMT 2018


https://sourceware.org/bugzilla/show_bug.cgi?id=23920

            Bug ID: 23920
           Summary: elflint should check sanity check Chdr fields and
                    uncompressed data of compressed sections
           Product: elfutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tools
          Assignee: unassigned at sourceware dot org
          Reporter: mark at klomp dot org
                CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

elflint currently only checks that a section that has SHF_COMPRESSED set has a
Chdr. It doesn't check anything about the Chdr (does the ch_type make sense, is
the alignment a power of 2, does the data uncompress, etc.) nor whether the
other flags of the section make sense (it cannot be SHF_ALLOC, SHF_NOBITS).

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Elfutils-devel mailing list