Summary: | ConfigViewPrivate::init() calls Corona::package() with this==NULL | ||
---|---|---|---|
Product: | [Frameworks and Libraries] libplasma | Reporter: | RJVB <rjvbertin> |
Component: | libplasmaquick | Assignee: | Marco Martin <notmart> |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/plasma-framework/1b2c1caf392dba833684f6156bbe0ad357e060e0 | Version Fixed In: |
Description
RJVB
2016-02-05 14:26:45 UTC
It seems that PlasmaQuick::ConfigViewPrivate::init() is simply assuming that it always obtains a valid corona pointer, never corona == NULL which means that the test for corona->package().isValid() (line 119) can be devoid of meaning. Git commit 1b2c1caf392dba833684f6156bbe0ad357e060e0 by Marco Martin. Committed on 08/02/2016 at 10:59. Pushed by mart into branch 'master'. don't assume we find a corona Change-Id: Idfb18a02f6e1ae35b0b1722c24a784345438003d M +4 -0 src/plasmaquick/configview.cpp http://commits.kde.org/plasma-framework/1b2c1caf392dba833684f6156bbe0ad357e060e0 |