Re: [PATCH v2] Add bounds checking to sys_getdents, sys_getdents64

2014-09-17 Thread Dmitry V. Levin
On Thu, Sep 11, 2014 at 05:29:04AM +0400, Dmitry V. Levin wrote: > On Mon, Aug 04, 2014 at 07:42:57AM +0530, Zubin Mithra wrote: > > * file.c (sys_getdents): Add d_reclen check. > > (sys_getdents64): Add d_reclen check. > > > > Signed-off-by: Zubin Mithra > > --- > > file.c | 11 ++- > >

Re: [PATCH v2] Add bounds checking to sys_getdents, sys_getdents64

2014-09-10 Thread Dmitry V. Levin
On Mon, Aug 04, 2014 at 07:42:57AM +0530, Zubin Mithra wrote: > * file.c (sys_getdents): Add d_reclen check. > (sys_getdents64): Add d_reclen check. > > Signed-off-by: Zubin Mithra > --- > file.c | 11 ++- > 1 file changed, 10 insertions(+), 1 deletion(-) > > diff --git a/file.c b/file.

Re: [PATCH v2] Add bounds checking to sys_getdents, sys_getdents64

2014-08-03 Thread Mike Frysinger
On Mon 04 Aug 2014 07:42:57 zubin.mit...@gmail.com wrote: > From: Zubin Mithra > > * file.c (sys_getdents): Add d_reclen check. > (sys_getdents64): Add d_reclen check. > > Signed-off-by: Zubin Mithra > --- > file.c | 11 ++- > 1 file changed, 10 insertions(+), 1 deletion(-) > > diff -

[PATCH v2] Add bounds checking to sys_getdents, sys_getdents64

2014-08-03 Thread zubin . mithra
From: Zubin Mithra * file.c (sys_getdents): Add d_reclen check. (sys_getdents64): Add d_reclen check. Signed-off-by: Zubin Mithra --- file.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/file.c b/file.c index a92a7dc..0934ce1 100644 --- a/file.c +++ b/file.c @