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: phy
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.
Signed-off-by: Ahmad Fatoum
---
arch/arm/boards/phytec-som-imx6/board.c | 2 +-
1 file changed, 1 insertion(