]> git.eshelyaron.com Git - emacs.git/commit
Avoid some core dumps in X session management
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 27 Mar 2015 19:10:44 +0000 (12:10 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 27 Mar 2015 19:11:08 +0000 (12:11 -0700)
commit01d1024bec7781066440104ebee0b186382e10f3
treec468355d2eb02cd8b286bd2b4dfe00832624f8ad
parent589a4034b7af522c5b8107d5089fb1aec523a1e4
Avoid some core dumps in X session management

Derived from a bug report by Nicolas Richard in:
http://bugs.gnu.org/20191#20
* xsmfns.c (smc_save_yourself_CB): Don't dump core if
invocation-name is not a string.  Initialize user-login-name if it
is not already initialized, and don't dump core if it is not a
string.
(create_client_leader_window): Don't dump core if x-resource-name
and x-resource-class are not both strings.
(x_session_initialize): Don't dump core if x-session-previous-id,
invocation-directory, and invocation-name are not strings.
src/ChangeLog
src/xsmfns.c