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
425        :type path: str
426
427        """
428        with open(path, "wb") as file_:429            pickle.dump(self, file_, protocol=pickle.HIGHEST_PROTOCOL)
External variable 'path' used in file path
 65    :rtype: :py:class:`~.SimDir`
 66
 67    """
 68    with open(path, "rb") as file_: 69        sim = pickle.load(file_)
 70
 71    if not isinstance(sim, SimDir):