more work on removing hard limits via move to std::string/vector
coverity#17891 Copy into fixed size buffer