On Tue, 22 Sep 2026 12:53:02 +0200, Ahmad Fatoum wrote:
> Everything in SANDBOX_PBL2PROPER_GLUE_SYMS is #defined to a barebox_
> prefixed name in barebox proper, so calls end up at our wrappers
> instead of directly in the host libc directly.
> 
> malloc_usable_size lost its prefix when sandbox was migrated to PBL,
> which becomes quickly apparent if it's called with a ZERO_SIZE_PTR:
> The barebox wrapper rejects it, while the host allocator will choke on
> it under ASAN:
> 
> [...]

Applied, thanks!

[1/2] sandbox: route malloc_usable_size() through the PBL glue again
      https://git.pengutronix.de/cgit/barebox/commit/?id=e542d5ae713b (link may 
not be stable)
[2/2] test: self: free a zero-sized buffer with free_sensitive()
      https://git.pengutronix.de/cgit/barebox/commit/?id=0e9ba4d8df4a (link may 
not be stable)

Best regards,
-- 
Sascha Hauer <[email protected]>


Reply via email to