The config file parser in splashutils-1.5.2.1 segfaults when it encounters a 9-digit color specification in a theme config file instead of the expected 8 digits. The older versions did not do this. Reproducible: Always Steps to Reproduce: 1. Add an extra digit to a color specification in a theme config file 2. Set this theme to be the first of many in /etc/conf.d/fbcondecor 3. run /etc/init.d/fbcondecor start or simply use splash_manager to set the theme. Actual Results: $ sudo splash_manager -c set -t Gentoo-darker --tty=1 Parse error at line 34: expected a color instead of '040454498' /usr/bin/splash_manager: line 168: 32473 Segmentation fault ${spl_decor} -c setcfg -t "${theme}" --tty="${tty}" FBIOCONDECOR_SETSTATE failed, error code 22. A similar error message occurs when starting the fbcondecor service but there is no clue as to which file has the parse error in it. Expected Results: I would have expected the new version to parse config files the same way the old version did. But barring that, I would have expected a more graceful resolution of parse errors: 1) A more informative error message indicating the file that had the error. 2) A warning on a parse error instead of a segfault. 3) Have the fbcondecor service either skip the tty with the bad config file or replace the theme with the default. Of course, an informative error message should be issued as well. The current error handling is adequate when using splash_manager but it is totally inadequate when running the fbcondecor service. It is particularly nasty because the parser got changed so files that would parse okay with the older version now cause segfaults.
Fixed in 1.5.3.2. Thanks for a detailed description of the problem :)