[PATCH 08/10] setexpr: Correct buffer overflow bug and enable tests

Tom Rini trini at konsulko.com
Wed Dec 2 22:23:19 CET 2020


On Sun, Nov 01, 2020 at 02:15:42PM -0700, Simon Glass wrote:

> 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 at chromium.org>

Applied to u-boot/next, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20201202/982f41ef/attachment.sig>


More information about the U-Boot mailing list