diff options
| author | Paul Eggert | 2015-03-27 12:10:44 -0700 |
|---|---|---|
| committer | Paul Eggert | 2015-03-27 12:11:08 -0700 |
| commit | 01d1024bec7781066440104ebee0b186382e10f3 (patch) | |
| tree | c468355d2eb02cd8b286bd2b4dfe00832624f8ad /src/ChangeLog | |
| parent | 589a4034b7af522c5b8107d5089fb1aec523a1e4 (diff) | |
| download | emacs-01d1024bec7781066440104ebee0b186382e10f3.tar.gz emacs-01d1024bec7781066440104ebee0b186382e10f3.zip | |
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.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 61f2a84a9f9..db3056ce6bd 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,6 +1,20 @@ | |||
| 1 | 2015-03-27 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2015-03-27 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | Avoid some core dumps in X session management | ||
| 4 | Derived from a bug report by Nicolas Richard in: | ||
| 5 | http://bugs.gnu.org/20191#20 | ||
| 6 | * xsmfns.c (smc_save_yourself_CB): Don't dump core if | ||
| 7 | invocation-name is not a string. Initialize user-login-name if it | ||
| 8 | is not already initialized, and don't dump core if it is not a | ||
| 9 | string. | ||
| 10 | (create_client_leader_window): Don't dump core if x-resource-name | ||
| 11 | and x-resource-class are not both strings. | ||
| 12 | (x_session_initialize): Don't dump core if x-session-previous-id, | ||
| 13 | invocation-directory, and invocation-name are not strings. | ||
| 14 | |||
| 3 | Port user-login-name initialization to Qnil == 0 | 15 | Port user-login-name initialization to Qnil == 0 |
| 16 | Derived from a bug report by Nicolas Richard in: | ||
| 17 | http://bugs.gnu.org/20191#20 | ||
| 4 | * editfns.c (Fuser_login_name, Fuser_real_login_name) | 18 | * editfns.c (Fuser_login_name, Fuser_real_login_name) |
| 5 | (syms_of_editfns): Don't rely on all-bits-zero being an Elisp integer, | 19 | (syms_of_editfns): Don't rely on all-bits-zero being an Elisp integer, |
| 6 | as this is no longer true now that Qnil == 0. | 20 | as this is no longer true now that Qnil == 0. |