https://bugs.kde.org/show_bug.cgi?id=372945

            Bug ID: 372945
           Summary: kscreen-console monitor crashes when the primary
                    display changes
           Product: KScreen
           Version: 5.8.4
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: common
          Assignee: se...@kde.org
          Reporter: jan_br...@gmx.net
  Target Milestone: ---

Created attachment 102444
  --> https://bugs.kde.org/attachment.cgi?id=102444&action=edit
Fix the nullptr-access with by guarding the access to the OutputPtr with an if.

In console.cpp, line 74 the OutputPtr is used unconditionally, but in my case,
a new primary output comes with two calls to primaryOutputChanged, one with an
empty OutputPtr and one with the new primary output.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to