[dcs] Fix catstr not null-terminating