diff options
| author | Jim Meyering | 2009-06-09 05:57:35 +0000 |
|---|---|---|
| committer | Jim Meyering | 2009-06-09 05:57:35 +0000 |
| commit | 40aa3f13c674e5c78bb6c0e85de8f5f0ef3690a7 (patch) | |
| tree | 3f85141cdf4468a10dfa6323124530907a37f41d /src/process.c | |
| parent | 8c9d5f9f86b177497bcff5b41ebb51bf3cd9eadc (diff) | |
| download | emacs-40aa3f13c674e5c78bb6c0e85de8f5f0ef3690a7.tar.gz emacs-40aa3f13c674e5c78bb6c0e85de8f5f0ef3690a7.zip | |
x-load-color-file: avoid array bounds error
x-load-color-file expects each line of input to be of the form
"R G B name". But if "name" is missing, it would read name[-1],
and if that value is '\n', zero it.
* xfaces.c (Fx_load_color_file): Handle missing color name.
Diffstat (limited to 'src/process.c')
0 files changed, 0 insertions, 0 deletions