]> git.hungrycats.org Git - linux/commit
[PATCH] fix error case in binfmt_elf.c:load_elf_interp
authorAndrew Morton <akpm@osdl.org>
Mon, 19 Jan 2004 13:14:10 +0000 (05:14 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Mon, 19 Jan 2004 13:14:10 +0000 (05:14 -0800)
commit31f73ed392786be28bdaa8a1ba0c8110dca701ed
tree58e244feb191cca9c5f53c53385114d18152aa49
parent3d122f30160dacbab5ebf038584d210506ecc4f7
[PATCH] fix error case in binfmt_elf.c:load_elf_interp

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.
fs/binfmt_elf.c