Bug#414584: tiger: temp file race in safe_temp ...

2007-03-13 Thread Justin Pryzby
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.

Bug#414584: tiger: temp file race in safe_temp ...

2007-03-12 Thread Nicolas François
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

Bug#414584: tiger: temp file race in safe_temp ...

2007-03-12 Thread Justin Pryzby
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 \`$__