gootsaud / bike-riding

Audit required: Use of marshal module BAN-B302
Security
Major
2 years ago2 years old
Deserialization with the marshal module is possibly dangerous.
 74            return
 75        # if marshal_load fails then we need to reload
 76        try:
 77            self.code = marshal.load(f) 78        except (EOFError, ValueError, TypeError):
 79            self.reset()
 80            return