Closed Arbusz closed 7 months ago
this libdwarf bug was fixed February 17, 2024 and the fix is in the next release, 0.9.2, which is to be released April 2 (or maybe April 3).
I reproduced the problem using libdwarf 0.9.1 and verified that with the current source the bug is fixed.
In current libdwarf on github you can see the fix with
gitdiff 0cae09da0aac83b2563fc3a4e140952cc398012a 404e6b1b14f60c81388d50b4239f81d461b3c3ad
Closing this as it ls already fixed. I have added your nice test case to regressiontests. Thank you.
Thank you for your swift response to our inquiries.
Credit: Dawei Wang and Geng Zhou, from Zhongguancun Laboratory.
Hi, we found one crash in dwarfdump(libdwarf 0.9.1), which is the latest version. To assist in diagnosing and resolving these issues, we have attached the POC file along with the asan log.
Environment: Linux 4f6b99b5cf37 6.2.0-35-generic #\35~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Oct 6 10:23:26 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
Command and args:
asan log:
libdwarf_poc.zip