Project

General

Profile

Bug #5374 ยป test.log

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

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

    
5
fname with untaint 
6
New load, arg.tainted? == false
7
          arg.tainted? == false
8
filename: test 1.txt
9
Old load, arg.tainted? == false
10

    
11
fname with untaint 
12
New load, arg.tainted? == false
13
          arg.tainted? == false
14
filename: test1.txt
15
Old load, arg.tainted? == false
16

    
17
fname with untaint 
18
New load, arg.tainted? == false
19
          arg.tainted? == false
20
filename: test12.txt
21
Old load, arg.tainted? == false
22

    
23
fname with untaint 
24
New load, arg.tainted? == false
25
          arg.tainted? == false
26
filename: test123.txt
27
Old load, arg.tainted? == false
28

    
29
fname with untaint 
30
New load, arg.tainted? == false
31
          arg.tainted? == false
32
filename: test1234.txt
33
Old load, arg.tainted? == false
34

    
35
fname with untaint 
36
New load, arg.tainted? == false
37
          arg.tainted? == false
38
filename: test12345.txt
39
Old load, arg.tainted? == false
40

    
41
fname with untaint 
42
New load, arg.tainted? == false
43
          arg.tainted? == false
44
filename: test_1.txt
45
Old load, arg.tainted? == false
46

    
47
fname with untaint 
48
New load, arg.tainted? == false
49
          arg.tainted? == false
50
filename: test?1.txt
51
Old load, arg.tainted? == false
52

    
53
$SAFE = 1
54
ARGV[0] = t
55

    
56
fname w/o untaint 
57
New load, arg.tainted? == true
58
          arg.tainted? == false
59
filename: test 1.txt
60
Old load, arg.tainted? == false
61

    
62
fname w/o untaint 
63
New load, arg.tainted? == true
64
          arg.tainted? == false
65
filename: test1.txt
66
Old load, arg.tainted? == false
67

    
68
fname w/o untaint 
69
New load, arg.tainted? == true
70
          arg.tainted? == false
71
filename: test12.txt
72
Old load, arg.tainted? == false
73

    
74
fname w/o untaint 
75
New load, arg.tainted? == true
76
          arg.tainted? == false
77
filename: test123.txt
78
Old load, arg.tainted? == false
79

    
80
fname w/o untaint 
81
New load, arg.tainted? == true
82
          arg.tainted? == false
83
filename: test1234.txt
84
Old load, arg.tainted? == false
85
exception: Insecure operation - stat, filename: test1234.txt
86

    
87
fname w/o untaint 
88
New load, arg.tainted? == true
89
          arg.tainted? == false
90
filename: test12345.txt
91
Old load, arg.tainted? == false
92
exception: Insecure operation - stat, filename: test12345.txt
93

    
94
fname w/o untaint 
95
New load, arg.tainted? == true
96
          arg.tainted? == false
97
filename: test_1.txt
98
Old load, arg.tainted? == false
99

    
100
fname w/o untaint 
101
New load, arg.tainted? == true
102
          arg.tainted? == false
103
filename: test?1.txt
104
Old load, arg.tainted? == false
105

    
106
$SAFE = 1
107
ARGV[0] = b
108

    
109
fname w/o untaint 
110
New load, arg.tainted? == true
111
          arg.tainted? == false
112
filename: test 1.txt
113
Old load, arg.tainted? == false
114

    
115
fname with untaint 
116
New load, arg.tainted? == false
117
          arg.tainted? == false
118
filename: test 1.txt
119
Old load, arg.tainted? == false
120

    
121
fname w/o untaint 
122
New load, arg.tainted? == true
123
          arg.tainted? == false
124
filename: test1.txt
125
Old load, arg.tainted? == false
126

    
127
fname with untaint 
128
New load, arg.tainted? == false
129
          arg.tainted? == false
130
filename: test1.txt
131
Old load, arg.tainted? == false
132

    
133
fname w/o untaint 
134
New load, arg.tainted? == true
135
          arg.tainted? == false
136
filename: test12.txt
137
Old load, arg.tainted? == false
138

    
139
fname with untaint 
140
New load, arg.tainted? == false
141
          arg.tainted? == false
142
filename: test12.txt
143
Old load, arg.tainted? == false
144

    
145
fname w/o untaint 
146
New load, arg.tainted? == true
147
          arg.tainted? == false
148
filename: test123.txt
149
Old load, arg.tainted? == false
150

    
151
fname with untaint 
152
New load, arg.tainted? == false
153
          arg.tainted? == false
154
filename: test123.txt
155
Old load, arg.tainted? == false
156

    
157
fname w/o untaint 
158
New load, arg.tainted? == true
159
          arg.tainted? == false
160
filename: test1234.txt
161
Old load, arg.tainted? == false
162
exception: Insecure operation - stat, filename: test1234.txt
163

    
164
fname with untaint 
165
New load, arg.tainted? == false
166
          arg.tainted? == false
167
filename: test1234.txt
168
Old load, arg.tainted? == false
169
exception: Insecure operation - stat, filename: test1234.txt
170

    
171
fname w/o untaint 
172
New load, arg.tainted? == true
173
          arg.tainted? == false
174
filename: test12345.txt
175
Old load, arg.tainted? == false
176
exception: Insecure operation - stat, filename: test12345.txt
177

    
178
fname with untaint 
179
New load, arg.tainted? == false
180
          arg.tainted? == false
181
filename: test12345.txt
182
Old load, arg.tainted? == false
183
exception: Insecure operation - stat, filename: test12345.txt
184

    
185
fname w/o untaint 
186
New load, arg.tainted? == true
187
          arg.tainted? == false
188
filename: test_1.txt
189
Old load, arg.tainted? == false
190

    
191
fname with untaint 
192
New load, arg.tainted? == false
193
          arg.tainted? == false
194
filename: test_1.txt
195
Old load, arg.tainted? == false
196

    
197
fname w/o untaint 
198
New load, arg.tainted? == true
199
          arg.tainted? == false
200
filename: test?1.txt
201
Old load, arg.tainted? == false
202

    
203
fname with untaint 
204
New load, arg.tainted? == false
205
          arg.tainted? == false
206
filename: test?1.txt
207
Old load, arg.tainted? == false
208