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

List:       kde-commits
Subject:    branches/kpdf/annotations/kdegraphics/kpdf/xpdf/splash
From:       Enrico Ros <rosenric () dei ! unipd ! it>
Date:       2005-07-27 22:03:17
Message-ID: 1122501797.121312.8354.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 439359 by eros:

Merging trunk changes (now 3.5) till 2005-07-27.
patch_135 (http://tinyurl.com/8j5nb)


 M  +5 -0      Splash.cc  


--- branches/kpdf/annotations/kdegraphics/kpdf/xpdf/splash/Splash.cc #439358:439359
@@ -633,6 +633,11 @@
   }
   xPath = new SplashXPath(path, state->flatness, gTrue);
   xPath->sort();
+  if (!&xPath->segs[0])
+  {
+    delete xPath;
+    return splashErrEmptyPath;
+  }
   scanner = new SplashXPathScanner(xPath, eo);
 
   // get the min and max x and y values
[prev in list] [next in list] [prev in thread] [next in thread] 

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