On Tue, 20 Feb 2024 13:20:04 +0100, Ahmad Fatoum wrote: > Using basprintf to duplicate a string violates memory safety if > default_environment_path were to contain a format specifier. > > clangd warns about this, so fix this by using strdup instead. > > Applied, thanks! [1/1] ARM: i.MX: phytec-som-imx6: use strdup instead of basprintf https://git.pengutronix.de/cgit/barebox/commit/?id=e29607037621 (link may not be stable) Best regards, -- Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>