[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080205170234.GB9694@c2.user-mode-linux.org>
Date: Tue, 5 Feb 2008 12:02:34 -0500
From: Jeff Dike <jdike@...toit.com>
To: Jim Meyering <jim@...ering.net>
Cc: linux-kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] uml: handle unusual results from find_tempdir.
On Tue, Feb 05, 2008 at 05:25:06PM +0100, Jim Meyering wrote:
>
> An alternative: make find_tempdir set tempdir to default_tempdir
> upon malloc failure.
>
> * arch/um/os-Linux/mem.c (make_tempfile): Handle NULL tempdir.
> Don't let a long tempdir (e.g., via TMPDIR) provoke heap corruption.
>
> Signed-off-by: Jim Meyering <meyering@...hat.com>
Thanks, I'll forward this on.
Jeff
--
Work email - jdike at linux dot intel dot com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists