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

Fabian Vogt <fab...@ritter-vogt.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://commits.kde.org/kwi
                   |                            |n/7804eb41d9548c36254097f23
                   |                            |5324a3c57c6514f

--- Comment #6 from Fabian Vogt <fab...@ritter-vogt.de> ---
Git commit 7804eb41d9548c36254097f235324a3c57c6514f by Fabian Vogt.
Committed on 08/05/2019 at 17:15.
Pushed by fvogt into branch 'master'.

Fix crash due to dangling reference

Summary:
Returning a reference to a value on the stack is broken.
This caused kwin_wayland to crash in openQA with a nullptr deref.

Test Plan: Only build tested.

Reviewers: #kwin, zzag

Reviewed By: #kwin, zzag

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D21085

M  +2    -2    plugins/platforms/drm/drm_output.cpp
M  +1    -1    plugins/platforms/drm/drm_output.h

https://commits.kde.org/kwin/7804eb41d9548c36254097f235324a3c57c6514f

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

Reply via email to