Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751758AbWIGXmu (ORCPT ); Thu, 7 Sep 2006 19:42:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751887AbWIGXmu (ORCPT ); Thu, 7 Sep 2006 19:42:50 -0400 Received: from smtp.osdl.org ([65.172.181.4]:37775 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S1751758AbWIGXmt (ORCPT ); Thu, 7 Sep 2006 19:42:49 -0400 Date: Thu, 7 Sep 2006 16:42:07 -0700 From: Andrew Morton To: Willy Tarreau Cc: Linus Torvalds , Kirill Korotaev , Linux Kernel Mailing List , Fernando Vazquez , "David S. Miller" , tony.luck@intel.com, linux-ia64@vger.kernel.org, stable@kernel.org, xemul@openvz.org, devel@openvz.org Subject: Re: [PATCH] IA64,sparc: local DoS with corrupted ELFs Message-Id: <20060907164207.16745087.akpm@osdl.org> In-Reply-To: <20060907200713.GB541@1wt.eu> References: <44FC193C.4080205@openvz.org> <44FFF1A0.2060907@openvz.org> <20060907200713.GB541@1wt.eu> X-Mailer: Sylpheed version 2.2.7 (GTK+ 2.8.6; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1508 Lines: 41 On Thu, 7 Sep 2006 22:07:14 +0200 Willy Tarreau wrote: > On Thu, Sep 07, 2006 at 08:17:04AM -0700, Linus Torvalds wrote: > > > > > > On Thu, 7 Sep 2006, Kirill Korotaev wrote: > > > > > > Does the patch below looks better? > > > > Yes. > > > > Apart from the whitespace corruption, that is. > > > > I don't know how to get mozilla to not screw up whitespace. Me either. I've had a bug report in the mozilla system for maybe four years concerning space-stuffing. Occasionally it comes to life but afaict nothing ever changes. I expect it'd be pretty easy to undo the space-stuffing in git. In extremis I just do s/^ /^ / and it works. An automated solution would need to recognise the appropriate headers (Format=Flowed, iirc). > maybe by using it to download mutt or something saner ? :-) > > More seriously, while we don't like email attachments because they make > it impossible to comment on a patch, maybe we should encourage people > with broken mailers to post small patches in both forms : > - pure text for human review (spaces are not much of a problem here) > - MIME to apply the patch. argh. That means that email contains two copies of the patch. So it applies with `patch --dry-run' then causes havoc with `patch' - 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/