[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/3.5/kdegraphics/kpdf/xpdf/xpdf
From:       Albert Astals Cid <tsdgeos () terra ! es>
Date:       2008-02-09 23:00:51
Message-ID: 1202598051.343184.26593.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 773029 by aacid:

Only check if we are out of bounds if the object we are searching for has a known id \
(0 also means not known)


 M  +1 -1      Lexer.cc  


--- branches/KDE/3.5/kdegraphics/kpdf/xpdf/xpdf/Lexer.cc #773028:773029
@@ -298,7 +298,7 @@
 	  n = 0;
 	  
 	  // we are growing see if the document is not malformed and we are growing too \
                much
-	  if (objNum != -1)
+	  if (objNum > 0)
 	  {
 	    int newObjNum = xref->getNumEntry(curStr.streamGetPos());
 	    if (newObjNum != objNum)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic