On Tue, 2019-12-24 at 01:06 +0530, Siddharth Chandrasekaran wrote:
Hello,
This patchset is a backport of upstream commits that makes getdents() and getdents64() do sanity checking on the pathname that it gives to user space.
These seem to be needed for 3.16, as well, so I've added them to my queue.
Ben.
Sid
Linus Torvalds (2): Make filldir[64]() verify the directory entry filename is valid filldir[64]: remove WARN_ON_ONCE() for bad directory entries
fs/readdir.c | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+)