[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200716095558.GF8455@alpha.franken.de>
Date: Thu, 16 Jul 2020 11:55:58 +0200
From: Thomas Bogendoerfer <tsbogend@...ha.franken.de>
To: Peng Fan <fanpeng@...ngson.cn>
Cc: linux-mips@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] mips/vdso: Fix resource leaks in genvdso.c
On Tue, Jul 14, 2020 at 08:30:18PM +0800, Peng Fan wrote:
> Close "fd" before the return of map_vdso() and close "out_file"
> in main().
>
> Signed-off-by: Peng Fan <fanpeng@...ngson.cn>
> ---
>
> v2:
> - add one missing fclose()
>
> ---
> arch/mips/vdso/genvdso.c | 10 ++++++++++
> 1 file changed, 10 insertions(+)
applied to mips-next.
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]
Powered by blists - more mailing lists