Skip to content
Commit 75599331 authored by David Edmundson's avatar David Edmundson
Browse files

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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment