Skip to content

Commit ed81f11

Browse files
committed
Added comment for future changes and disabled debugging print statement
1 parent 9125d5a commit ed81f11

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

backends/model_converter/fake_torch.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ class Dummy:
3030

3131
class MyPickle(pickle.Unpickler):
3232
def find_class(self, module, name):
33-
print(module, name)
33+
#making the following available will expose a vulnerability from 2011:
34+
#globals, getattr, dict, apply
35+
36+
#print(module, name)
3437
if name == 'FloatStorage':
3538
return np.float32
3639
if name == 'IntStorage':

0 commit comments

Comments
 (0)