]> git.hungrycats.org Git - linux/commit
[PATCH] load_elf_binary() oops fix
authorAndrew Morton <akpm@osdl.org>
Mon, 19 Jan 2004 02:57:43 +0000 (18:57 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Mon, 19 Jan 2004 02:57:43 +0000 (18:57 -0800)
commit72d4f16d85e764c2ae9176486b284b7a965abb51
tree7d676ed0fd567b4534f906434dd4a80f06bdfbe2
parent67228094e5b2fd88181aa2cec8de66db025156de
[PATCH] load_elf_binary() oops fix

If we detect an error late in this function, local variable `interpreter' can
be NULL.  Don't try to fput() it in that case.
fs/binfmt_elf.c