diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2022-03-06 10:50:27 +0100 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2022-03-06 14:07:26 +0100 |
commit | 6eeab90632506348a58d264eb3304625756c8659 (patch) | |
tree | 078c13878d0eba68467e591d78c260927b6fd8de /lisp/emacs-lisp | |
parent | ea5a0142ced33884a370e9a47f8035f303382ba7 (diff) | |
download | emacs-6eeab90632506348a58d264eb3304625756c8659.tar.gz emacs-6eeab90632506348a58d264eb3304625756c8659.tar.bz2 emacs-6eeab90632506348a58d264eb3304625756c8659.zip |
Don't accept whitespace or hex floats in rgbi: colour specs
`color-values-from-color-spec` (new in Emacs 28) erroneously accepted
leading whitespace and hex floats in rgbi: components.
Reported by Philip Kaludercic.
* src/xfaces.c (parse_float_color_comp): Disallow leading whitespace
and hex floats.
* test/src/xfaces-tests.el
(xfaces-internal-color-values-from-color-spec): Add test cases.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions