Re: [PATCH] mm/fremap.c: fix another oops on error path

From: Michel Lespinasse
Date: Sun Mar 17 2013 - 00:44:59 EST


On Sat, Mar 16, 2013 at 8:23 AM, Ming Lei <tom.leiming@xxxxxxxxx> wrote:
> Since find_vma() may return NULL, so don't dereference the
> returned 'vma' until it is valid.

Agree this was an issue. This is fixed with commit a2362d24764a.

--
Michel "Walken" Lespinasse
A program is never fully debugged until the last user dies.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/