String handling allocation and truncation wasn't quite right.  Need to allocate space for the NULL termination.
String handling allocation and truncation wasn't quite right.  Need to allocate space for the NULL termination.

git-svn-id: 4705079bc6b8aadf675e3696f5c015a6aa4916e3@5150 3c1deb5b-d424-0410-962d-aba41a686d42

hsorby/zinc,OpenCMISS/zinc,OpenCMISS/zinc,OpenCMISS/zinc,hsorby/zinc,hsorby/zinc,hsorby/zinc,OpenCMISS/zinc