Re: [PATCH 3.2 059/221] autofs4: check dev ioctl size before allocating

2015-05-05 Thread Ben Hutchings
On Tue, 2015-05-05 at 13:38 +0800, Ian Kent wrote: > On Tue, 2015-05-05 at 02:16 +0100, Ben Hutchings wrote: > > 3.2.69-rc1 review patch. If anyone has any objections, please let me know. > > Perhaps you should also consider including commit 0a280962 along with > this one. [...] I did, it's 60/2

Re: [PATCH 3.2 059/221] autofs4: check dev ioctl size before allocating

2015-05-04 Thread Ian Kent
On Tue, 2015-05-05 at 02:16 +0100, Ben Hutchings wrote: > 3.2.69-rc1 review patch. If anyone has any objections, please let me know. Perhaps you should also consider including commit 0a280962 along with this one. > > -- > > From: Sasha Levin > > commit e53d77eb8bb616e903e34cc

[PATCH 3.2 059/221] autofs4: check dev ioctl size before allocating

2015-05-04 Thread Ben Hutchings
3.2.69-rc1 review patch. If anyone has any objections, please let me know. -- From: Sasha Levin commit e53d77eb8bb616e903e34cc7a918401bee3b5149 upstream. There wasn't any check of the size passed from userspace before trying to allocate the memory required. This meant that us