diff options
author | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2017-09-19 14:36:21 +0200 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2017-09-20 07:38:04 +0000 |
commit | 76006a1353f1282a940bf80a523b93ead7beae93 (patch) | |
tree | 1dd61134c864ec691800f4fc338a45ccdeace348 /src/plugins/updateinfo | |
parent | 0bf27af0a718887248229b9693de16f150a38bf3 (diff) | |
download | qt-creator-76006a1353f1282a940bf80a523b93ead7beae93.tar.gz |
C++: Fix crash with invalid raw string literal
While parsing a document Bind::asStringLiteral() Token::spell() was
called for a raw string literal token with a Token::literal nullptr.
This is due scanRawStringLiteral() not properly aborting for
invalid/incomplete code and that the code paths handling
multi-line-raw-strings were not limited to the highlighting case.
Address both cases.
Task-number: QTCREATORBUG-18941
Change-Id: I489d288ccbd7b59be396dada846613ff555436cf
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/updateinfo')
0 files changed, 0 insertions, 0 deletions