On Mon, 05 Jan 2026 09:33:37 +0100, Ahmad Fatoum wrote:
> The elf->filename is free'd by free_const, but it's always allocated
> with strdup. Change this to strdup_const to be able to avoid duplicating
> string literals.
>
>
Applied, thanks!
[1/2] common: elf: use strdup_const for symmetry
https://git.pengutronix.de/cgit/barebox/commit/?id=2e47b5900193 (link may
not be stable)
[2/2] common: elf: use memcmp for fixed-size comparison
https://git.pengutronix.de/cgit/barebox/commit/?id=3dc2cad1a7e7 (link may
not be stable)
Best regards,
--
Sascha Hauer <[email protected]>