Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 2.5.0-beta, Qt Creator 3.3.0-rc1
-
None
-
4b0992568f01ce09cbfb5464072f30f40c114abf
Description
Look at lines 499ff in src/libs/qmljs/qmljstypedescriptionreader.cpp:
if (!ast || !ast->statement) { addError(ast->colonToken, tr("Expected numeric literal after colon.")); return invalidVersion; }
I expect a crash there if ast is NULL.
Please double-check this and fix it if needed.
Found by Clang Static Analyzer.