Re: [PATCH] board/km/cent2: Fix buffer overflow when fixing MAC address

2023-10-10 Thread Tom Rini
On Fri, Sep 29, 2023 at 04:11:00PM +0200, Francois Berder wrote: > String "/soc/fman/ethernet@e8000" is 25 bytes long > and not 24 due to extra byte for null character at > the end. > > Signed-off-by: Francois Berder Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP

[PATCH] board/km/cent2: Fix buffer overflow when fixing MAC address

2023-09-29 Thread Francois Berder
String "/soc/fman/ethernet@e8000" is 25 bytes long and not 24 due to extra byte for null character at the end. Signed-off-by: Francois Berder --- board/keymile/kmcent2/kmcent2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/keymile/kmcent2/kmcent2.c