From: Marco Pesenti Gritti Date: Wed, 9 Feb 2005 13:10:30 +0000 (+0000) Subject: Release 0.1.4 X-Git-Tag: EVINCE_0_1_4~1 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=649c674876d483dcc861c4baaaec33d19b24fffc;p=evince.git Release 0.1.4 2005-02-09 Marco Pesenti Gritti * NEWS: * configure.ac: Release 0.1.4 * pdf/xpdf/Catalog.cc: * pdf/xpdf/XRef.cc: Fix the fix for CAN-2004-0888 --- diff --git a/ChangeLog b/ChangeLog index 6fc1f346..5769f4b3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2005-02-09 Marco Pesenti Gritti + + * NEWS: + * configure.ac: + + Release 0.1.4 + + * pdf/xpdf/Catalog.cc: + * pdf/xpdf/XRef.cc: + + Fix the fix for CAN-2004-0888 + 2005-02-09 Luca Ferretti * data/Makefile.am: diff --git a/NEWS b/NEWS index 2b23b112..c808200a 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,25 @@ +============== +Evince 0.1.4 +============== + +Code changes + + * Add debugging/logging helpers (Marco) + * Add warnings about unimplemented/unknown link + types (Marco) + +Interface improvements + + * Epiphany like fullscreen mode (Christian Persch) + * Save chromes state between sessions (Christian Persch) + * Improve toolbar layout and icons (Luca Ferretti) + +Bug fixes + + * Really fix postscript rendering (Marco) + * Do not leak gs processes on exit (Marco) + * Fix a buffer overflow fix (Marco) + ============== Evince 0.1.3 ============== diff --git a/configure.ac b/configure.ac index 226a3bb0..9e0c1787 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,7 @@ dnl Process this file with autoconf to produce a configure script. AC_PREREQ(2.59) -AC_INIT(evince, 0.1.3) +AC_INIT(evince, 0.1.4) AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION) dnl make sure we keep ACLOCAL_FLAGS around for maintainer builds to work diff --git a/pdf/xpdf/Catalog.cc b/pdf/xpdf/Catalog.cc index 8762cd4c..787a4964 100644 --- a/pdf/xpdf/Catalog.cc +++ b/pdf/xpdf/Catalog.cc @@ -66,8 +66,8 @@ Catalog::Catalog(XRef *xrefA) { obj.free(); // The gcc doesnt optimize this away, so this check is ok, // even if it looks like a pagesSize != pagesSize check - if (pagesSize*sizeof(Page *)/sizeof(Page *) != pagesSize || - pagesSize*sizeof(Ref)/sizeof(Ref) != pagesSize) { + if (pagesSize*(int)sizeof(Page *)/sizeof(Page *) != pagesSize || + pagesSize*(int)sizeof(Ref)/sizeof(Ref) != pagesSize) { error(-1, "Invalid 'pagesSize'"); ok = gFalse; return; @@ -200,8 +200,8 @@ int Catalog::readPageTree(Dict *pagesDict, PageAttrs *attrs, int start) { } if (start >= pagesSize) { pagesSize += 32; - if (pagesSize*sizeof(Page *)/sizeof(Page *) != pagesSize || - pagesSize*sizeof(Ref)/sizeof(Ref) != pagesSize) { + if (pagesSize*(int)sizeof(Page *)/sizeof(Page *) != pagesSize || + pagesSize*(int)sizeof(Ref)/sizeof(Ref) != pagesSize) { error(-1, "Invalid 'pagesSize' parameter."); goto err3; } diff --git a/pdf/xpdf/XRef.cc b/pdf/xpdf/XRef.cc index f5c4159b..5be20178 100644 --- a/pdf/xpdf/XRef.cc +++ b/pdf/xpdf/XRef.cc @@ -110,7 +110,7 @@ ObjectStream::ObjectStream(XRef *xref, int objStrNumA) { goto err1; } - if (nObjects*sizeof(int)/sizeof(int) != nObjects) { + if (nObjects*(int)sizeof(int)/sizeof(int) != nObjects) { error(-1, "Invalid 'nObjects'"); goto err1; } @@ -393,7 +393,7 @@ GBool XRef::readXRefTable(Parser *parser, Guint *pos) { if (newSize < 0) { goto err1; } - if (newSize*sizeof(XRefEntry)/sizeof(XRefEntry) != newSize) { + if (newSize*(int)sizeof(XRefEntry)/sizeof(XRefEntry) != newSize) { error(-1, "Invalid 'obj' parameters'"); goto err1; } @@ -503,7 +503,7 @@ GBool XRef::readXRefStream(Stream *xrefStr, Guint *pos) { goto err1; } if (newSize > size) { - if (newSize * sizeof(XRefEntry)/sizeof(XRefEntry) != newSize) { + if (newSize * (int)sizeof(XRefEntry)/sizeof(XRefEntry) != newSize) { error(-1, "Invalid 'size' parameter."); return gFalse; } @@ -597,7 +597,7 @@ GBool XRef::readXRefStreamSection(Stream *xrefStr, int *w, int first, int n) { if (newSize < 0) { return gFalse; } - if (newSize*sizeof(XRefEntry)/sizeof(XRefEntry) != newSize) { + if (newSize*(int)sizeof(XRefEntry)/sizeof(XRefEntry) != newSize) { error(-1, "Invalid 'size' inside xref table."); return gFalse; } @@ -736,7 +736,7 @@ GBool XRef::constructXRef() { error(-1, "Bad object number"); return gFalse; } - if (newSize*sizeof(XRefEntry)/sizeof(XRefEntry) != newSize) { + if (newSize*(int)sizeof(XRefEntry)/sizeof(XRefEntry) != newSize) { error(-1, "Invalid 'obj' parameters."); return gFalse; } @@ -763,7 +763,7 @@ GBool XRef::constructXRef() { } else if (!strncmp(p, "endstream", 9)) { if (streamEndsLen == streamEndsSize) { streamEndsSize += 64; - if (streamEndsSize*sizeof(int)/sizeof(int) != streamEndsSize) { + if (streamEndsSize*(int)sizeof(int)/sizeof(int) != streamEndsSize) { error(-1, "Invalid 'endstream' parameter."); return gFalse; }