mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Thanks to Coverity, these were all reported by their Prevent tool.
All of these (except _lsprof.c) should be backported. Particularly the hotshot change which validates sys.path. Can someone backport?
This commit is contained in:
parent
e22373d690
commit
60da31660c
6 changed files with 25 additions and 2 deletions
|
@ -2983,7 +2983,7 @@ match_groupdict(MatchObject* self, PyObject* args, PyObject* kw)
|
|||
return result;
|
||||
|
||||
failed:
|
||||
Py_DECREF(keys);
|
||||
Py_XDECREF(keys);
|
||||
Py_DECREF(result);
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue