From: nasm-bot f. C. G. <gor...@gm...> - 2017-03-23 16:21:28
|
Commit-ID: 495b6352d871381c21d65a403124658f3d34dd35 Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=495b6352d871381c21d65a403124658f3d34dd35 Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Thu, 23 Mar 2017 19:19:38 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Thu, 23 Mar 2017 19:19:38 +0300 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" <cha...@in...> Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- output/outelf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/output/outelf.c b/output/outelf.c index d99a49b..e1cba76 100644 --- a/output/outelf.c +++ b/output/outelf.c @@ -3298,6 +3298,7 @@ static void dwarf_findfile(const char * fname) dwarf_clist = match; return; } + match = match->next; } } |