Skip to content

rthook utils: add missing argtypes annotations for ctypes-bound functions - #7894

Merged
rokm merged 2 commits into
pyinstaller:v5from
rokm:fix-win32-secure-mkdir-v5
Aug 28, 2023
Merged

rokm merged 2 commits into
pyinstaller:v5from
rokm:fix-win32-secure-mkdir-v5

Conversation

@rokm

@rokm rokm commented Aug 28, 2023

Copy link
Copy Markdown
Member

Add missing argument type annotations for ctypes-bound functions used in _pyi_rth_utils/_win32.py.

Most notably, the missing argtypes for CreateDirectoryW is causing OSError: exception: access violation reading 0x00000010 under 32-bit python.

Fixes #7893.

…ions

Add missing argument type annotations for ctypes-bound functions
used in _pyi_rth_utils/_win32.py.

Most notably, the missing  argtypes for `CreateDirectoryW` is
causing  `OSError: exception: access violation reading 0x00000010`
under 32-bit python.
@rokm rokm linked an issue Aug 28, 2023 that may be closed by this pull request
The new `_pyi_rth_hook_utils` run-time package must be licensed
under permissive license that matches the license of the run-time
hooks using it.
@rokm
rokm merged commit 38296bd into pyinstaller:v5 Aug 28, 2023
@rokm
rokm deleted the fix-win32-secure-mkdir-v5 branch August 28, 2023 14:48
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Oct 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OSError: exception: access violation reading 0x00000010

2 participants