android_kernel_motorola_sm6375/fs/configfs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Chung-Chiang Cheng f0acb12b98 configfs: fix memleak in configfs_release_bin_file
[ Upstream commit 3c252b087de08d3cb32468b54a158bd7ad0ae2f7 ]

When reading binary attributes in progress, buffer->bin_buffer is setup in
configfs_read_bin_file() but never freed.

Fixes: 03607ace80 ("configfs: implement binary attributes")
Signed-off-by: Chung-Chiang Cheng <cccheng@synology.com>
[hch: move the vfree rather than duplicating it]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-14 16:53:46 +02:00
..
configfs_internal.h
dir.c configfs: fix config_item refcnt leak in configfs_rmdir() 2020-05-27 17:46:30 +02:00
file.c configfs: fix memleak in configfs_release_bin_file 2021-07-14 16:53:46 +02:00
inode.c utimes: Clamp the timestamps in notify_change() 2020-02-11 04:35:12 -08:00
item.c
Kconfig
Makefile
mount.c
symlink.c configfs: calculate the depth of parent item 2019-11-06 18:36:01 +01:00