• Andrew Morton's avatar
    [PATCH] fix error case in binfmt_elf.c:load_elf_interp · 31f73ed3
    Andrew Morton authored
    From: Roland McGrath <roland@redhat.com>
    
    Julie DeWandel noticed that in the error case where elf_map has failed,
    load_elf_interp will (at the out_close: label) return the `error' variable,
    but that will contain the result of a prior operation and not the error
    number from elf_map.
    31f73ed3
binfmt_elf.c 40.3 KB