Sbozzolo / kuibit

Audit required: External control of file name or path PTC-W6004
Security
Minor
2 occurrences in this check
External variable 'path' used in file path
467        :type path: str
468
469        """
470        with open(path, "wb") as file_:471            pickle.dump(self, file_, protocol=pickle.HIGHEST_PROTOCOL)
External variable 'path' used in file path
 66    :rtype: :py:class:`~.SimDir`
 67
 68    """
 69    with open(path, "rb") as file_: 70        sim = pickle.load(file_)
 71
 72    if not isinstance(sim, SimDir):