commit | 8f4aa7ddb908369db971d4c31850ca1eef2e3687 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Nov 01 14:15:42 2020 -0700 |
committer | Tom Rini <trini@konsulko.com> | Tue Dec 01 10:33:38 2020 -0500 |
tree | 5ef13f26cb8fa44ab01dfdb9c51abb609a476303 | |
parent | 9528229f22b590cc4b5cf8bf0d3212d2ab08ffd5 [diff] |
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: 855f18ea0e6 ("setexpr: add regex substring matching and substitution") Signed-off-by: Simon Glass <sjg@chromium.org>