aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/libpyside/pysideqenum.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2022-06-09 16:50:41 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2022-06-10 13:14:31 +0200
commit52df3b8f64d08f412d7f8b12d82fc0ae6f3c741d (patch)
tree1dfad8629df87a9d5655051807dbb735020fe525 /sources/pyside6/libpyside/pysideqenum.cpp
parent03928069a6781a1849245e6219f9caa64093068e (diff)
libshiboken: Fix a crash in Shiboken::Object::isValid() for Python 3.11
The function is passed type objects for class methods, which caused it to crash. The first clause did not catch this, and so it was cast to SbkObject below. Add a type check to prevent this. Pick-to: 6.3 6.2 5.15 Task-number: PYSIDE-1960 Change-Id: Icfdd6fefb7156ac5961444bd5395109849a1d66e Reviewed-by: Christian Tismer <tismer@stackless.com> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'sources/pyside6/libpyside/pysideqenum.cpp')
0 files changed, 0 insertions, 0 deletions