output: elf,dwarf -- Fix lookup over existing files
commit495b6352d871381c21d65a403124658f3d34dd35
authorCyrill Gorcunov <gorcunov@gmail.com>
Thu, 23 Mar 2017 16:19:38 +0000 (23 19:19 +0300)
committerCyrill Gorcunov <gorcunov@gmail.com>
Thu, 23 Mar 2017 16:19:38 +0000 (23 19:19 +0300)
tree263dcc79c88bdb0bfb6d525be93e74f041d9bbc1
parente74fd4b7b851a3e731800913e907ae1b230a6511
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>
output/outelf.c