summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorMarkus Klotzbuecher <[email protected]>2020-02-12 20:46:44 +0100
committerTom Rini <[email protected]>2020-02-25 13:46:25 -0500
commitb3192f48c19c15d37ba69722b2846de4b73b27cd (patch)
treea9fda4ba0a893ca84b7aa91415b19fc01bb4d996 /scripts/const_structs.checkpatch
parent080cc0b1b33465db68a9863beeb827514093f893 (diff)
moveconfig: replace unsafe eval with asteval
Commit b237d358b425 ("moveconfig: expand simple expressions") added support for expanding expressions in configs, but used the unsafe python built-in "eval". This patch fixes this by replacing eval with the asteval module. Signed-off-by: Markus Klotzbuecher <[email protected]> Cc: Heinrich Schuchardt <[email protected]> Cc: Heiko Schocher <[email protected]> Cc: Tom Rini <[email protected]> Cc: Simon Glass <[email protected]> Cc: Joe Hershberger <[email protected]> Cc: Masahiro Yamada <[email protected]> Reviewed-by: Heinrich Schuchardt <[email protected]>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions