lkml.org 
[lkml]   [2020]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 4.4 0/2] Backport readdir sanity checking patches
From
Date
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(+)
>
--
Ben Hutchings
Larkinson's Law: All laws are basically false.


[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2020-01-07 23:10    [W:0.203 / U:2.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site