prevent invalid memory access
e.g. fdo26139-1.pdf Change-Id: Ic5854e2056c246d48e2962dfe0a91f67c2c30c04
This commit is contained in:
parent
e62764108a
commit
0c7c8aa5f6
1 changed files with 1 additions and 1 deletions
|
@ -553,7 +553,7 @@ void Parser::parseFontFamilyName( FontAttributes& rResult )
|
|||
nLen -= nAttribLen;
|
||||
pCopy += nAttribLen;
|
||||
}
|
||||
else
|
||||
else if(nLen > 0)
|
||||
{
|
||||
if( *pCopy != '-' )
|
||||
aNewFamilyName.append( *pCopy );
|
||||
|
|
Loading…
Reference in a new issue