Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Rings:2-TestDVD
libkscreen
0001-Fix-crash-in-XRandr1.1-backend.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Fix-crash-in-XRandr1.1-backend.patch of Package libkscreen
From 257aae50cffbcedf488245c289b30c334c2d5cc0 Mon Sep 17 00:00:00 2001 From: Albert Astals Cid <aacid@kde.org> Date: Sat, 20 Dec 2014 00:23:53 +0100 Subject: [PATCH 1/4] Fix crash in XRandr1.1 backend REVIEW: 121605 BUGS: 341485 --- backends/xrandr1.1/xrandr11.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backends/xrandr1.1/xrandr11.cpp b/backends/xrandr1.1/xrandr11.cpp index 3136957d51075accde25d7d349f3145f2d22bc2d..c0380a6ab0269cf91582830ed7e6cfa6b4bf396d 100644 --- a/backends/xrandr1.1/xrandr11.cpp +++ b/backends/xrandr1.1/xrandr11.cpp @@ -90,6 +90,10 @@ KScreen::Config* XRandR11::config() const ScreenInfo info(xcbScreen->root); ScreenSize size(xcbScreen->root); + if (info.isNull() || size.isNull()) { + return 0; + } + if (info->config_timestamp == m_currentTimestamp) { return m_currentConfig; } -- 2.6.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor