diff options
author | Egbert Eich <eich@freedesktop.org> | 2011-05-19 11:08:21 +0200 |
---|---|---|
committer | Egbert Eich <eich@freedesktop.org> | 2012-11-30 07:09:07 -0500 |
commit | 07ed63f865f6fef4c14711063534b73eb33e0cdb (patch) | |
tree | ff254c2742b482e801543e6022e8068da1946243 /man | |
parent | b62e91790d1f07f729d4221c878a0847ff14ad82 (diff) |
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@freedesktop.org>
Diffstat (limited to 'man')
0 files changed, 0 insertions, 0 deletions