diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2023-06-23 16:53:27 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-23 16:53:27 (GMT) |
| commit | c8c162ef5294cddb7ac75fe93ab918e5661c68ee (patch) | |
| tree | 8181d2f2619c30996b4f24da7324d9e9c8dd15bc /Python/hashtable.c | |
| parent | 9499b0f138cc53b9a2590350d0b545d2f69ee126 (diff) | |
| download | cpython-c8c162ef5294cddb7ac75fe93ab918e5661c68ee.zip cpython-c8c162ef5294cddb7ac75fe93ab918e5661c68ee.tar.gz cpython-c8c162ef5294cddb7ac75fe93ab918e5661c68ee.tar.bz2 | |
gh-106030: Miscellaneous fixes in Python/suggestions.c (GH-106031)
* PyDict_GetItem() and PyObject_HasAttr() suppress arbitrary errors and
should not be used.
* PyUnicode_CompareWithASCIIString() only works if the second argument
is ASCII string.
* Refleak in get_suggestions_for_name_error.
* Use of borrowed pointer after possible freeing (self).
* Add some missing error checks.
Diffstat (limited to 'Python/hashtable.c')
0 files changed, 0 insertions, 0 deletions
