Patch: fix weston crash

Andrew Engelbrecht sudoman at ninthfloor.org
Tue Dec 2 09:18:44 PST 2014


To produce the bug, build and run: (you don't need the game data to test)

https://github.com/clintbellanger/flare-engine/

$ mv ~/.config/flare ~/.config/flare.bak
$ ./flare  # click 'configure', set full screen mode then click 'ok'
           # weston will crash and dump core.


I've attached a patch which fixes the crashing. I mimicked the code in
the block above it without knowing the overall impact, so it needs
review from a knowledgeable contributor.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-weston.patch
Type: text/x-patch
Size: 566 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20141202/32d63bd8/attachment.bin>


More information about the wayland-devel mailing list