fix crash when importing unsupported macro content, related fdo#59374
Change-Id: I960c8174454074fd9ddb27fb17244d782c4cb24c
This commit is contained in:
committed by
Markus Mohrhard
parent
3ec8d33e46
commit
70b3006002
@@ -365,6 +365,12 @@ SbiToken SbiTokenizer::Next()
|
||||
{
|
||||
return eCurTok = FIXSTRING;
|
||||
}
|
||||
else if( aSym.isEmpty() )
|
||||
{
|
||||
//something went wrong
|
||||
bEof = bEos = true;
|
||||
return eCurTok = EOLN;
|
||||
}
|
||||
// Special cases of characters that are between "Z" and "a". ICompare()
|
||||
// evaluates the position of these characters in different ways.
|
||||
else if( aSym[0] == '^' )
|
||||
|
Reference in New Issue
Block a user