coverity: protect against buffer overflow
coverity: protect against buffer overflow

Change-Id: Id3b47712ee1457bda5313a0665a9bb34db035cb0

JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core