8000 gh-111178: fix UBSan failures in `Modules/_lzmamodule.c` by picnixz · Pull Request #129783 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-111178: fix UBSan 8000 failures in Modules/_lzmamodule.c #129783

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Feb 18, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
suppress unused return values
  • Loading branch information
picnixz committed Jan 25, 2025
commit f9fc53d67870dbb0369be8b913dfe0c5aa26d7a7
2 changes: 1 addition & 1 deletion Modules/_lzmamodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -1638,7 +1638,7 @@ lzma_clear(PyObject *module)
static void
lzma_free(void *module)
{
lzma_clear((PyObject *)module);
(void)lzma_clear((PyObject *)module);
}

static PyModuleDef _lzmamodule = {
Expand Down
0