[poppler] poppler/goo: GooString.cc,1.4.2.1,1.4.2.2

Albert Astals Cid aacid at kemper.freedesktop.org
Sat Apr 14 12:18:21 PDT 2007


Update of /cvs/poppler/poppler/goo
In directory kemper:/tmp/cvs-serv28173/goo

Modified Files:
      Tag: xpdf302merge
	GooString.cc 
Log Message:
Commit Julien work on the 3.02 branch, it may still have problems but it IS an advance, so get it in.


Index: GooString.cc
===================================================================
RCS file: /cvs/poppler/poppler/goo/GooString.cc,v
retrieving revision 1.4.2.1
retrieving revision 1.4.2.2
diff -u -d -r1.4.2.1 -r1.4.2.2
--- GooString.cc	31 Mar 2007 23:46:31 -0000	1.4.2.1
+++ GooString.cc	14 Apr 2007 19:18:18 -0000	1.4.2.2
@@ -169,7 +169,7 @@
 GooString::GooString(GooString *str, int idx, int lengthA) {
   s = NULL;
   length = 0;
-  assert(idx + lengthA < str->length);
+  assert(idx + lengthA <= str->length);
   Set(str->getCString() + idx, lengthA);
 }
 



More information about the poppler mailing list