summaryrefslogtreecommitdiffstats
path: root/LICENSE.GPL3-EXCEPT
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2017-06-12 11:01:29 +0200
committerGatis Paeglis <gatis.paeglis@qt.io>2017-06-28 09:06:05 +0000
commit634f28fa1fd2678d5b73b80367dc18acc929187e (patch)
tree306e25b19b09b355099e1e00d4c38bf144198daf /LICENSE.GPL3-EXCEPT
parent3ffcfc357dbc51bf62ffb77eca9c99c6bf04e0f2 (diff)
Fix sporadic crash in QXcbScreen::getOutputProperty()
Although [0] claims "This request does never generate any errors", it seems I sometimes get back a NULL pointer from xcb_randr_get_output_property_reply(), leading to a segfault (in the qdatetimeedit auto-test). So check reply isn't NULL before dereferencing it. [0] https://www.systutorials.com/docs/linux/man/3-xcb_randr_get_output_property_reply/ Change-Id: Iadae835bb3017bf9bb40f180b75b0c391384f99b Reviewed-by: Gatis Paeglis <gatis.paeglis@qt.io>
Diffstat (limited to 'LICENSE.GPL3-EXCEPT')
0 files changed, 0 insertions, 0 deletions