Files
u-boot/drivers/net
Michael Walle 0b06527373 net: ti: am65-cpsw: Fix buffer overflow
The device name is a concatenation of the device node name of the cpsw
device and of the device node name of the port. In my case that is

  ethernet@8000000
  port@1

First the buffer is really too small, but more importantly, there is no
boundary check. Use snprintf() and increase the buffer size.

Fixes: 38922b1f4a ("net: ti: am65-cpsw: Add support for multi port independent MAC mode")
Signed-off-by: Michael Walle <mwalle@kernel.org>
2024-04-11 15:52:19 -06:00
..
2022-12-07 12:20:17 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-06-15 17:58:53 +08:00
2023-11-07 14:50:51 -05:00
2024-01-29 22:35:02 -05:00
2024-01-29 22:35:02 -05:00
2022-12-07 16:04:16 -05:00
2024-01-29 22:35:02 -05:00
2024-01-29 22:35:02 -05:00
2024-03-26 19:58:26 -04:00
2024-03-26 19:58:26 -04:00
2022-12-07 16:04:17 -05:00
2022-09-25 08:30:05 -06:00
2023-11-05 13:28:40 -05:00
2023-12-19 11:24:38 +01:00
2022-11-28 10:25:17 -05:00
2024-03-02 12:26:18 -05:00
2023-12-19 11:24:38 +01:00
2022-12-22 10:31:48 -05:00
2022-12-22 10:31:48 -05:00
2023-03-02 17:45:58 -05:00
2022-12-07 16:04:17 -05:00
2023-06-10 13:34:05 +02:00
2022-09-29 16:11:31 -04:00
2024-01-29 22:35:02 -05:00
2023-10-22 23:40:56 +01:00
2023-01-09 11:30:08 -05:00