* cache.c (bfd_cache_lookup_worker): Don't abort on failing to
[deliverable/binutils-gdb.git] / bfd / bfdwin.c
index d3e4ba83d1e23a409197d4a46fc8ac9cf47b4d7c..1450ab0e9690f6df9bbcdeb3bf66263519b0365b 100644 (file)
@@ -153,6 +153,8 @@ bfd_get_file_window (bfd *abfd,
          abfd = abfd->my_archive;
        }
       f = bfd_cache_lookup (abfd);
+      if (f == NULL)
+       return FALSE;
       fd = fileno (f);
 
       /* Compute offsets and size for mmap and for the user's data.  */
This page took 0.02403 seconds and 4 git commands to generate.