Go to file
Jasper St. Pierre becce7afa0 stack: Fix a crasher from a buffer overrun
The code that restacks X11 windows at the end first tracks any
old windows we know about, and then handles any windows created.

It starts when it ended, and then walks forwards and then
back looking for the first X11 window it doesn't know about.
However, when there aren't any X11 windows, it flies off the end
of the array and starts looking through random memory.

When it finds the X11 window, it then goes through and then tries
to restack the remaining windows according to how we've sorted
them.

Unfortunately, META_WINDOW_CLIENT_TYPE_X11 is 0, which is quite
common in random memory we have lying around, so we enter that
path and then just crash.

Fix the buffer overrun by adding the proper bounds check to the
search.

You can easily reproduce this by opening a menu while bloatpad
is full-screen. Why it only crashes when full-screen and not
when a standard window, I have no idea.
2014-04-12 08:15:58 -07:00
data Revert "wayland: make parallel installable with regular mutter" 2014-04-09 15:14:11 -07:00
doc Revert "wayland: make parallel installable with regular mutter" 2014-04-09 15:14:11 -07:00
po Updated Galician translations 2014-04-10 13:27:53 +02:00
src stack: Fix a crasher from a buffer overrun 2014-04-12 08:15:58 -07:00
test Clean up the source tree 2014-03-18 20:37:35 -04:00
tools Clean up the source tree 2014-03-18 20:37:35 -04:00
.cvsignore moap ignore 2006-06-29 20:54:39 +00:00
.gitignore Revert "wayland: make parallel installable with regular mutter" 2014-04-09 15:14:11 -07:00
autogen.sh Revert "hack autogen to allow automake 1.13" 2014-03-14 01:08:46 -04:00
configure.ac Revert "wayland: make parallel installable with regular mutter" 2014-04-09 15:14:11 -07:00
COPYING Updated obsolete FSF postal address in COPYING 2014-01-13 11:35:48 -05:00
Makefile.am build: Create m4 directory 2014-04-09 12:28:45 -07:00
mutter.doap Revert "wayland: make parallel installable with regular mutter" 2014-04-09 15:14:11 -07:00
NEWS Bump version to 3.12.0 2014-03-25 16:33:00 +01:00