[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6B2BA408B38BA1478B473C31C3D2074E30989E9D81@SV-EXCHANGE1.Corp.FC.LOCAL>
Date: Tue, 22 Apr 2014 13:16:38 -0700
From: Motohiro Kosaki <Motohiro.Kosaki@...fujitsu.com>
To: Davidlohr Bueso <davidlohr@...com>,
Manfred Spraul <manfred@...orfullife.com>
CC: Davidlohr Bueso <davidlohr.bueso@...com>,
Michael Kerrisk <mtk.manpages@...il.com>,
Martin Schwidefsky <schwidefsky@...ibm.com>,
LKML <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>,
Motohiro Kosaki JP <kosaki.motohiro@...fujitsu.com>,
"gthelen@...gle.com" <gthelen@...gle.com>,
"aswin@...com" <aswin@...com>,
"linux-mm@...ck.org" <linux-mm@...ck.org>
Subject: RE: [PATCH 3/4] ipc/shm.c: check for integer overflow during shmget.
> > SHMMAX is the upper limit for the size of a shared memory segment,
> > counted in bytes. The actual allocation is that size, rounded up to
> > the next full page.
> > Add a check that prevents the creation of segments where the rounded
> > up size causes an integer overflow.
> >
> > Signed-off-by: Manfred Spraul <manfred@...orfullife.com>
>
> Acked-by: Davidlohr Bueso <davidlohr@...com>
Acked-by: KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
Powered by blists - more mailing lists