[<prev] [next>] [day] [month] [year] [list]
Message-ID: <764C5A0D-30D7-4E76-B284-C868754F8A1C@gmail.com>
Date: Thu, 30 Dec 2021 11:30:21 +0800
From: Ryan Cai <ycaibb@...il.com>
To: <shuah@...nel.org>
CC: <linux-kselftest@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: [Resource Leak] Missing closing files in
testing/selftests/timens/procfs.c
Dear Kernel maintainers,
1. In read_proc_uptime, the file opened at Line 75 may not closed when going to Line 84 and 87.
Location: https://github.com/torvalds/linux/blob/5bfc75d92efd494db37f5c4c173d3639d4772966/tools/testing/selftests/timens/procfs.c#L75-L87
Can I send I a patch?
Best,
Ryan
Powered by blists - more mailing lists