summaryrefslogtreecommitdiffstats
path: root/Modules/sha2module.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2023-06-23 16:53:27 (GMT)
committerGitHub <noreply@github.com>2023-06-23 16:53:27 (GMT)
commitc8c162ef5294cddb7ac75fe93ab918e5661c68ee (patch)
tree8181d2f2619c30996b4f24da7324d9e9c8dd15bc /Modules/sha2module.c
parent9499b0f138cc53b9a2590350d0b545d2f69ee126 (diff)
downloadcpython-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 'Modules/sha2module.c')
0 files changed, 0 insertions, 0 deletions