Summary: | kscreenlock_greet insecure with multiple X screens | ||
---|---|---|---|
Product: | [Unmaintained] kscreensaver | Reporter: | TJ <kde> |
Component: | locker-qml | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | major | CC: | mgraesslin, trebor_x |
Priority: | NOR | ||
Version: | 4.11.4 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
URL: | https://bugs.launchpad.net/ubuntu/+source/kde-workspace/+bug/1264821 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Render background and greeter on correct X screen |
Description
TJ
2013-12-29 17:30:58 UTC
Created attachment 84383 [details]
Render background and greeter on correct X screen
This patch is for version up to 4.11.4.
The re-factoring for Plasma 2 needs a little more research since it replaces QDeclarativeView with a QQuickView, but the same solution (passing QApplication->display()->screen(i)v) looks to be doable if the QWidget is exchangeable for the QWindow in the QQuickView constructor.
are you really using multiple X screens like :0.0 and :0.1? Don't forget :0.2! ok, so it is multi-head. This is a very uncommon setup and I doubt any developer is able to test and verify the patch. From a quick look at the patch looks wrong to me, because you use "i" as an index in QDesktopWindow::screen(). This looks crashy to me and potentially wrong. In fact in your case I expect that it's always just 0. There should be three processes with one screen each. While on a more regular setup there is just one process with three screens attached. *** This bug has been marked as a duplicate of bug 314073 *** |