On 9/16/26 19:36, Sriram Sriram wrote:
v1 1/2 ("board: xilinx: Use strlcat() in board_name_decode()") is dropped
from this series in favour of Pranav Tilak's patch, which fixes the same
heap overflow without the extra strlen().
It is replaced here by a separate defect in the same function that
neither version of the strlcat() conversion touches: the calloc() result
is never checked (the test is on board_info), and that early return is
the one exit path that does not free board_local_name.
2/2 is unchanged from v1 and is resent per Michal's request.
Sriram Sriram (2):
board: xilinx: Check calloc() result in board_name_decode()
board: xilinx: Make ft_board_setup() weak
board/xilinx/common/board.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
Applied.
M