Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

loadelf: Fix use-after-free of Dwarf_Die pointer #137

Merged
merged 1 commit into from
Jan 22, 2024

Conversation

salkinium
Copy link
Contributor

This fixes a crash on macOS in loadelf.c that was preventing orbmortem to work with cryptic error messages:

 $ orbmortem -e ofiles/simple.elf

libdwarf is unable to record error DW_DLE_DIE_NO_CU_CONTEXT (104) No error argument or handler available

libdwarf is unable to record error DW_DLE_DIE_NO_CU_CONTEXT (104) No error argument or handler available

libdwarf is unable to record error DW_DLE_DIE_NO_CU_CONTEXT (104) No error argument or handler available
No lines found in file
Elf file or symbols in it not found

@salkinium salkinium changed the title loadelf: Fix use-after-free of CU_DIE pointer loadelf: Fix use-after-free of Dwarf_Die pointer Jan 19, 2024
@mubes mubes merged commit 4d168ac into orbcode:main Jan 22, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants