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

Skip to content

gh-111178: fix UBSan failures in Modules/_struct.c #129793

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 10 commits into from
Feb 23, 2025
Prev Previous commit
Next Next commit
suppress unused return values
  • Loading branch information
picnixz committed Jan 25, 2025
commit 56130791b2a4b19165d4e6d431409a71c3bb8e3f
2 changes: 1 addition & 1 deletion Modules/_struct.c
Original file line number Diff line number Diff line change
Expand Up @@ -2759,7 +2759,7 @@ _structmodule_clear(PyObject *module)
static void
_structmodule_free(void *module)
{
_structmodule_clear((PyObject *)module);
(void)_structmodule_clear((PyObject *)module);
}

static int
Expand Down
0