diff options
| author | Martin v. Löwis <martin@v.loewis.de> | 2009-05-05 17:17:55 +0000 |
|---|---|---|
| committer | Martin v. Löwis <martin@v.loewis.de> | 2009-05-05 17:17:55 +0000 |
| commit | 4adbc34aaf29cef494ab8a92acfa63546f5d2a19 (patch) | |
| tree | aa1aaad891bd5703b08a525ab955ff25b449c6db | |
| parent | 25e218e381195b3682985ce30f197d933e076058 (diff) | |
| download | cpython-git-4adbc34aaf29cef494ab8a92acfa63546f5d2a19.tar.gz | |
Issue #5943: Fix lchflags crash.
| -rw-r--r-- | Modules/posixmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 87ab2fa769..2050d5a1a7 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -1981,7 +1981,7 @@ posix_lchflags(PyObject *self, PyObject *args) unsigned long flags; int res; if (!PyArg_ParseTuple(args, "O&k:lchflags", - PyUnicode_FSConverter, &path, &flags)) + PyUnicode_FSConverter, &opath, &flags)) return NULL; path = bytes2str(opath, 1); Py_BEGIN_ALLOW_THREADS |
