projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PR25993, read of freed memory
[deliverable/binutils-gdb.git]
/
bfd
/
archive.c
diff --git
a/bfd/archive.c
b/bfd/archive.c
index ff64727c44801e1f37d7eacbf8bbd8a0afdfec49..13229777448fe8ee9238eb01c08913e9aeb77c11 100644
(file)
--- a/
bfd/archive.c
+++ b/
bfd/archive.c
@@
-737,8
+737,7
@@
_bfd_get_elt_at_filepos (bfd *archive, file_ptr filepos)
else
{
n_bfd->origin = n_bfd->proxy_origin;
- n_bfd->filename = bfd_strdup (filename);
- if (n_bfd->filename == NULL)
+ if (!bfd_set_filename (n_bfd, filename))
goto out;
}
This page took
0.034141 seconds
and
4
git commands to generate.