[PATCH v2 0/2] Fix out-of-bounds potential in decode_base64 and add regression tests

Sascha Hauer s.hauer at pengutronix.de
Sun Dec 7 23:45:11 PST 2025


On Tue, 02 Dec 2025 10:22:43 +0100, Jonas Rebmann wrote:
> I took a closer look at decode_base64 while reviewing coverity report
> 584740 (Out-of-bounds access). 1/2 resolves the issue (although coverity
> seems to suspect an out-of-bounds access for the wrong reason and might
> keep doing so), 2/2 adds a selftest I used to debug the issue.
> 
> 

Applied, thanks!

[1/2] lib: base64: Fix out-of-bounds potential by respecting dst_len
      https://git.pengutronix.de/cgit/barebox/commit/?id=fd1a97622105 (link may not be stable)
[2/2] test: self: add base64 selftests
      https://git.pengutronix.de/cgit/barebox/commit/?id=c5190aac91f2 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list