linux-stable/tools
zhujun2 dca38611c2 selftests/efivarfs: create-read: fix a resource leak
[ Upstream commit 3f6f8a8c5e ]

The opened file should be closed in main(), otherwise resource
leak will occur that this problem was discovered by code reading

Signed-off-by: zhujun2 <zhujun2@cmss.chinamobile.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-11-28 16:46:31 +00:00
..
accounting tools/accounting/getdelays.c: fix netlink attribute length 2020-04-13 10:45:10 +02:00
arch parisc: Align parisc MADV_XXX constants with all other architectures 2023-01-18 11:30:51 +01:00
bpf bpftool: Fix bug for long instructions in program CFG dumps 2023-05-17 11:13:13 +02:00
build tools build: Switch to new openssl API for test-libcrypto 2022-08-25 11:15:39 +02:00
cgroup
firewire
gpio tools: gpio-hammer: Avoid potential overflow in main 2020-10-01 13:14:39 +02:00
hv
iio tools: iio: iio_generic_buffer ensure alignment 2023-11-20 10:29:20 +01:00
include bpf: Clarify error expectations from bpf_clone_redirect 2023-10-10 21:44:58 +02:00
kvm/kvm_stat tools/kvm_stat: Fix kvm_exit filter name 2020-02-11 04:34:08 -08:00
laptop
leds
lib libbpf: Fix alen calculation in libbpf_nla_dump_errormsg() 2023-03-11 16:31:37 +01:00
memory-model
nfsd
objtool objtool: Add a missing comma to avoid string concatenation 2023-02-06 07:49:45 +01:00
pci
pcmcia
perf perf hists browser: Fix hierarchy mode header 2023-09-23 10:48:14 +02:00
power cpupower: add Makefile dependencies for install targets 2023-10-10 21:45:01 +02:00
scripts tools: Factor HOSTCC, HOSTLD, HOSTAR definitions 2021-01-30 13:32:13 +01:00
spi
testing selftests/efivarfs: create-read: fix a resource leak 2023-11-28 16:46:31 +00:00
thermal/tmon tools/thermal: Fix possible path truncations 2022-08-25 11:15:26 +02:00
time
usb usb: testusb: Fix for showing the connection speed 2021-10-09 14:11:03 +02:00
virtio tools/virtio: fix the vringh test for virtio ring changes 2023-02-22 12:47:19 +01:00
vm tools/vm/slabinfo-gnuplot: use "grep -E" instead of "egrep" 2022-12-08 11:18:33 +01:00
wmi
Makefile