Ensure that cryptographic objects are GC-untracked first
Aperta
@picnixz ci sta già lavorando.
Dal 15/8/2026.
extension-modules
type-bug
- Lingua principale
- Python
- Stelle
- 77.2k
- Fork
- 36k
- Metriche di merge delle PR
- Metriche PR in attesa
Descrizione
Bug report
Bug description:
MD5 and SHA* objects free their HACL* state before they are GC-untracked. In addition, I believe that MD5 and SHA* objects do NOT need to actually be GC-tracked because they do not contain anything other than a plain HACL* state pointer which is not a Python object (but that's a separate issue).
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Linked PRs
- gh-155834
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.