gh-135561: ensure that the GIL is held when handling an HACL* error in _hmac#135562
gh-135561: ensure that the GIL is held when handling an HACL* error in _hmac#135562picnixz merged 4 commits intopython:mainfrom
_hmac#135562Conversation
|
I'm leaving in 15 mins, but I hope we can make it for the next beta release (tomorrow). This bug is not really an issue as it should never happen in practice (if it happens, then there is something fundamentally wrong) |
|
!buildbot FIPS only |
|
🤖 New build scheduled with the buildbot fleet by @picnixz for commit aea6888 🤖 Results will be shown at: https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F135562%2Fmerge The command will test the builders whose names match following regular expression: The builders matched are:
|
vstinner
left a comment
There was a problem hiding this comment.
LGTM.
@ZeroIntensity: Are you ok with this fix?
ZeroIntensity
left a comment
There was a problem hiding this comment.
Yeah, this looks good to me.
Co-authored-by: Victor Stinner <vstinner@python.org>
|
Thanks @picnixz for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14. |
…rror in `_hmac` (pythonGH-135562) (cherry picked from commit c765683) Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
|
GH-135725 is a backport of this pull request to the 3.14 branch. |
It's a bug that I discovered in #135267 but I'll first patch 3.14 and main.
cc @ZeroIntensity
_hmac: GIL may be released while attempting to set an exception #135561