GNOME Bugzilla – Bug 701599
compositor: Add missing NULL check
Last modified: 2014-04-26 08:04:27 UTC
See patch (and https://bugzilla.redhat.com/show_bug.cgi?id=970152 for a downstream report)
Created attachment 246008 [details] [review] compositor: Add missing NULL check Both cogl_texture_new_from_data() and meta_texture_rectangle_new() may return NULL on failure, leading to a crash if we try to dereference it later on.
Review of attachment 246008 [details] [review]: What's the failure you're seeing? It's quite serious, and we'd just get garbage displayed to the screen, so I think crashing is a better option.
(In reply to comment #2) > What's the failure you're seeing If I was seeing this myself, I wouldn't file a fedora bug about it :-)
*** This bug has been marked as a duplicate of bug 722266 ***