Fix potential crash in KCmFontInst on invalid index
Summary: If !index.isValid() grp remains null and any use of it will crash. There is a check for that, but then there's code relying on grp being valid both before and after that check. Test Plan: Compiles Reviewers: #plasma, mart Reviewed By: mart Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D4394
parent
8041c7d6
Please register or sign in to comment