Re: [PATCH] autofs4: check dev ioctl size before allocating

2014-04-06 Thread Sasha Levin
On 04/05/2014 11:53 PM, Ian Kent wrote: > On Sat, 2014-04-05 at 23:11 -0400, Sasha Levin wrote: >> On 04/05/2014 11:03 PM, Ian Kent wrote: >>> On Sat, 2014-04-05 at 11:06 -0400, Sasha Levin wrote: Ping? Anyone wants to take this? >>> >>> Is this causing a problem for users? >>> If it is I'll s

Re: [PATCH] autofs4: check dev ioctl size before allocating

2014-04-05 Thread Ian Kent
On Sat, 2014-04-05 at 23:11 -0400, Sasha Levin wrote: > On 04/05/2014 11:03 PM, Ian Kent wrote: > > On Sat, 2014-04-05 at 11:06 -0400, Sasha Levin wrote: > >> Ping? Anyone wants to take this? > > > > Is this causing a problem for users? > > If it is I'll send it to Andrew straight away. > > > > I

Re: [PATCH] autofs4: check dev ioctl size before allocating

2014-04-05 Thread Sasha Levin
On 04/05/2014 11:03 PM, Ian Kent wrote: > On Sat, 2014-04-05 at 11:06 -0400, Sasha Levin wrote: >> Ping? Anyone wants to take this? > > Is this causing a problem for users? > If it is I'll send it to Andrew straight away. > > I do have this on my queue but don't have any other patches to send so

Re: [PATCH] autofs4: check dev ioctl size before allocating

2014-04-05 Thread Ian Kent
On Sat, 2014-04-05 at 11:06 -0400, Sasha Levin wrote: > Ping? Anyone wants to take this? Is this causing a problem for users? If it is I'll send it to Andrew straight away. I do have this on my queue but don't have any other patches to send so it's just sitting there. If it worries you I'll send

Re: [PATCH] autofs4: check dev ioctl size before allocating

2014-04-05 Thread Sasha Levin
Ping? Anyone wants to take this? On 03/15/2014 09:40 PM, Sasha Levin wrote: > There wasn't any check of the size passed from userspace before > trying to allocate the memory required. > > This meant that userspace might request more space than allowed, > triggering an OOM. > > Signed-off-by: Sas