]> git.dujemihanovic.xyz Git - u-boot.git/commit
setexpr: Add some tests for buffer overflow and backref
authorSimon Glass <sjg@chromium.org>
Sun, 1 Nov 2020 21:15:40 +0000 (14:15 -0700)
committerTom Rini <trini@konsulko.com>
Tue, 1 Dec 2020 15:33:38 +0000 (10:33 -0500)
commitd422c77ae8e0cb1211b34eb4af442600b0da8d5b
tree461c03c29dce244867eb635eced3050880eec946
parent56331b2680d9fef7e60a88fa50d3e167f236c4a0
setexpr: Add some tests for buffer overflow and backref

Add tests to check for buffer overflow using simple replacement as well
as back references. At present these don't fully pass.

Signed-off-by: Simon Glass <sjg@chromium.org>
cmd/setexpr.c
include/command.h
test/cmd/setexpr.c