https://sourceware.org/bugzilla/show_bug.cgi?id=31457
--- Comment #3 from Driller SE ---
After a thorough reproduction process, I've come to the conclusion that this is
a false positive caused by my oversight, for which I apologize for any
inconvenience caused.
Below is an explanation of the false positive, along with the relevant code:
```c
output_element = bfd_openr (output_name, output_target);
ptr = _element->archive_next;
*ptr = NULL;
```
The false positive occurred because:
During my testing of strip-new, I manually deleted the directory containing
file`output_name` (before strip could automatically delete it), resulting in
`bfd_openr` returning NULL to `output_element`, which then led to a SEGV at
`*ptr = NULL`.
Therefore, this problem would not occur under non-contrived circumstances
(i.e., if the temporary directories were not manually deleted before strip
automatically deletes them).
--
You are receiving this mail because:
You are on the CC list for the bug.