Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751333Ab0LYLXR (ORCPT ); Sat, 25 Dec 2010 06:23:17 -0500 Received: from mail-wy0-f174.google.com ([74.125.82.174]:39665 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750832Ab0LYLXQ (ORCPT ); Sat, 25 Dec 2010 06:23:16 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=xW8KLFFU0S9A3HAIf4tJWJw9jPJ8ruTodD/wlpY+G2u0B3CnVWKGDSrBJ1yTnfk1Vu AaAf7NRJdaTsPmPvZRmOtKrOpLc3Gat9I/AFUyt6hzwEzaG0HshKvQAk5Mjod7hS024Z aZJbqWKTxCATtPKpvrq/mp1TCE1KmYxMO3dZU= Message-ID: <4D15D347.6050500@gmail.com> Date: Sat, 25 Dec 2010 12:19:35 +0100 From: Marco Stornelli User-Agent: Mozilla/5.0 (X11; U; Linux i686; it; rv:1.9.1.16) Gecko/20101125 SUSE/3.0.11 Thunderbird/3.0.11 MIME-Version: 1.0 To: LKML CC: "Ahmed S. Darwish" , Kyungmin Park , David Woodhouse , Greg KH , Andrew Morton Subject: Re: [PATCH, Bugfix] RAMOOPS: Don't overflow over non-allocated regions References: <20101225095709.GA1345@laptop> In-Reply-To: <20101225095709.GA1345@laptop> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 599 Lines: 16 Il 25/12/2010 10:57, Ahmed S. Darwish ha scritto: > Hi, > > Current code mis-calculates the ramoops header size, leading to an > overflow over the next record at best, or over a non-allocated region > at worst. Fix that calculation. > > Signed-off-by: Ahmed S. Darwish > -- Acked-by: Marco Stornelli -- 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/