public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
* [Bug tools/23920] New: elflint should check sanity check Chdr fields and uncompressed data of compressed sections
@ 2018-11-26 12:01 mark at klomp dot org
  0 siblings, 0 replies; only message in thread
From: mark at klomp dot org @ 2018-11-26 12:01 UTC (permalink / raw)
  To: elfutils-devel

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-11-26 12:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-26 12:01 [Bug tools/23920] New: elflint should check sanity check Chdr fields and uncompressed data of compressed sections mark at klomp dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).