mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
Don't dereference a NULL string. Fixes #327013.
2006-01-14 Elijah Newren <newren gmail com> * src/window.c (__window_is_terminal): Don't dereference a NULL string. Fixes #327013.
This commit is contained in:
parent
def12b85b8
commit
50bcc976bc
@ -1,3 +1,8 @@
|
||||
2006-01-14 Elijah Newren <newren gmail com>
|
||||
|
||||
* src/window.c (__window_is_terminal): Don't dereference a NULL
|
||||
string. Fixes #327013.
|
||||
|
||||
2006-01-14 Elijah Newren <newren gmail com>
|
||||
|
||||
* src/compositor.[ch]: fix compilation when
|
||||
|
@ -1717,7 +1717,7 @@ intervening_user_event_occurred (MetaWindow *window)
|
||||
gboolean
|
||||
__window_is_terminal (MetaWindow *window)
|
||||
{
|
||||
if (window == NULL)
|
||||
if (window == NULL || window->res_name == NULL)
|
||||
return FALSE;
|
||||
|
||||
/* gnome-terminal -- if you couldn't guess */
|
||||
|
Loading…
Reference in New Issue
Block a user