mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-03-31 18:20:22 +08:00
output: elf,dwarf -- Fix lookup over existing files
We are missing @next access here so in result we might allocate same name several times. Reported-by: "Bae, Chang Seok" <chang.seok.bae@intel.com> Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
parent
e74fd4b7b8
commit
495b6352d8
@ -3298,6 +3298,7 @@ static void dwarf_findfile(const char * fname)
|
||||
dwarf_clist = match;
|
||||
return;
|
||||
}
|
||||
match = match->next;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user