mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
merge 3.3 (#17968)
This commit is contained in:
commit
cde88dcf10
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue