Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] Re: Insecure tempfile creation
On Dec 29, 12:49am, Daniel Shahaf wrote:
}
} Your patches look good to me, including the rmdir
I avoided using "mkdir -m 0700" in favor of the chmod but then found some
other places where mkdir is passed the -m option. So maybe that should
be tweaked.
} but except for:
}
} > - } =(: temporary file)
} > + } =(<<<'temporary file')
}
} I assume =(<<<'') was the intention.
I meant to say something about that but forgot.
The places where I left that immediately use >|$1 to clobber the file,
so it doesn't matter if the file starts out empty; I hoped it could be
a clue to the reader what was going on.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author