[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87ipg8fy44.fsf@rustcorp.com.au>
Date: Mon, 07 May 2012 13:20:35 +0930
From: Rusty Russell <rusty@...tcorp.com.au>
To: Jesper Juhl <jj@...osbits.net>, linux-kernel@...r.kernel.org
Cc: Alessio Igor Bogani <abogani@...nel.org>,
Tony Lindgren <tony@...mide.com>,
Ben Hutchings <ben@...adent.org.uk>,
Russell King <rmk+kernel@....linux.org.uk>
Subject: Re: [PATCH] modpost: Stop grab_file() from leaking filedescriptors if fstat() fails
On Sun, 22 Apr 2012 20:40:49 +0200 (CEST), Jesper Juhl <jj@...osbits.net> 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@...osbits.net>
Applied.
Thanks,
Rusty.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists