Try to fix an infinite loop on startup (bug 324667, r+sr=jst).
git-svn-id: svn://10.0.0.236/trunk@188379 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -954,7 +954,7 @@ nsExpatDriver::ConsumeToken(nsScanner& aScanner, PRBool& aFlushTokens)
|
||||
// the error occurred).
|
||||
|
||||
// The length of the last line that Expat has parsed.
|
||||
PRUint32 lastLineLength = XML_GetCurrentColumnNumber(mExpatParser);
|
||||
PRInt32 lastLineLength = XML_GetCurrentColumnNumber(mExpatParser);
|
||||
|
||||
if (lastLineLength <= consumed) {
|
||||
// The length of the last line was less than what expat consumed, so
|
||||
|
||||
Reference in New Issue
Block a user