Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757908AbXEYFW7 (ORCPT ); Fri, 25 May 2007 01:22:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752098AbXEYFWw (ORCPT ); Fri, 25 May 2007 01:22:52 -0400 Received: from wa-out-1112.google.com ([209.85.146.181]:33768 "EHLO wa-out-1112.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751885AbXEYFWv (ORCPT ); Fri, 25 May 2007 01:22:51 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=GL94jQW3VsBVVAiMLFe0Kq+QCQjbBEKi7T1DhIFlPeZUtjwWbDugI5uazcNXSW8IfMpmAiwdByVAPOB6/X3lk0pKMkLXhrcLktHLmZsE/zwFixUsMi3YxTLefi+N/N0CerJZt40ih0eiHfK5Q1YpvDv73oe3cvnu3ZKQ4H+7Kgw= Message-ID: Date: Fri, 25 May 2007 05:22:50 +0000 From: "young dave" To: "Christoph Lameter" Subject: Re: 2.6.22-rc2-mm1 NTFS & SLUB related fix Cc: "Andrew Morton" , "Linux Kernel Mailing List" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 911 Lines: 29 Hi, > Is this ntfs_init_locked_inode? Yes, it is. > > Bytes b4 0xc2959e28: 00 00 00 00 00 00 00 00 5a 5a 5a 5a 5a 5a 5a > > Object 0xc2959e38: 24 00 51 00 00 00 6b a5 > > Redzone 0xc2959e40: 00 00 cc cc > > First two bytes after the object overwritten. The allocation for this > object should have been two bytes longer. > > > Last alloc: ntfs_init_locked_inode+0x9e/0x110 jiffies_ago=5140 cpu=0 pid=1604 > > This is the function that allocated a too short object. > Only the last one byte of the string is zeroed, but It malloced 2 more byte appended the string because size of thentfschar type is 2 bytes , is this the reason? But why? Regards dave - 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/