twm: Changes to 'master'
Egbert Eich
eich at kemper.freedesktop.org
Thu Jan 10 08:06:17 PST 2013
src/add_window.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
New commits:
commit 07ed63f865f6fef4c14711063534b73eb33e0cdb
Author: Egbert Eich <eich at freedesktop.org>
Date: Thu May 19 11:08:21 2011 +0200
Fix SEGV if CreateColormapWindow() returns NULL.
twm can segfault when it cannot collect attribute information on
a window that has been destroyed before it got a chance to collect
it's attributes.
twm seems to assume that it is always able to collect this information
and disregards the error if the function that attempts to collect it
fails and CreateColormapWindow() returns NULL.
If this happens correct number_cmap_windows to prevent a SEGV later
on due to an incorrect setting.
Signed-off-by: Egbert Eich <eich at freedesktop.org>
More information about the xorg-commit
mailing list