Include the trailing NUL when copying a config string.
Merge branch 'develop' into release-2.4.0