• Ell's avatar
    Issue #4536 - Seg fault when trying to open image on Google Drive (Gnome 3.34.3) · 0829dba9
    Ell authored
    In file_open_image(), mount non-native files *before* looking up a
    file-proc.  Previously, we'd only mount the file after the initial
    lookup, and fail to perform a second lookup if the mount succeeded,
    leaving us with a NULL file-proc and a subsequent segfault.
    Additionally, simplify the rest of the remote-file code-path.
file-open.c 26 KB