Commit 20f6c67 ("Introduce member initialization") has
@@ -1118,16 +1103,6 @@ void QAxServerBase::init() (...) - exception = 0;
but does not add an initializer. From the rest of the code, it is never initialized before being used, as far as I can see.
Background and notes:
- I ran into a crash with a self-compiled QAxServer.lib from tag v5.14.0. Adding the "= nullptr" initializer fixes it for me.
The issue should affect all versions into which the mentioned commit flows (as far as I can see, the issue is still there in branch dev as I'm writing this, which is at commit 0ad6a783) – if I'm reading git log --oneline right, these are the following tags: v5.12.5, v5.13.1, v5.13.2, v5.14.0, v5.14.0-alpha1, v5.14.0-beta1, v5.14.0-beta2, v5.14.0-beta3, v5.14.0-rc1, v5.14.0-rc2.
EDIT: Striked through statement based on a thinko.
|For Gerrit Dashboard: QTBUG-81367|
|286602,3||QAxServerBase: Initialize member "exception"||5.14||qt/qtactiveqt||Status: MERGED||+2||0|