[Bug libdw/23752] Invalid Address Read problem in dwfl_segment_report_module.c when executing ./eu-stack --core=$POC

2018-10-14 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23752 --- Comment #2 from Mark Wielaard --- Proposed patch: https://sourceware.org/ml/elfutils-devel/2018-q4/msg00022.html -- You are receiving this mail because: You are on the CC list for the bug.

[Bug tools/23755] Multiple floating point exception in findtextrel.c in eu-findtextrel biniary of elfutils-v.0174.

2018-10-14 Thread mark at klomp dot org
||2018-10-14 CC||mark at klomp dot org Ever confirmed|0 |1 --- Comment #4 from Mark Wielaard --- Yeah, divide by zero is bad. Proposed fix: https://sourceware.org/ml/elfutils-devel/2018-q4/msg00024.html

[Bug libdw/23753] Invalid Address Read problem in dwfl_segment_report_module.c when executing ./eu-stack --core=$POC

2018-10-14 Thread mark at klomp dot org
||mark at klomp dot org Resolution|--- |DUPLICATE --- Comment #2 from Mark Wielaard --- Same as bug #23752. *** This bug has been marked as a duplicate of bug 23752 *** -- You are receiving this mail because: You are on the CC list for the bug.

[Bug libdw/23752] Invalid Address Read problem in dwfl_segment_report_module.c when executing ./eu-stack --core=$POC

2018-10-14 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23752 --- Comment #3 from Mark Wielaard --- *** Bug 23753 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are on the CC list for the bug.

[Bug tools/23754] NULL-Pointer dereference problem in function do_oper_extract in the eu-ar binaries

2018-10-14 Thread mark at klomp dot org
||2018-10-14 CC||mark at klomp dot org Ever confirmed|0 |1 --- Comment #3 from Mark Wielaard --- localtime could return NULL when the ar_date was bogus. Proposed workaround: https://sourceware.org/ml

[Bug libdw/23782] Negative-size-param in call to in memchr from readelf print_debug_frame_section

2018-10-16 Thread mark at klomp dot org
||2018-10-16 CC||mark at klomp dot org Summary|Negative-size-param problem |Negative-size-param in call |in dwfl_getmodules.c in |to in memchr from readelf |libdw, please use the POC

[Bug tools/23673] TEST ./tests/backtrace-dwarf fails on s390x in at least 0.173

2018-10-17 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23673 --- Comment #20 from Mark Wielaard --- (In reply to Michael Hudson-Doyle from comment #19) > I see a similar looking failure on arm64 on Ubuntu 18.10: > > https://launchpadlibrarian.net/391377304/buildlog_ubuntu-cosmic-arm64. > elfutils_0.1

[Bug tools/23673] TEST ./tests/backtrace-dwarf fails on s390x in at least 0.173

2018-10-17 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23673 --- Comment #22 from Mark Wielaard --- (In reply to Michael Hudson-Doyle from comment #21) > (In reply to Mark Wielaard from comment #20) > > (In reply to Michael Hudson-Doyle from comment #19) > > > I see a similar looking failure on arm64 on

[Bug general/23786] Divide-by-zero Problem in function arlib_add_symbols() in arlib.c in elfutils-0.174

2018-10-18 Thread mark at klomp dot org
||2018-10-18 CC||mark at klomp dot org Ever confirmed|0 |1 --- Comment #3 from Mark Wielaard --- Thanks for the report. Proposed fix posted: https://sourceware.org/ml/elfutils-devel/2018-q4/msg00055.html

[Bug libelf/23787] eu-size: Bad handling of ar files inside are files

2018-10-18 Thread mark at klomp dot org
||2018-10-18 CC||mark at klomp dot org Summary|Invalid Address Deference |eu-size: Bad handling of ar |problem in function elf_end |files inside are files |in libelf the latest

[Bug libdw/23752] Invalid Address Read problem in dwfl_segment_report_module.c when executing ./eu-stack --core=$POC

2018-10-19 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23752 Mark Wielaard changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tools/23755] Multiple floating point exception in findtextrel.c in eu-findtextrel biniary of elfutils-v.0174.

2018-10-19 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23755 Mark Wielaard changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tools/23754] NULL-Pointer dereference problem in function do_oper_extract in the eu-ar binaries

2018-10-19 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23754 Mark Wielaard changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libdw/23782] Negative-size-param in call to in memchr from readelf print_debug_frame_section

2018-10-19 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23782 Mark Wielaard changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug general/23786] Divide-by-zero Problem in function arlib_add_symbols() in arlib.c in elfutils-0.174

2018-10-19 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23786 Mark Wielaard changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libelf/23787] eu-size: Bad handling of ar files inside are files

2018-10-19 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23787 Mark Wielaard changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libelf/23787] eu-size: Bad handling of ar files inside are files

2018-11-14 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23787 --- Comment #4 from Mark Wielaard --- For reference this was assigned CVE-2018-18520. Note that the description of the CVE is misleading. The bug is in eu-size, not in libelf elf_end. -- You are receiving this mail because: You are on the C

[Bug general/23786] Divide-by-zero Problem in function arlib_add_symbols() in arlib.c in elfutils-0.174

2018-11-14 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23786 --- Comment #5 from Mark Wielaard --- For reference this was assigned CVE-2018-18521. Note that this bug was not in a generic library, just in the code shared by the eu-ar and eu-ranlib binaries. -- You are receiving this mail because: You

[Bug libdw/23752] Invalid Address Read problem in dwfl_segment_report_module.c when executing ./eu-stack --core=$POC

2018-11-14 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23752 --- Comment #6 from Mark Wielaard --- For reference this was assigned CVE-2018-18310. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug tools/23787] eu-size: Bad handling of ar files inside are files

2018-11-14 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23787 Mark Wielaard changed: What|Removed |Added Component|libelf |tools -- You are receiving this mail

[Bug tools/23786] Divide-by-zero Problem in function arlib_add_symbols() in arlib.c in elfutils-0.174

2018-11-14 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23786 Mark Wielaard changed: What|Removed |Added Component|general |tools -- You are receiving this mail

[Bug libelf/23884] error: ‘__elf32_msize’ specifies less restrictive attribute than its target ‘elf32_fsize’: ‘const’ [-Werror=missing-attributes]

2018-11-15 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23884 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org --- Comment #1

[Bug libelf/23884] error: ‘__elf32_msize’ specifies less restrictive attribute than its target ‘elf32_fsize’: ‘const’ [-Werror=missing-attributes]

2018-11-15 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23884 Mark Wielaard changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug libelf/23884] error: ‘__elf32_msize’ specifies less restrictive attribute than its target ‘elf32_fsize’: ‘const’ [-Werror=missing-attributes]

2018-11-16 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23884 Mark Wielaard changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tools/23673] TEST ./tests/backtrace-dwarf fails on s390x in at least 0.173

2018-11-16 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23673 Mark Wielaard changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug general/23901] run-backtrace-native-core returns error isntead of skip

2018-11-20 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23901 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org --- Comment #1

[Bug general/23901] run-backtrace-native-core returns error isntead of skip

2018-11-21 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23901 --- Comment #3 from Mark Wielaard --- Odd, the trap on exit really should remove those. But explicitly cleaning the test files seems to work: diff --git a/tests/backtrace-subr.sh b/tests/backtrace-subr.sh index ff42c6f..53c719d 100644 --- a/t

[Bug backends/23902] varlocs dwarf_cfi_addrframe: unknown error

2018-11-21 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23902 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org --- Comment #1

[Bug libelf/23903] Uses linux specifc mremap

2018-11-21 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23903 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org --- Comment #1

[Bug general/23901] run-backtrace-native-core returns error isntead of skip

2018-11-21 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23901 Mark Wielaard changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libelf/23911] Typo in Copyright File

2018-11-23 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23911 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org --- Comment #1

[Bug libelf/23911] Typo in Copyright File

2018-11-23 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23911 Mark Wielaard changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED URL|

[Bug backends/23902] varlocs dwarf_cfi_addrframe: unknown error

2018-11-23 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23902 --- Comment #3 from Mark Wielaard --- (In reply to Kurt Roeckx from comment #2) > At least on mips I'm seeing an .eh_frame and .eh_frame_hdr section. It also > has some mips specific sections. Assuming they have "normal" types then that part

[Bug libelf/23903] Uses linux specifc mremap

2018-11-23 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23903 --- Comment #4 from Mark Wielaard --- Having an msync that doesn't write out changes to a file is bad, but you might get away with it in most cases (the changes should be written to disk when munmap is called). You do need a mremap function,

[Bug general/23914] Add --disable-werror to ./configure support (example trigger: CFLAGS=-Og

2018-11-23 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23914 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org --- Comment #1

[Bug libelf/23903] Uses linux specifc mremap

2018-11-23 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23903 --- Comment #6 from Mark Wielaard --- It is fine for elfutils to have GNU/Linux specific code since that is the primary target. But if other platforms provide needed functionality in a different way then patches are obviously more than welcome

[Bug backends/23902] varlocs dwarf_cfi_addrframe: unknown error

2018-11-23 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23902 --- Comment #5 from Mark Wielaard --- (In reply to Kurt Roeckx from comment #4) > The varlocs test is calling dwarf_errmsg (-1) OK, that will show the last libdw error set on the current thread. In which case we might actually have a candidat

[Bug libelf/23916] [bisected] elifutils-0.175 broke kernel's objtool (elifutils-0.173 works)

2018-11-23 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23916 --- Comment #2 from Mark Wielaard --- Thanks. I am fairly sure this is a bug in binutils/bfd. First gas creates a compressed section with the wrong alignment. Because a compressed section has a Chdr it needs to be aligned to either 4 or 8 dep

[Bug binutils/23919] New: bfd doesn't handle ELF compressed data alignment

2018-11-24 Thread mark at klomp dot org
y: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: mark at klomp dot org CC: devurandom at gmx dot net, elfutils-devel at sourceware dot org, mark at klomp dot org, slyfox at inbox dot ru, unassign

[Bug libelf/23916] [bisected] elifutils-0.175 broke kernel's objtool (elifutils-0.173 works)

2018-11-24 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23916 Mark Wielaard changed: What|Removed |Added Blocks||23919 Referenced Bugs: https://sour

[Bug binutils/23919] bfd doesn't handle ELF compressed data alignment

2018-11-24 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23919 --- Comment #1 from Mark Wielaard --- Created attachment 11413 --> https://sourceware.org/bugzilla/attachment.cgi?id=11413&action=edit Proposed patch to handle compressed section alignment correctly The attached git format-patch resolved th

[Bug backends/23902] varlocs dwarf_cfi_addrframe: unknown error (missing ebl abi_cfi hook)

2018-11-26 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23902 Mark Wielaard changed: What|Removed |Added Summary|varlocs |varlocs |dwarf_cfi_

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

2018-11-26 Thread mark at klomp dot org
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

[Bug tools/23921] New: elflint should check (minimum) section alignment sanity

2018-11-26 Thread mark at klomp dot org
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 the alignment of section zero is zero. It should

[Bug libelf/23916] [bisected] elifutils-0.175 broke kernel's objtool (elifutils-0.173 works)

2018-11-26 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23916 --- Comment #4 from Mark Wielaard --- (In reply to Sergei Trofimovich from comment #3) > On a related note: should eu-elflint complain on originally compiled > rapl.o.back (from tarball)? That would ease detecting non-conformant > binutils ver

[Bug libelf/23916] [bisected] elifutils-0.175 broke kernel's objtool (elifutils-0.173 works)

2018-11-26 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23916 --- Comment #5 from Mark Wielaard --- I filed a binutils bug with patch. https://sourceware.org/bugzilla/show_bug.cgi?id=23919 If you are able to test patch that on your setup to see if it resolves the issue with objtool that would be really

[Bug binutils/23919] bfd doesn't handle ELF compressed data alignment

2018-11-27 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23919 --- Comment #4 from Mark Wielaard --- (In reply to Nick Clifton from comment #3) > Thanks very much for the bug report, and especially for a patch to fix it! > I have applied the patch, so I hope that this problem is now resolved. Thanks!

[Bug backends/23902] varlocs dwarf_cfi_addrframe: unknown error (missing ebl abi_cfi hook)

2018-11-28 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23902 --- Comment #8 from Mark Wielaard --- (In reply to Mark Wielaard from comment #3) > (In reply to Kurt Roeckx from comment #2) > > PS: All arches except amd64 have "Unwinding not supported for this > > architecture" in run-backtrace-data.sh, wh

[Bug general/23914] Add --disable-werror to ./configure support (example trigger: CFLAGS=-Og

2018-11-28 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23914 --- Comment #3 from Mark Wielaard --- (In reply to Sergei Trofimovich from comment #2) > Gentoo allows users to control CC and CFLAGS and thus the space for getting > a warning is wide. People frequently use things like -Wcast-qual or other >

[Bug binutils/23919] bfd doesn't handle ELF compressed data alignment

2018-11-28 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23919 --- Comment #10 from Mark Wielaard --- (In reply to cvs-com...@gcc.gnu.org from comment #6) > The master branch has been updated by H.J. Lu : > > https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git; > h=131a5a648d314cd15811158150573cb40e

[Bug binutils/23919] bfd doesn't handle ELF compressed data alignment

2018-11-28 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23919 --- Comment #11 from Mark Wielaard --- (In reply to H.J. Lu from comment #9) > This change triggered > > gcctestdir/collect-ld: warning: gdb_index_test_cdebug_gabi.o: section > .debug_str contains incorrectly aligned strings; the alignment of

[Bug libelf/23916] [bisected] elifutils-0.175 broke kernel's objtool (elifutils-0.173 works)

2018-12-05 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23916 Mark Wielaard changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug binutils/23919] bfd doesn't handle ELF compressed data alignment

2018-12-05 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23919 Bug 23919 depends on bug 23916, which changed state. Bug 23916 Summary: [bisected] elifutils-0.175 broke kernel's objtool (elifutils-0.173 works) https://sourceware.org/bugzilla/show_bug.cgi?id=23916 What|Removed

[Bug general/23977] make check fails run-ar.sh in versions 0.173-0.175

2018-12-11 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23977 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org --- Comment #1

[Bug general/23977] make check fails run-ar.sh in versions 0.173-0.175

2018-12-11 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23977 --- Comment #3 from Mark Wielaard --- Comment on attachment 11451 --> https://sourceware.org/bugzilla/attachment.cgi?id=11451 test-suite.log It looks like the file we want to put into the ar has a numeric uid that cannot be represented in t

[Bug general/23977] make check fails run-ar.sh in versions 0.173-0.175

2018-12-25 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23977 Mark Wielaard changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libdw/23981] dwarf_siblingof() fails with attribute form DW_FORM_ref_addr

2018-12-25 Thread mark at klomp dot org
||2018-12-25 CC||mark at klomp dot org Ever confirmed|0 |1 --- Comment #1 from Mark Wielaard --- (In reply to Andreas Kromke from comment #0) > The API function dwarf_siblingof() internally ca

[Bug libdw/23982] dwarf_formref_die() does not support DW_FORM_indirect

2018-12-25 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23982 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org --- Comment #1

[Bug general/24000] couple of testsuite fails with uclibc library

2019-01-06 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24000 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org --- Comment #1

[Bug libdw/23981] dwarf_siblingof() fails with attribute form DW_FORM_ref_addr

2019-01-13 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23981 --- Comment #4 from Mark Wielaard --- (In reply to Andreas Kromke from comment #3) > I changed the source file accordingly, rebuilt the library and rerun the > tests. The result is, unfortunately, the same, i.e. there is no improvement. > > A

[Bug libdw/23982] dwarf_formref_die() does not support DW_FORM_indirect

2019-01-13 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23982 --- Comment #3 from Mark Wielaard --- As with your other bug without at least some example DWARF files this will be somewhat hard to support. I think I know what would be needed, but without actual testcases it will be hard to get right. --

[Bug general/24068] readelf.c:10152:15: error: ‘%*llx’ directive output between 4 and 2147483647 bytes may cause result to exceed ‘INT_MAX’ [-Werror=format-overflow=] with -m32

2019-01-13 Thread mark at klomp dot org
||2019-01-13 CC||mark at klomp dot org Ever confirmed|0 |1 --- Comment #1 from Mark Wielaard --- This is weird. I cannot replicate with a standard build and gcc (GCC) 9.0.0 20190112 (experimental). Aha, with

[Bug general/24000] couple of testsuite fails with uclibc library

2019-01-13 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24000 --- Comment #3 from Mark Wielaard --- Sorry, I have no idea what is going on. It looks like a normal arm ELF file: $ eu-readelf -h nm.o ELF Header: Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 Class:

[Bug libelf/24081] Use-After-free Problem in elf32_xlatetom function in libelf

2019-01-15 Thread mark at klomp dot org
||mark at klomp dot org Resolution|--- |DUPLICATE --- Comment #2 from Mark Wielaard --- This is really just the same as https://sourceware.org/bugzilla/show_bug.cgi?id=24075 we should check the pr_datasz. *** This bug has been marked as a

[Bug backends/24075] Program Crash due to Wild pointer Deference in ebl_object_note function in eblobjnote.c in libebl.

2019-01-15 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24075 --- Comment #2 from Mark Wielaard --- *** Bug 24081 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are on the CC list for the bug.

[Bug libelf/24085] An Out of Memory problem was discovered in function in read_long_names in elf_begin.c in libelf

2019-01-15 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24085 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org --- Comment #2

[Bug tools/24086] memory leak issues in eu-strip on invalid ELF file

2019-01-15 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24086 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org

[Bug backends/24075] Program Crash due to buffer over-read in ebl_object_note function in eblobjnote.c in libebl.

2019-01-16 Thread mark at klomp dot org
||mark at klomp dot org Resolution|--- |FIXED Summary|Program Crash due to Wild |Program Crash due to buffer |pointer Deference in|over-read in |ebl_object_note function in

[Bug backends/24084] Negative-size-param when when calling memcpy function in elf_cvt_note function in libelf

2019-01-16 Thread mark at klomp dot org
||mark at klomp dot org Resolution|--- |FIXED --- Comment #1 from Mark Wielaard --- (In reply to wcventure from comment #0) > Negative-size-param when calling memcpy function in elf_cvt_note function in > libelf the latest elfutils-0.17

[Bug tools/24089] NT_PLATFORM core file note should be a zero terminated string

2019-01-16 Thread mark at klomp dot org
||2019-01-16 CC||mark at klomp dot org Component|libelf |tools Summary|A Heap-buffer-overflow |NT_PLATFORM core file note |problem was discovered in |should be a zero

[Bug tools/24089] NT_PLATFORM core file note should be a zero terminated string

2019-01-18 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24089 Mark Wielaard changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libdw/24102] A Heap-buffer-overflow problem was discovered in the function read_srclines in dwarf_getsrclines.c in libdw

2019-01-20 Thread mark at klomp dot org
||2019-01-20 CC||mark at klomp dot org Component|backends|libdw Ever confirmed|0 |1 --- Comment #3 from Mark Wielaard --- Nice find. Replicated using valgrind on the

[Bug libdw/24103] Invalid address Deference in elf64_xlatetom in elf32_xlatetom.c in libelf

2019-01-20 Thread mark at klomp dot org
||2019-01-20 CC||mark at klomp dot org Component|libelf |libdw Ever confirmed|0 |1 --- Comment #2 from Mark Wielaard --- Thanks. Replicated under valgrind. This is similar

[Bug libdw/24103] dwfl_segment_report_module doesn't check whether the dyn data read from core file is truncated

2019-01-21 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24103 Mark Wielaard changed: What|Removed |Added Summary|Invalid address Deference |dwfl_segment_report_module

[Bug libdw/24103] dwfl_segment_report_module doesn't check whether the dyn data read from core file is truncated

2019-01-22 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24103 Mark Wielaard changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libdw/24102] A Heap-buffer-overflow problem was discovered in the function read_srclines in dwarf_getsrclines.c in libdw

2019-01-22 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24102 Mark Wielaard changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tools/24116] A Heap-buffer-overflow problem was discovered in the function print_debug_line_section in readelf.c

2019-01-22 Thread mark at klomp dot org
||mark at klomp dot org Resolution|--- |FIXED --- Comment #3 from Mark Wielaard --- Yeah, we should check the unknown parameters are actually there. Luckily other checks make sure we don't read more than one byte past the end of the data. c

[Bug general/24000] couple of testsuite fails with uclibc library

2019-01-23 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24000 --- Comment #5 from Mark Wielaard --- (In reply to selva from comment #4) > Created attachment 11548 [details] > Uclibc full testsuite log > > Attaching the full test suite log. BTW. It is easier to just attache the tests/test-suite.log. But

[Bug backends/24075] Program Crash due to buffer over-read in ebl_object_note function in eblobjnote.c in libebl.

2019-01-29 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24075 Mark Wielaard changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libdw/24102] A Heap-buffer-overflow problem was discovered in the function read_srclines in dwarf_getsrclines.c in libdw

2019-01-31 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24102 --- Comment #5 from Mark Wielaard --- Apparently this bug got assigned CVE-2019-7149 -- You are receiving this mail because: You are on the CC list for the bug.

[Bug libdw/24103] dwfl_segment_report_module doesn't check whether the dyn data read from core file is truncated

2019-01-31 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24103 --- Comment #4 from Mark Wielaard --- Apparently this bug got assigned CVE-2019-7150 -- You are receiving this mail because: You are on the CC list for the bug.

[Bug tools/24116] A Heap-buffer-overflow problem was discovered in the function print_debug_line_section in readelf.c

2019-02-01 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24116 --- Comment #6 from Mark Wielaard --- (In reply to wcventure from comment #5) > Created attachment 11581 [details] > Regression Running with: valgrind -q src/readelf --debug-dump=line ./RegressionPOC will produce: ==57142== Invalid read of

[Bug libdw/24140] A Heap-buffer-overflow problem was discovered in the function __libdw_next_unit in dwarf_nextcu.c in libdw

2019-02-01 Thread mark at klomp dot org
||mark at klomp dot org Resolution|--- |FIXED --- Comment #1 from Mark Wielaard --- Replicated under valgrind: $ valgrind -q eu-nm -C ./POC.unit src/nm: ./POC.unit: entry size in section 2 `.debug_info' is not what we expect ==15242== In

[Bug libelf/24085] An Out of Memory problem was discovered in function in read_long_names in elf_begin.c in libelf

2019-02-07 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24085 --- Comment #3 from Mark Wielaard --- CVE-2019-7148 -- You are receiving this mail because: You are on the CC list for the bug.

[Bug general/24000] couple of testsuite fails with uclibc library

2019-02-09 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24000 --- Comment #8 from Mark Wielaard --- (In reply to selva from comment #6) > (In reply to Mark Wielaard from comment #5) > > (In reply to selva from comment #4) > > > Created attachment 11548 [details] > > > Uclibc full testsuite log > > > > >

[Bug general/24000] couple of testsuite fails with uclibc library

2019-02-09 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24000 --- Comment #9 from Mark Wielaard --- (In reply to selva from comment #7) > Created attachment 11582 [details] > config.log > > Attached the config.log. > $ ./configure --target=armv7l-unkown-linux-uclibcgnueabi > --host=armv7l-unkown-linu

[Bug backends/24084] Negative-size-param when when calling memcpy function in elf_cvt_note function in libelf

2019-02-10 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24084 --- Comment #2 from Mark Wielaard --- CVE-2019-7664 -- You are receiving this mail because: You are on the CC list for the bug.

[Bug tools/24089] NT_PLATFORM core file note should be a zero terminated string

2019-02-10 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24089 --- Comment #4 from Mark Wielaard --- CVE-2019-7665 Note the CVE description is somewhat misleading, this is not a bug in libelf. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug libelf/24085] An Out of Memory problem was discovered in function in read_long_names in elf_begin.c in libelf

2019-02-14 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24085 Mark Wielaard changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libdw/24158] run-backtrace-native-biarch.sh test fails on CC='gcc -m32' CXX='g++ -m32' x86_64 host.

2019-02-14 Thread mark at klomp dot org
||2019-02-14 CC||mark at klomp dot org Ever confirmed|0 |1 --- Comment #1 from Mark Wielaard --- I have replicated this, but don't fully understand it yet. But this is kind of a weird issue. If yo

[Bug backends/23902] MIPS varlocs dwarf_cfi_addrframe: unknown error (missing ebl abi_cfi hook)

2019-02-14 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23902 Mark Wielaard changed: What|Removed |Added Summary|varlocs |MIPS varlocs |dwarf

[Bug libdw/24158] run-backtrace-native-biarch.sh test fails on CC='gcc -m32' CXX='g++ -m32' x86_64 host.

2019-02-16 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24158 Mark Wielaard changed: What|Removed |Added See Also||https://bugzilla.redhat.com

[Bug general/24000] couple of testsuite fails with uclibc library

2019-02-18 Thread mark at klomp dot org
||2019-02-18 Assignee|unassigned at sourceware dot org |mark at klomp dot org Ever confirmed|0 |1 --- Comment #12 from Mark Wielaard --- Created attachment 11613 --> https://sourceware.org/bugzilla/attachment.cgi?id=11613&acti

[Bug general/24000] couple of testsuite fails with uclibc library

2019-02-18 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24000 --- Comment #13 from Mark Wielaard --- (In reply to selva from comment #11) > (In reply to Mark Wielaard from comment #9) > > Don't disable symbol versioning, without it binary compatibility is broken. > > As per the following commit disabled

[Bug general/24000] couple of testsuite fails with uclibc library

2019-02-18 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24000 Mark Wielaard changed: What|Removed |Added Attachment #11613|0 |1 is obsolete|

[Bug general/24000] couple of ELF compression testsuite fails with uclibc library

2019-02-19 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24000 Mark Wielaard changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libelf/24368] New: Add ELF_F_LAYOUT_OVERLAP

2019-03-20 Thread mark at klomp dot org
Assignee: unassigned at sourceware dot org Reporter: mark at klomp dot org CC: elfutils-devel at sourceware dot org Target Milestone: --- Originally reported in bugzilla.redhat.com. The mr511.de libelf provided ELF_F_LAYOUT_OVERLAP: /* * Allow sections to overlap when

[Bug general/24385] Regression lead to Invalid Address Deference, in handle_elf function in /src/strip.c

2019-03-27 Thread mark at klomp dot org
||mark at klomp dot org Resolution|--- |FIXED --- Comment #2 from Mark Wielaard --- This code is only triggered when stripping into a new file with -o. With that it can be replicated under valgrind: ==1008== Command: src/strip -o POC1.stripped

[Bug general/24385] Check symbols only refer to existing sections in eu-strip handle_elf

2019-03-27 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24385 Mark Wielaard changed: What|Removed |Added Summary|Regression lead to Invalid |Check symbols only refer to

[Bug libelf/24387] dwfl_segment_report_module doesn't check whether the phdrs data read from core file is truncated

2019-03-27 Thread mark at klomp dot org
||mark at klomp dot org Resolution|--- |FIXED Summary|Invalid address Deference |dwfl_segment_report_module |in elf32_xlatetom function |doesn't check whether the |in libelf/elf32_xlate

<    1   2   3   4   5   6   7   8   >