[poppler] poppler/glib: poppler-page.cc,1.19,1.20

Kristian Hogsberg krh at freedesktop.org
Mon Jun 20 14:33:19 PDT 2005


Update of /cvs/poppler/poppler/glib
In directory gabe:/tmp/cvs-serv28065/glib

Modified Files:
	poppler-page.cc 
Log Message:
2005-06-20  Kristian Høgsberg  <krh at redhat.com>

        * NEWS:
        * configure.ac: Bump version to 0.3.3 and sum up changes since
        last release.

        * glib/poppler-page.cc (poppler_page_find_text): Initialize xMin
        and yMin to avoid referencing unintialized memory (#3582).



Index: poppler-page.cc
===================================================================
RCS file: /cvs/poppler/poppler/glib/poppler-page.cc,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- poppler-page.cc	20 Jun 2005 17:58:38 -0000	1.19
+++ poppler-page.cc	20 Jun 2005 21:33:10 -0000	1.20
@@ -460,6 +460,8 @@
 		       gTrue, NULL, doc->getCatalog());
   
   matches = NULL;
+  xMin = 0;
+  yMin = 0;
   while (output_dev->findText (ucs4, ucs4_len,
 			       gFalse, gTrue, // startAtTop, stopAtBottom
 			       gTrue, gFalse, // startAtLast, stopAtLast



More information about the poppler mailing list