Messages in this thread | | | Date | Thu, 30 Dec 2021 11:30:21 +0800 | Subject | [Resource Leak] Missing closing files in testing/selftests/timens/procfs.c | From | Ryan Cai <> |
| |
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
| |