Messages in this thread | | | Date | Tue, 5 Feb 2008 12:02:34 -0500 | From | Jeff Dike <> | 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@redhat.com>
Thanks, I'll forward this on.
Jeff
-- Work email - jdike at linux dot intel dot com
| |