public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
* Fix some .debug checking and gnu hash xlate logic
@ 2023-02-20 15:55 Mark Wielaard
  2023-02-20 15:55 ` [PATCH 1/2] libelf: memmove any extra bytes left by elf_cvt_gnuhash conversion Mark Wielaard
  2023-02-20 15:55 ` [PATCH 2/2] libdw: Use elf_rawdata when checking .debug section Mark Wielaard
  0 siblings, 2 replies; 8+ messages in thread
From: Mark Wielaard @ 2023-02-20 15:55 UTC (permalink / raw)
  To: elfutils-devel; +Cc: Evgeny Vereshchagin, Aleksei Vetrov

Hi,

The last fuzzer found some use (checking) of undefine/uninitialized
data. Either of these two patches will fix that:

 [PATCH 1/2] libelf: memmove any extra bytes left by elf_cvt_gnuhash
 [PATCH 2/2] libdw: Use elf_rawdata when checking .debug section

Note that the bad data wouldn't actually be used, just checked for
validity. But these patches make sure the result is deterministic.

Cheers,

Mark

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-02-23 10:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-20 15:55 Fix some .debug checking and gnu hash xlate logic Mark Wielaard
2023-02-20 15:55 ` [PATCH 1/2] libelf: memmove any extra bytes left by elf_cvt_gnuhash conversion Mark Wielaard
2023-02-20 15:55 ` [PATCH 2/2] libdw: Use elf_rawdata when checking .debug section Mark Wielaard
2023-02-20 16:02   ` Aleksei Vetrov
2023-02-21  2:28     ` Evgeny Vereshchagin
2023-02-21 11:24       ` Mark Wielaard
2023-02-23 10:20         ` Mark Wielaard
2023-02-21 16:40       ` Aleksei Vetrov

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).