]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd: pxe: use strdup to copy config
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Fri, 28 Oct 2022 09:01:20 +0000 (11:01 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 12 Dec 2022 19:03:12 +0000 (14:03 -0500)
commit51c5c28af59c19407d6602336ac7374dd1432c49
treecb1cdfba39afc3019ae499db72c91fadbdcd6b12
parenta5dacef7380e4414e7fe5831298e31122d24b18d
cmd: pxe: use strdup to copy config

Replace malloc and strcpy by strdup in
function parse_label_kernel.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
boot/pxe_utils.c