mirror of
https://github.com/libunwind/libunwind.git
synced 2026-01-12 00:04:03 +08:00
fix src/dl_iterate_phdr.c, return correct data
This commit is contained in:
committed by
Stephen M. Webb
parent
fb917e18e8
commit
8a5caf6a00
@@ -79,6 +79,8 @@ dl_iterate_phdr (unw_iterate_phdr_callback_t callback,
|
||||
info.dlpi_phnum = ehdr->e_phnum;
|
||||
|
||||
rc = callback (&info, sizeof (info), data);
|
||||
if (rc)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user