Re: [PATCH] zlib double-free bug

From: Tom Rini (trini@kernel.crashing.org)
Date: Thu Mar 21 2002 - 16:03:56 EST


On Thu, Mar 21, 2002 at 12:14:33PM -0800, H. Peter Anvin wrote:
> Followup to: <Pine.LNX.4.44.0203200943230.3615-100000@xanadu.home>
> By author: Nicolas Pitre <nico@cam.org>
> In newsgroup: linux.dev.kernel
> >
> > On Wed, 20 Mar 2002, Helge Hafting wrote:
> >
> > > Nicolas Pitre wrote:
> > >
> > > > > Removable media?
> > > >
> > > > Most if not all removable media are not ment to be used with JFFS2.
> > >
> > > Nothing is _meant_ to be exploited either. Someone could
> > > create a cdrom with jffs2 (linux don't demand that cd's use iso9660)
> >
> > But JFFS2 demands to be used with AN MTD device, not a block device. And
> > most MTD device, if not all of them, on which JFFS2 is used aren't
> > removable.
>
> Isn't this whole discussion a bit silly? If I'm not mistaken, we're
> talking about a one-line known fix here...

It's getting there. The 'issue' is that the best way to fix it (maybe
2.4.20-pre1 even) is to backport the 2.5 zlib which doesn't have this
problem and removes most of the copies of zlib from the kernel. If it's
not really a problem now, why fix it? (Tho it should be a safe fix now
that Paul has produced a patch which doesn't suffer from random oopses
or other problems).

-- 
Tom Rini (TR1265)
http://gate.crashing.org/~trini/
-
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/



This archive was generated by hypermail 2b29 : Sat Mar 23 2002 - 22:00:26 EST