CGE: Ensure string copy don't overrun. Fix CID 1003674 to 1003678