Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4adbc34

Browse files
committed
Issue #5943: Fix lchflags crash.
1 parent 25e218e commit 4adbc34

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/posixmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1981,7 +1981,7 @@ posix_lchflags(PyObject *self, PyObject *args)
19811981
unsigned long flags;
19821982
int res;
19831983
if (!PyArg_ParseTuple(args, "O&k:lchflags",
1984-
PyUnicode_FSConverter, &path, &flags))
1984+
PyUnicode_FSConverter, &opath, &flags))
19851985
return NULL;
19861986
path = bytes2str(opath, 1);
19871987
Py_BEGIN_ALLOW_THREADS

0 commit comments

Comments
 (0)