[issue35755] Remove current directory from posixpath.defpath to enhance security

STINNER Victor report at bugs.python.org
Wed Apr 17 05:44:56 EDT 2019


STINNER Victor <vstinner at redhat.com> added the comment:

find_executable() first looks if the program exists in the current directory. My PR doesn't change that. I have no opinion if it's a good thing or not, but I don't want to change that in this PR. If someone wants to change it, please open a separated issue on bugs.python.org since it will be backward incompatible change not directly related to this issue.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35755>
_______________________________________


More information about the Python-bugs-list mailing list