diff options
author | Sven Gothel <[email protected]> | 2015-08-05 13:44:11 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2015-08-05 13:44:11 +0200 |
commit | 4ff4f735c421ef343a8c447fa699c01444bd5e9b (patch) | |
tree | 12431a179c345b0b89dc65e57a8e78ac4e2b1fc5 /.gitignore | |
parent | da1a4cc5bc4a7fda0605709b61a63564b9070378 (diff) |
Bug 1183: Handle NULL return values for native RandR13 calls, which suppose to return 'int[]'
Certain native RandR13 functions shall return 'int[]',
but will bail out early in case of an error or lack of resources.
The latter is true for getMonitorDeviceIds(..)
where 'XRRScreenResources->ncrtc <= 0', causing return value NULL.
This patch handles the NULL return values,
however, the root cause of having 'XRRScreenResources->ncrtc <= 0'
_occasionally_ lies within the Raspi X11 driver I am afraid?!
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions