On Tue, Mar 13, 2007 at 12:33:32AM +0100, Javier Fern?ndez-Sanguino Pe?a wrote:
> On Mon, Mar 12, 2007 at 01:46:42PM -0400, Justin Pryzby wrote:
> > This is apparently supposed to be a safe and portable way of making
> > tempfiles;
> > but tempfile wrappers are essentially guaranteed to be unsafe.
On Mon, Mar 12, 2007 at 01:46:42PM -0400, Justin Pryzby wrote:
> Package: tiger
> Version: 3.2.1-35
> Severity: important
> Tags: security
>
> |#
> |# Given a temporary file determines if it exists
> |# if it does bails out since it shouldn't be there
> |safe_temp()
> |{
> | for __tmpfile
> | do
Package: tiger
Version: 3.2.1-35
Severity: important
Tags: security
|#
|# Given a temporary file determines if it exists
|# if it does bails out since it shouldn't be there
|safe_temp()
|{
| for __tmpfile
| do
|if [ -f "$__tmpfile" ] ; then
|echo "--ERROR-- [init009e] Tempfile \`$__
3 matches
Mail list logo