rockchip-linux / rkdeveloptool

GNU General Public License v2.0
146 stars 85 forks source link

use a safe way to copy the chip string #57

Open sharkcz opened 3 years ago

sharkcz commented 3 years ago

based on https://developers.redhat.com/blog/2019/08/12/efficient-string-copying-and-concatenation-in-c

Fixes: https://github.com/rockchip-linux/rkdeveloptool/issues/55