[PATCH 3/3] cmd: pxe: use strdup to copy config

Quentin Schulz quentin.schulz at theobroma-systems.com
Tue Dec 13 10:03:17 CET 2022


Hi Tom,

On 12/12/22 22:34, Tom Rini wrote:
> On Fri, Oct 28, 2022 at 11:01:20AM +0200, Patrick Delaunay wrote:
> 
>> Replace malloc and strcpy by strdup in
>> function parse_label_kernel.
>>
>> Signed-off-by: Patrick Delaunay <patrick.delaunay at foss.st.com>
>> Reviewed-by: Neil Armstrong <neil.armstrong at linaro.org>
> 
> Applied to u-boot/next, thanks!
> 

I believe this was a mistake?

This introduces a pretty bad regression as existing extlinux.conf won't 
boot anymore. Distros will need to have different extlinux depending on 
which U-Boot version is running on the system.

Was the merge done with this information in mind?

Cheers,
Quentin



More information about the U-Boot mailing list