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
Unknown Object (File)
Thu, Jan 9, 2:43 PM
Unknown Object (File)
Dec 10 2024, 2:27 PM
Unknown Object (File)
Nov 21 2024, 7:34 AM
Unknown Object (File)
Nov 18 2024, 5:41 AM
Unknown Object (File)
Sep 27 2024, 5:33 AM
Unknown Object (File)
Sep 25 2024, 6:16 AM
Unknown Object (File)
Sep 23 2024, 10:10 AM
Unknown Object (File)
Sep 23 2024, 7:13 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable