commit | 7a11486c32a35d07d2631f14ba283e53bc01fa74 | [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 | 28ae25a06f3664f6ad8b145967a9856446ef27f5 [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>