| Subject | Re: [PATCH 3/4] ipc/shm.c: check for integer overflow during shmget. | From | Davidlohr Bueso <> | Date | Tue, 22 Apr 2014 11:19:05 -0700 |
| |
On Mon, 2014-04-21 at 16:26 +0200, Manfred Spraul wrote: > 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@colorfullife.com>
Acked-by: Davidlohr Bueso <davidlohr@hp.com>
|