1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-26 17:17:39 +01:00

(_UPT_get_dyn_info_list_addr): Pass size of path to maps_next().

(Logical change 1.199)
This commit is contained in:
mostang.com!davidm 2004-03-31 07:38:06 +00:00
parent 50c2be0ca3
commit 18222990f2

View file

@ -48,7 +48,7 @@ _UPT_get_dyn_info_list_addr (unw_addr_space_t as, unw_word_t *dil_addr,
#if UNW_TARGET_IA64
maps_init (&mi, ui->pid);
while (maps_next (&mi, &lo, &hi, &off, path))
while (maps_next (&mi, &lo, &hi, &off, path, sizeof (path)))
{
if (off)
continue;