diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-05-15 14:09:18 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-05-15 17:16:02 +0200 |
commit | 8424501c6cf9c9106374e393c99f076c5b121d42 (patch) | |
tree | cfd078d472ec14c6e7234d20bbe21d2b3e969990 /tools/qtpy2cpp.pyproject | |
parent | 9aabb3a509594f59306a96679938f2f43a9830e6 (diff) |
libshiboken: Improve error handling when basic type creation fails
Crashes have been observed on Fedora40 using Python 3.12.3.2
due to nullptr being passed to PyType_Ready().
Check for nullptr as well and try to retrieve the Python exception.
Pick-to: 6.7
Task-number: PYSIDE-2747
Change-Id: Idb9565fa4bc1da78fcbbd5aeeec7cbe9758b1709
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
Diffstat (limited to 'tools/qtpy2cpp.pyproject')
0 files changed, 0 insertions, 0 deletions