[Devel] Re: [PATCH] IA64,sparc: local DoS with corrupted ELFs

Andrew Morton akpm at osdl.org
Thu Sep 7 16:42:07 PDT 2006


On Thu, 7 Sep 2006 22:07:14 +0200
Willy Tarreau <w at 1wt.eu> 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'





More information about the Devel mailing list