]> git.ipfire.org Git - thirdparty/plymouth.git/commit
core, script: add support for validating input characters in plugins
authorTimo Teräs <timo.teras@solidboot.com>
Tue, 1 Sep 2020 09:51:43 +0000 (12:51 +0300)
committerTimo Teräs <timo.teras@iki.fi>
Tue, 29 Mar 2022 14:28:00 +0000 (17:28 +0300)
commit5d1b49c601a085120e834c1e9134593318465eec
tree3804c59cf865d93d80bcb5f1c6eb26bb2629d3d3
parent88c54ffbeea73b5fa40ac90b3b0a1c8e68d25c73
core, script: add support for validating input characters in plugins

This adds also '\e' to be parsed as escape character in script strings.

Together these allow possibility to create scripts that allow only
numeric PINs, and prevent switching to text mode.
src/libply-splash-core/ply-boot-splash-plugin.h
src/libply-splash-core/ply-boot-splash.c
src/libply-splash-core/ply-boot-splash.h
src/main.c
src/plugins/splash/script/plugin.c
src/plugins/splash/script/script-lib-plymouth.c
src/plugins/splash/script/script-lib-plymouth.h
src/plugins/splash/script/script-lib-plymouth.script
src/plugins/splash/script/script-scan.c