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

Skip to content

gh-111178: fix UBSan failures in Modules/posixmodule.c #129788

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 8 commits into from
Feb 24, 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
use better semantic namgin
  • Loading branch information
picnixz committed Feb 22, 2025
commit fe5a983e9ef0d6077889d7732fdabb706693a905
4 changes: 2 additions & 2 deletions Modules/posixmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -16334,15 +16334,15 @@ ScandirIterator_iternext(PyObject *op)
#endif

static PyObject *
ScandirIterator_close(PyObject *op, PyObject *Py_UNUSED(ignored))
ScandirIterator_close(PyObject *op, PyObject *Py_UNUSED(dummy))
{
ScandirIterator *self = ScandirIterator_CAST(op);
ScandirIterator_closedir(self);
Py_RETURN_NONE;
}

static PyObject *
ScandirIterator_enter(PyObject *self, PyObject *Py_UNUSED(ignored))
ScandirIterator_enter(PyObject *self, PyObject *Py_UNUSED(dummy))
{
return Py_NewRef(self);
}
Expand Down
0