aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/ApiExtractor/tests/testreferencetopointer.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2024-05-15 14:09:18 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2024-05-15 17:16:02 +0200
commit8424501c6cf9c9106374e393c99f076c5b121d42 (patch)
treecfd078d472ec14c6e7234d20bbe21d2b3e969990 /sources/shiboken2/ApiExtractor/tests/testreferencetopointer.h
parent9aabb3a509594f59306a96679938f2f43a9830e6 (diff)
libshiboken: Improve error handling when basic type creation failsHEADdev
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 'sources/shiboken2/ApiExtractor/tests/testreferencetopointer.h')
0 files changed, 0 insertions, 0 deletions