linux-cp: fix non-NULL terminated string