Page MenuHomeFreeBSD

libdwarf: Fix error handling in _dwarf_elf_init()
ClosedPublic

Authored by markj on Dec 13 2021, 8:27 PM.
Tags
None
Referenced Files
F158925365: D33420.id.diff
Sun, Jun 7, 8:10 PM
Unknown Object (File)
Apr 22 2026, 1:21 AM
Unknown Object (File)
Apr 21 2026, 9:55 PM
Unknown Object (File)
Apr 21 2026, 10:32 AM
Unknown Object (File)
Apr 21 2026, 4:24 AM
Unknown Object (File)
Apr 10 2026, 12:29 PM
Unknown Object (File)
Apr 9 2026, 5:48 PM
Unknown Object (File)
Apr 8 2026, 3:43 AM
Subscribers

Details

Summary

We were not setting "ret" before jumping to the error path, so the
function returned success even when it had failed.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 43324
Build 40212: arc lint + arc unit