From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Tue, 25 Feb 2020 14:00:41 -0500 Subject: [PATCH 1/2] moveconfig: replace unsafe eval with asteval In-Reply-To: <20200212194645.1765445-2-mk@mkio.de> References: <20200212194645.1765445-1-mk@mkio.de> <20200212194645.1765445-2-mk@mkio.de> Message-ID: <20200225190041.GM18302@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Feb 12, 2020 at 08:46:44PM +0100, Markus Klotzbuecher wrote: > Commit b237d358b "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 > Cc: Heinrich Schuchardt > Cc: Heiko Schocher > Cc: Tom Rini > Cc: Simon Glass > Cc: Joe Hershberger > Cc: Masahiro Yamada > Reviewed-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: