2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
* pdf/splash/Splash.cc:
Port fix for a crasher from kde bug
http://bugs.kde.org/show_bug.cgi?id=97131
+2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
+
+ * pdf/splash/Splash.cc:
+
+ Port fix for a crasher from kde bug
+ http://bugs.kde.org/show_bug.cgi?id=97131
+
2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
* pdf/xpdf/pdf-document.cc:
int xMinI, yMinI, xMaxI, yMaxI, x0, x1, y;
SplashClipResult clipRes, clipRes2;
- if (path->length == 0) {
+ if (path->length == 0 || path->length == 1) {
return splashErrEmptyPath;
}
xPath = new SplashXPath(path, state->flatness, gTrue);