[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/28047] New: readelf crashed due to Assertion failed in dwa
From: |
shaohua.li at inf dot ethz.ch |
Subject: |
[Bug binutils/28047] New: readelf crashed due to Assertion failed in dwarf.c:skip_attr_bytes |
Date: |
Fri, 02 Jul 2021 08:34:41 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=28047
Bug ID: 28047
Summary: readelf crashed due to Assertion failed in
dwarf.c:skip_attr_bytes
Product: binutils
Version: 2.37 (HEAD)
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: shaohua.li at inf dot ethz.ch
Target Milestone: ---
Created attachment 13525
--> https://sourceware.org/bugzilla/attachment.cgi?id=13525&action=edit
poc
Hi there,
I crashed `readelf -w` with a fuzzer. The cause is Assertion `(data) <= (end)'
failed in dwarf.c:skip_attr_bytes.
- Compiler: clang12
- Platform: Ubuntu 18.04.5 LTS, x86_64
- Reproduce: run `readelf -w poc`
The raw output was:
readelf: dwarf.c:1969: unsigned char *skip_attr_bytes(unsigned long, unsigned
char *, unsigned char *, dwarf_vma, dwarf_vma, int, dwarf_vma *): Assertion
`(data) <= (end)' failed.
Aborted
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/28047] New: readelf crashed due to Assertion failed in dwarf.c:skip_attr_bytes,
shaohua.li at inf dot ethz.ch <=