It's not a problem at all. If the string's length is bigger than CF_EXPANDSIZE - BIGMARGIN,  the processing  is meant to end and an error is thrown.
The most important thing is to avoid the segfault here.