Summary: | default construction SyntaxHighlighter() crashes | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-syntax-highlighting | Reporter: | Jos van den Oever <jos> |
Component: | framework | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | vkrause |
Priority: | NOR | ||
Version: | 5.55.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | All | ||
URL: | https://codereview.qt-project.org/#/c/254448/ | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Jos van den Oever
2019-02-25 22:19:31 UTC
No there is not. This should be fixed upstream. Relevant code upstream: https://code.woboq.org/qt5/qtbase/src/gui/text/qsyntaxhighlighter.cpp.html#300 Sounds like the default to nullptr is wrong in our code then? Should be ok to remove as that only affects SC of code that will crash immediately anyway. Proposed upstream patch for Qt 5.12: https://codereview.qt-project.org/#/c/254448/ Upstream patch and removing the '= nullptr' is enough to close this bug imo. Removing the = nullptr is not required. nullptr will be ok with the next Qt 5.12.x upgrade. Closing as fixed, see: https://codereview.qt-project.org/#/c/254448/ |