Closed nullr0ute closed 5 years ago
Can you help try Kever's patch on https://github.com/rockchip-linux/rkdeveloptool/commit/c49bf47e0864d6aa428054ec837c9e3b71dca1ea ?
Looks good.
That fix no longer assures that the string is null-terminated though. My local fix was to reduce the copy loop to len-1 and use str[len - 1] here.
After applying the fix for #39 there's still build issues, at least with gcc9, with the following error: