# Bug report ### Bug description: There is a theoretical crash path in the new zstd module that can be avoided with Py_XSETREF. PR incoming. ### CPython versions tested on: CPython main branch ### Operating systems tested on: _No response_ <!-- gh-linked-prs --> ### Linked PRs * gh-134886 * gh-134922 <!-- /gh-linked-prs -->