Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751196Ab3CQEol (ORCPT ); Sun, 17 Mar 2013 00:44:41 -0400 Received: from mail-ia0-f174.google.com ([209.85.210.174]:41012 "EHLO mail-ia0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750711Ab3CQEok (ORCPT ); Sun, 17 Mar 2013 00:44:40 -0400 MIME-Version: 1.0 In-Reply-To: <1363447412-23804-1-git-send-email-tom.leiming@gmail.com> References: <1363447412-23804-1-git-send-email-tom.leiming@gmail.com> Date: Sat, 16 Mar 2013 21:44:39 -0700 Message-ID: Subject: Re: [PATCH] mm/fremap.c: fix another oops on error path From: Michel Lespinasse To: Ming Lei Cc: Andrew Morton , linux-kernel@vger.kernel.org, Tommi Rantala , Linus Torvalds Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 573 Lines: 14 On Sat, Mar 16, 2013 at 8:23 AM, Ming Lei 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/