Re: [PATCH] modpost: Stop grab_file() from leaking filedescriptors if fstat() fails
From: Rusty Russell
Date: Mon May 07 2012 - 01:25:49 EST
On Sun, 22 Apr 2012 20:40:49 +0200 (CEST), Jesper Juhl <jj@xxxxxxxxxxxxx> wrote:
> In case the open() call succeeds but the subsequent fstat() call
> fails, then we'll return without close()'ing the filedescriptor.
>
> Signed-off-by: Jesper Juhl <jj@xxxxxxxxxxxxx>
Applied.
Thanks,
Rusty.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/