Skip to content
Commit 8f4aa7dd authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

setexpr: Correct buffer overflow bug and enable tests



At present when more than one substitution is made this function
overwrites its buffers. Fix this bug and update the tests now that they
can pass.

Also update the debug code to show all substrings, since at present it
omits the final one.

Fixes: 855f18ea ("setexpr: add regex substring matching and substitution")
Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 9528229f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment