gh-97728: Argument Clinic: Fix uninitialized variable in the Py_UNICO… · python/cpython@0ee9619 · GitHub
Skip to content

Commit 0ee9619

Browse files
gh-97728: Argument Clinic: Fix uninitialized variable in the Py_UNICODE converter (GH-97729)
It affects function os.system() on Windows and Windows-specific modules winreg, _winapi, _overlapped, and _msi.
1 parent e738b51 commit 0ee9619

8 files changed

Lines changed: 46 additions & 42 deletions

File tree

Lib/test/clinic.test

Lines changed: 6 additions & 6 deletions
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Fix possible crashes caused by the use of uninitialized variables when pass
2+
invalid arguments in :func:`os.system` on Windows and in Windows-specific
3+
modules (like ``winreg``).

Modules/clinic/_winapi.c.h

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Modules/clinic/overlapped.c.h

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Modules/clinic/posixmodule.c.h

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

PC/clinic/_msi.c.h

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

PC/clinic/winreg.c.h

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Tools/clinic/clinic.py

Lines changed: 1 addition & 0 deletions

0 commit comments

Comments
 (0)