Project

General

Profile

Bug #5374 » test.log

output of test.rb on win32 - 375gnu (Hleb Valoshka), 09/28/2011 04:02 AM

 
ruby 1.9.2p180 (2011-02-18) [i386-mingw32]
$SAFE = 1
ARGV[0] = u

fname with untaint
New load, arg.tainted? == false
arg.tainted? == false
filename: test 1.txt
Old load, arg.tainted? == false

fname with untaint
New load, arg.tainted? == false
arg.tainted? == false
filename: test1.txt
Old load, arg.tainted? == false

fname with untaint
New load, arg.tainted? == false
arg.tainted? == false
filename: test12.txt
Old load, arg.tainted? == false

fname with untaint
New load, arg.tainted? == false
arg.tainted? == false
filename: test123.txt
Old load, arg.tainted? == false

fname with untaint
New load, arg.tainted? == false
arg.tainted? == false
filename: test1234.txt
Old load, arg.tainted? == false

fname with untaint
New load, arg.tainted? == false
arg.tainted? == false
filename: test12345.txt
Old load, arg.tainted? == false

fname with untaint
New load, arg.tainted? == false
arg.tainted? == false
filename: test_1.txt
Old load, arg.tainted? == false

fname with untaint
New load, arg.tainted? == false
arg.tainted? == false
filename: test?1.txt
Old load, arg.tainted? == false

$SAFE = 1
ARGV[0] = t

fname w/o untaint
New load, arg.tainted? == true
arg.tainted? == false
filename: test 1.txt
Old load, arg.tainted? == false

fname w/o untaint
New load, arg.tainted? == true
arg.tainted? == false
filename: test1.txt
Old load, arg.tainted? == false

fname w/o untaint
New load, arg.tainted? == true
arg.tainted? == false
filename: test12.txt
Old load, arg.tainted? == false

fname w/o untaint
New load, arg.tainted? == true
arg.tainted? == false
filename: test123.txt
Old load, arg.tainted? == false

fname w/o untaint
New load, arg.tainted? == true
arg.tainted? == false
filename: test1234.txt
Old load, arg.tainted? == false
exception: Insecure operation - stat, filename: test1234.txt

fname w/o untaint
New load, arg.tainted? == true
arg.tainted? == false
filename: test12345.txt
Old load, arg.tainted? == false
exception: Insecure operation - stat, filename: test12345.txt

fname w/o untaint
New load, arg.tainted? == true
arg.tainted? == false
filename: test_1.txt
Old load, arg.tainted? == false

fname w/o untaint
New load, arg.tainted? == true
arg.tainted? == false
filename: test?1.txt
Old load, arg.tainted? == false

$SAFE = 1
ARGV[0] = b

fname w/o untaint
New load, arg.tainted? == true
arg.tainted? == false
filename: test 1.txt
Old load, arg.tainted? == false

fname with untaint
New load, arg.tainted? == false
arg.tainted? == false
filename: test 1.txt
Old load, arg.tainted? == false

fname w/o untaint
New load, arg.tainted? == true
arg.tainted? == false
filename: test1.txt
Old load, arg.tainted? == false

fname with untaint
New load, arg.tainted? == false
arg.tainted? == false
filename: test1.txt
Old load, arg.tainted? == false

fname w/o untaint
New load, arg.tainted? == true
arg.tainted? == false
filename: test12.txt
Old load, arg.tainted? == false

fname with untaint
New load, arg.tainted? == false
arg.tainted? == false
filename: test12.txt
Old load, arg.tainted? == false

fname w/o untaint
New load, arg.tainted? == true
arg.tainted? == false
filename: test123.txt
Old load, arg.tainted? == false

fname with untaint
New load, arg.tainted? == false
arg.tainted? == false
filename: test123.txt
Old load, arg.tainted? == false

fname w/o untaint
New load, arg.tainted? == true
arg.tainted? == false
filename: test1234.txt
Old load, arg.tainted? == false
exception: Insecure operation - stat, filename: test1234.txt

fname with untaint
New load, arg.tainted? == false
arg.tainted? == false
filename: test1234.txt
Old load, arg.tainted? == false
exception: Insecure operation - stat, filename: test1234.txt

fname w/o untaint
New load, arg.tainted? == true
arg.tainted? == false
filename: test12345.txt
Old load, arg.tainted? == false
exception: Insecure operation - stat, filename: test12345.txt

fname with untaint
New load, arg.tainted? == false
arg.tainted? == false
filename: test12345.txt
Old load, arg.tainted? == false
exception: Insecure operation - stat, filename: test12345.txt

fname w/o untaint
New load, arg.tainted? == true
arg.tainted? == false
filename: test_1.txt
Old load, arg.tainted? == false

fname with untaint
New load, arg.tainted? == false
arg.tainted? == false
filename: test_1.txt
Old load, arg.tainted? == false

fname w/o untaint
New load, arg.tainted? == true
arg.tainted? == false
filename: test?1.txt
Old load, arg.tainted? == false

fname with untaint
New load, arg.tainted? == false
arg.tainted? == false
filename: test?1.txt
Old load, arg.tainted? == false

(2-2/5)