On Fri, Dec 22, 2017 at 6:51 PM, Colin King wrote:
> From: Colin Ian King
>
> In the case that shm->pages fails to allocate, the current exit
> error path will try to put_page on a null shm->pages and cause
> a null pointer dereference when accessing shm->pages[n]. Fix this
> by only performing t
From: Colin Ian King
In the case that shm->pages fails to allocate, the current exit
error path will try to put_page on a null shm->pages and cause
a null pointer dereference when accessing shm->pages[n]. Fix this
by only performing the put_page and kfree on shm->pages if it
is not null.
Detecte
2 matches
Mail list logo