Commit cde88dcf authored by Benjamin Peterson's avatar Benjamin Peterson

merge 3.3 (#17968)

parents e1970b81 dedac527
...@@ -10121,6 +10121,7 @@ posix_listxattr(PyObject *self, PyObject *args, PyObject *kwargs) ...@@ -10121,6 +10121,7 @@ posix_listxattr(PyObject *self, PyObject *args, PyObject *kwargs)
if (length < 0) { if (length < 0) {
if (errno == ERANGE) { if (errno == ERANGE) {
PyMem_FREE(buffer); PyMem_FREE(buffer);
buffer = NULL;
continue; continue;
} }
path_error(&path); path_error(&path);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment