D18982: prevent assertion in regex load
David Schulz
noreply at phabricator.kde.org
Wed Feb 13 14:02:14 GMT 2019
davschul created this revision.
davschul added a reviewer: vkrause.
Herald added projects: Kate, Frameworks.
Herald added subscribers: kde-frameworks-devel, kwrite-devel.
davschul requested review of this revision.
REVISION SUMMARY
Instead of crashing the complete application with an assert on a malformed
regex use the logging category to inform users when such a regex is found.
This way the check can also be enabled for release builds, and don't have to
run unnecessarily for debug builds
REPOSITORY
R216 Syntax Highlighting
REVISION DETAIL
https://phabricator.kde.org/D18982
AFFECTED FILES
src/lib/rule.cpp
To: davschul, vkrause
Cc: kwrite-devel, kde-frameworks-devel, gennad, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20190213/f7adb4e9/attachment.html>
More information about the KWrite-Devel
mailing list