[Kde-hardware-devel] Review Request 108030: Fix libkscreen when running with old RandR (1.1)
Àlex Fiestas
afiestas at kde.org
Sat Feb 9 17:59:01 UTC 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/108030/#review27091
-----------------------------------------------------------
Added a bug so we can track "RandR" support.
https://bugs.kde.org/show_bug.cgi?id=314781
Going to close the review.
- Àlex Fiestas
On Dec. 30, 2012, 5:03 p.m., Lukáš Karas wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/108030/
> -----------------------------------------------------------
>
> (Updated Dec. 30, 2012, 5:03 p.m.)
>
>
> Review request for Solid, Àlex Fiestas and Dan Vrátil.
>
>
> Description
> -------
>
> If you are using libkscreen with old RandR (1.1) method XRandR::screenResources() returns NULL. It is needed check this result and prevent dereference NULL pointer.
>
> For example if you running KDED in VNC server with RandR 1.1, you get something like this:
>
> RandR version 1.1 too old
> ...
> X Error: BadRequest (invalid request code or no such operation) 1
> Extension: 149 (RANDR)
> Minor opcode: 6 (RRGetScreenSizeRange)
> Resource id: 0x2e
>
> and emtpy list of outputs...
>
>
> Diffs
> -----
>
> backends/xrandr/xrandr.cpp 468c8dd
> backends/xrandr/xrandrconfig.cpp 91467d7
>
> Diff: http://git.reviewboard.kde.org/r/108030/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Lukáš Karas
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-hardware-devel/attachments/20130209/d1fa1a09/attachment-0001.html>
More information about the Kde-hardware-devel
mailing list