On Thu, 24 Jul 2014, Chen Gang wrote: > strlen() will get string length excluding '\0', but strcpy() will append > '\0' in the end, so need XNEWVEC additional byte, or cause memory over > flow.
OK assuming it passed regression testing (with ChangeLog entry as usual, and you need to say what platform the patch was bootstrapped / regression tested on). -- Joseph S. Myers jos...@codesourcery.com