On Fri, 02 Aug 2024 22:05:09 +0200, Richard Weinberger wrote: > res needs to be large enough to store both strings rem and target, > plus the path separator and the terminator. > Currently the space for the path separator is not accounted, so > the heap is corrupted by one byte. > > Applied to u-boot/next, thanks! -- Tom