Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752925Ab0D0HYv (ORCPT ); Tue, 27 Apr 2010 03:24:51 -0400 Received: from smtp.nokia.com ([192.100.105.134]:39779 "EHLO mgw-mx09.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751306Ab0D0HYu (ORCPT ); Tue, 27 Apr 2010 03:24:50 -0400 Subject: Re: [PATCH 2/3] drivers/mtd/maps: Eliminate use after free From: Artem Bityutskiy Reply-To: dedekind1@gmail.com To: Julia Lawall Cc: David Woodhouse , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Tue, 27 Apr 2010 10:19:36 +0300 Message-ID: <1272352776.26036.0.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 (2.28.3-1.fc12) Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 27 Apr 2010 07:23:47.0334 (UTC) FILETIME=[9379BA60:01CAE5DA] X-Nokia-AV: Clean Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 719 Lines: 21 On Fri, 2010-04-02 at 14:47 +0200, Julia Lawall wrote: > From: Julia Lawall > > Moved the debugging message before the call to map_destroy, which frees its > argument. The message is also slightly changed to reflect its new > position. > > A simplified version of the semantic patch that finds this problem is as > follows: (http://coccinelle.lip6.fr/) Pushed to l2-mtd-2.6.git, thanks. -- Best Regards, Artem Bityutskiy (Артём Битюцкий) -- 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/