RE: [PATCH 1/4] ipc/shm.c: check for ulong overflows in shmat

From: Motohiro Kosaki
Date: Tue Apr 22 2014 - 16:19:06 EST


> > find_vma_intersection does not work as intended if addr+size overflows.
> > The patch adds a manual check before the call to find_vma_intersection.
> >
> > Signed-off-by: Manfred Spraul <manfred@xxxxxxxxxxxxxxxx>
>
> Acked-by: Davidlohr Bueso <davidlohr@xxxxxx>

Acked-by: KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx>