After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 754888 - glx: fix crash when inspecting onscreens
glx: fix crash when inspecting onscreens
Status: RESOLVED FIXED
Product: cogl
Classification: Platform
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: Cogl maintainer(s)
Cogl maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2015-09-11 15:34 UTC by Lionel Landwerlin
Modified: 2015-09-11 15:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
winsys: glx: fix crash when inspecting onscreens (990 bytes, patch)
2015-09-11 15:34 UTC, Lionel Landwerlin
committed Details | Review

Description Lionel Landwerlin 2015-09-11 15:34:37 UTC
A tiny NULL pointer check missing :)
Comment 1 Lionel Landwerlin 2015-09-11 15:34:42 UTC
Created attachment 311159 [details] [review]
winsys: glx: fix crash when inspecting onscreens

An unallocated onscreen might have a NULL winsys field.
Comment 2 Emmanuele Bassi (:ebassi) 2015-09-11 15:35:46 UTC
Review of attachment 311159 [details] [review]:

Nice catch.
Comment 3 Lionel Landwerlin 2015-09-11 15:45:32 UTC
Review of attachment 311159 [details] [review]:

Thanks for the quick review, push to 1.22 branch.