Hello community, here is the log from the commit of package poppler for openSUSE:Factory checked in at 2014-10-15 16:19:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/poppler (Old) and /work/SRC/openSUSE:Factory/.poppler.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "poppler" Changes: -------- --- /work/SRC/openSUSE:Factory/poppler/poppler-qt.changes 2014-09-12 15:24:55.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.poppler.new/poppler-qt.changes 2014-10-15 16:19:26.000000000 +0200 @@ -1,0 +2,9 @@ +Sat Sep 27 19:01:01 UTC 2014 - [email protected] + +- Update to version 0.26.5: + + core: Fix rendering of broken file with a wrong embedded font + (fdo#84270). + + glib: Fix use of uninitialized members in PopplerInputStream + (fdo#82630). + +------------------------------------------------------------------- poppler-qt5.changes: same change poppler.changes: same change Old: ---- poppler-0.26.4.tar.xz New: ---- poppler-0.26.5.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ poppler-qt.spec ++++++ --- /var/tmp/diff_new_pack.Ctjjgk/_old 2014-10-15 16:19:28.000000000 +0200 +++ /var/tmp/diff_new_pack.Ctjjgk/_new 2014-10-15 16:19:28.000000000 +0200 @@ -21,7 +21,7 @@ Name: poppler-qt %define _name poppler -Version: 0.26.4 +Version: 0.26.5 Release: 0 # Actual version of poppler-data: %define poppler_data_version 0.4.6 poppler-qt5.spec: same change ++++++ poppler.spec ++++++ --- /var/tmp/diff_new_pack.Ctjjgk/_old 2014-10-15 16:19:28.000000000 +0200 +++ /var/tmp/diff_new_pack.Ctjjgk/_new 2014-10-15 16:19:28.000000000 +0200 @@ -21,7 +21,7 @@ Name: poppler %define _name poppler -Version: 0.26.4 +Version: 0.26.5 Release: 0 # Actual version of poppler-data: %define poppler_data_version 0.4.6 ++++++ poppler-0.26.4.tar.xz -> poppler-0.26.5.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-0.26.4/CMakeLists.txt new/poppler-0.26.5/CMakeLists.txt --- old/poppler-0.26.4/CMakeLists.txt 2014-08-21 20:06:58.000000000 +0200 +++ new/poppler-0.26.5/CMakeLists.txt 2014-09-27 15:21:19.000000000 +0200 @@ -18,7 +18,7 @@ set(POPPLER_MAJOR_VERSION "0") set(POPPLER_MINOR_VERSION "26") -set(POPPLER_MICRO_VERSION "4") +set(POPPLER_MICRO_VERSION "5") set(POPPLER_VERSION "${POPPLER_MAJOR_VERSION}.${POPPLER_MINOR_VERSION}.${POPPLER_MICRO_VERSION}") # command line switches diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-0.26.4/ChangeLog new/poppler-0.26.5/ChangeLog --- old/poppler-0.26.4/ChangeLog 2014-08-21 20:18:25.000000000 +0200 +++ new/poppler-0.26.5/ChangeLog 2014-09-27 15:33:22.000000000 +0200 @@ -1,3 +1,25 @@ +commit 303287ebdad0de9fb2655c4d7eab627c0045ea04 +Author: Thomas Freitag <[email protected]> +Date: Fri Sep 26 00:25:38 2014 +0200 + + Fix rendering of file with a wrong embedded font + + Bug #84270 + + fofi/FoFiTrueType.cc | 22 ++++++++++++++-------- + 1 file changed, 14 insertions(+), 8 deletions(-) + +commit f94ba85a736b4c90c05e7782939f32506472658e +Author: Carlos Garcia Campos <[email protected]> +Date: Fri Sep 12 19:22:20 2014 +0200 + + glib: Fix use of uninitialized members in PopplerInputStream + + https://bugs.freedesktop.org/show_bug.cgi?id=82630 + + glib/poppler-input-stream.cc | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + commit f74a5964078224c01bd5642aabc928d185bb0b69 Author: Albert Astals Cid <[email protected]> Date: Thu Aug 21 20:07:54 2014 +0200 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-0.26.4/NEWS new/poppler-0.26.5/NEWS --- old/poppler-0.26.4/NEWS 2014-08-21 20:05:47.000000000 +0200 +++ new/poppler-0.26.5/NEWS 2014-09-27 15:20:52.000000000 +0200 @@ -1,3 +1,10 @@ +Release 0.26.5 + core: + * Fix rendering of broken file with a wrong embedded font. Bug #84270 + + glib: + * Fix use of uninitialized members in PopplerInputStream. Bug #82630 + Release 0.26.4 core: * CairoOutputDev: Make sure we always push a transparency group in setSoftMaskFromImageMask(). Bug #81624 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-0.26.4/aclocal.m4 new/poppler-0.26.5/aclocal.m4 --- old/poppler-0.26.4/aclocal.m4 2014-08-21 20:08:58.000000000 +0200 +++ new/poppler-0.26.5/aclocal.m4 2014-09-27 15:23:48.000000000 +0200 @@ -21,7 +21,7 @@ To do so, use the procedure documented by the package, typically 'autoreconf'.])]) # lib-link.m4 serial 26 (gettext-0.18.2) -dnl Copyright (C) 2001-2013 Free Software Foundation, Inc. +dnl Copyright (C) 2001-2014 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. @@ -799,7 +799,7 @@ ]) # lib-prefix.m4 serial 7 (gettext-0.18) -dnl Copyright (C) 2001-2005, 2008-2013 Free Software Foundation, Inc. +dnl Copyright (C) 2001-2005, 2008-2014 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-0.26.4/configure new/poppler-0.26.5/configure --- old/poppler-0.26.4/configure 2014-08-21 20:08:59.000000000 +0200 +++ new/poppler-0.26.5/configure 2014-09-27 15:23:49.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for poppler 0.26.4. +# Generated by GNU Autoconf 2.69 for poppler 0.26.5. # # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=poppler>. # @@ -591,8 +591,8 @@ # Identity of this package. PACKAGE_NAME='poppler' PACKAGE_TARNAME='poppler' -PACKAGE_VERSION='0.26.4' -PACKAGE_STRING='poppler 0.26.4' +PACKAGE_VERSION='0.26.5' +PACKAGE_STRING='poppler 0.26.5' PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=poppler' PACKAGE_URL='' @@ -1528,7 +1528,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures poppler 0.26.4 to adapt to many kinds of systems. +\`configure' configures poppler 0.26.5 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1602,7 +1602,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of poppler 0.26.4:";; + short | recursive ) echo "Configuration of poppler 0.26.5:";; esac cat <<\_ACEOF @@ -1815,7 +1815,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -poppler configure 0.26.4 +poppler configure 0.26.5 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2509,7 +2509,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by poppler $as_me 0.26.4, which was +It was created by poppler $as_me 0.26.5, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -3373,7 +3373,7 @@ # Define the identity of the package. PACKAGE='poppler' - VERSION='0.26.4' + VERSION='0.26.5' cat >>confdefs.h <<_ACEOF @@ -17837,7 +17837,7 @@ cat >>confdefs.h <<_ACEOF -#define POPPLER_VERSION "0.26.4" +#define POPPLER_VERSION "0.26.5" _ACEOF @@ -25003,9 +25003,9 @@ POPPLER_MINOR_VERSION=26 -POPPLER_MICRO_VERSION=4 +POPPLER_MICRO_VERSION=5 -POPPLER_VERSION=0.26.4 +POPPLER_VERSION=0.26.5 ac_config_files="$ac_config_files Makefile goo/Makefile fofi/Makefile splash/Makefile poppler/Makefile utils/Makefile glib/Makefile glib/poppler-features.h glib/reference/Makefile glib/reference/version.xml glib/demo/Makefile test/Makefile qt4/Makefile qt4/src/Makefile qt4/tests/Makefile qt4/demos/Makefile qt5/Makefile qt5/src/Makefile qt5/tests/Makefile qt5/demos/Makefile cpp/Makefile cpp/poppler-version.h cpp/tests/Makefile poppler.pc poppler-uninstalled.pc poppler-cairo.pc poppler-cairo-uninstalled.pc poppler-splash.pc poppler-splash-uninstalled.pc poppler-glib.pc poppler-glib-uninstalled.pc poppler-qt4.pc poppler-qt4-uninstalled.pc poppler-qt5.pc poppler-qt5-uninstalled.pc poppler-cpp.pc poppler-cpp-uninstalled.pc" @@ -25657,7 +25657,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by poppler $as_me 0.26.4, which was +This file was extended by poppler $as_me 0.26.5, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -25723,7 +25723,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -poppler config.status 0.26.4 +poppler config.status 0.26.5 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-0.26.4/configure.ac new/poppler-0.26.5/configure.ac --- old/poppler-0.26.4/configure.ac 2014-08-21 20:06:52.000000000 +0200 +++ new/poppler-0.26.5/configure.ac 2014-09-27 15:21:05.000000000 +0200 @@ -1,6 +1,6 @@ m4_define([poppler_version_major],[0]) m4_define([poppler_version_minor],[26]) -m4_define([poppler_version_micro],[4]) +m4_define([poppler_version_micro],[5]) m4_define([poppler_version],[poppler_version_major.poppler_version_minor.poppler_version_micro]) AC_PREREQ(2.59) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-0.26.4/cpp/poppler-version.h new/poppler-0.26.5/cpp/poppler-version.h --- old/poppler-0.26.4/cpp/poppler-version.h 2014-08-21 20:09:07.000000000 +0200 +++ new/poppler-0.26.5/cpp/poppler-version.h 2014-09-27 15:23:58.000000000 +0200 @@ -21,10 +21,10 @@ #include "poppler-global.h" -#define POPPLER_VERSION "0.26.4" +#define POPPLER_VERSION "0.26.5" #define POPPLER_VERSION_MAJOR 0 #define POPPLER_VERSION_MINOR 26 -#define POPPLER_VERSION_MICRO 4 +#define POPPLER_VERSION_MICRO 5 namespace poppler { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-0.26.4/fofi/FoFiTrueType.cc new/poppler-0.26.5/fofi/FoFiTrueType.cc --- old/poppler-0.26.4/fofi/FoFiTrueType.cc 2014-04-26 17:37:22.000000000 +0200 +++ new/poppler-0.26.5/fofi/FoFiTrueType.cc 2014-09-26 00:25:29.000000000 +0200 @@ -20,6 +20,7 @@ // Copyright (C) 2008 Tomas Are Haavet <[email protected]> // Copyright (C) 2012 Suzuki Toshiya <[email protected]> // Copyright (C) 2012 Adrian Johnson <[email protected]> +// Copyright (C) 2014 Thomas Freitag <[email protected]> // // To see a description of the changes please see the Changelog file that // came with your tarball or type make ChangeLog if you are building from git @@ -1421,7 +1422,7 @@ void FoFiTrueType::readPostTable() { GooString *name; - int tablePos, postFmt, stringIdx, stringPos; + int tablePos, postFmt, stringIdx, stringPos, savedStringIdx; GBool ok; int i, j, n, m; @@ -1456,6 +1457,7 @@ nameToGID->removeInt(macGlyphNames[j]); nameToGID->add(new GooString(macGlyphNames[j]), i); } else { + savedStringIdx = stringIdx; j -= 258; if (j != stringIdx) { for (stringIdx = 0, stringPos = tablePos + 34 + 2*n; @@ -1467,13 +1469,17 @@ } m = getU8(stringPos, &ok); if (!ok || !checkRegion(stringPos + 1, m)) { - goto err; - } - name = new GooString((char *)&file[stringPos + 1], m); - nameToGID->removeInt(name); - nameToGID->add(name, i); - ++stringIdx; - stringPos += 1 + m; + stringIdx = savedStringIdx; + ok = gTrue; + nameToGID->removeInt(macGlyphNames[j]); + nameToGID->add(new GooString(macGlyphNames[0]), i); + } else { + name = new GooString((char *)&file[stringPos + 1], m); + nameToGID->removeInt(name); + nameToGID->add(name, i); + ++stringIdx; + stringPos += 1 + m; + } } } } else if (postFmt == 0x00028000) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-0.26.4/glib/Poppler-0.18.gir new/poppler-0.26.5/glib/Poppler-0.18.gir --- old/poppler-0.26.4/glib/Poppler-0.18.gir 2014-08-21 20:09:59.000000000 +0200 +++ new/poppler-0.26.5/glib/Poppler-0.18.gir 2014-09-27 15:24:53.000000000 +0200 @@ -4303,7 +4303,7 @@ <type name="gint" c:type="gint"/> </constant> <constant name="MICRO_VERSION" - value="4" + value="5" c:type="POPPLER_MICRO_VERSION" version="0.12"> <doc xml:space="preserve">The micro version number of the poppler header files (e.g. in poppler version diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-0.26.4/glib/poppler-input-stream.cc new/poppler-0.26.5/glib/poppler-input-stream.cc --- old/poppler-0.26.4/glib/poppler-input-stream.cc 2014-04-26 17:37:22.000000000 +0200 +++ new/poppler-0.26.5/glib/poppler-input-stream.cc 2014-09-24 00:42:27.000000000 +0200 @@ -31,6 +31,8 @@ length = lengthA; bufPtr = bufEnd = buf; bufPos = start; + savePos = 0; + saved = gFalse; } PopplerInputStream::~PopplerInputStream() @@ -77,6 +79,7 @@ if (dir >= 0) { g_seekable_seek(seekable, pos, G_SEEK_SET, cancellable, NULL); + bufPos = pos; } else { g_seekable_seek(seekable, 0, G_SEEK_END, cancellable, NULL); size = (Guint)g_seekable_tell(seekable); @@ -110,7 +113,7 @@ if (limited && bufPos + inputStreamBufSize > start + length) { n = start + length - bufPos; } else { - n = inputStreamBufSize; + n = inputStreamBufSize - (bufPos % inputStreamBufSize); } n = g_input_stream_read(inputStream, buf, n, cancellable, NULL); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-0.26.4/glib/reference/html/api-index-full.html new/poppler-0.26.5/glib/reference/html/api-index-full.html --- old/poppler-0.26.4/glib/reference/html/api-index-full.html 2014-08-21 20:18:27.000000000 +0200 +++ new/poppler-0.26.5/glib/reference/html/api-index-full.html 2014-09-27 15:33:23.000000000 +0200 @@ -722,11 +722,11 @@ <dd></dd> <a name="idxE"></a><h3 class="title">E</h3> <dt> -<a class="link" href="poppler-poppler.html#PopplerError" title="enum PopplerError">PopplerError</a>, enum in <a class="link" href="poppler-poppler.html" title="poppler">poppler</a> +<a class="link" href="poppler-poppler.html#POPPLER-ERROR:CAPS" title="POPPLER_ERROR">POPPLER_ERROR</a>, macro in <a class="link" href="poppler-poppler.html" title="poppler">poppler</a> </dt> <dd></dd> <dt> -<a class="link" href="poppler-poppler.html#POPPLER-ERROR:CAPS" title="POPPLER_ERROR">POPPLER_ERROR</a>, macro in <a class="link" href="poppler-poppler.html" title="poppler">poppler</a> +<a class="link" href="poppler-poppler.html#PopplerError" title="enum PopplerError">PopplerError</a>, enum in <a class="link" href="poppler-poppler.html" title="poppler">poppler</a> </dt> <dd></dd> <a name="idxF"></a><h3 class="title">F</h3> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-0.26.4/glib/reference/html/index.html new/poppler-0.26.5/glib/reference/html/index.html --- old/poppler-0.26.4/glib/reference/html/index.html 2014-08-21 20:18:27.000000000 +0200 +++ new/poppler-0.26.5/glib/reference/html/index.html 2014-09-27 15:33:23.000000000 +0200 @@ -15,7 +15,7 @@ <div> <div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">Poppler Reference Manual</p></th></tr></table></div> <div><p class="releaseinfo"> - for Poppler 0.26.4 + for Poppler 0.26.5 </p></div> </div> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-0.26.4/glib/reference/html/poppler-Version-and-Features-Information.html new/poppler-0.26.5/glib/reference/html/poppler-Version-and-Features-Information.html --- old/poppler-0.26.4/glib/reference/html/poppler-Version-and-Features-Information.html 2014-08-21 20:18:27.000000000 +0200 +++ new/poppler-0.26.5/glib/reference/html/poppler-Version-and-Features-Information.html 2014-09-27 15:33:23.000000000 +0200 @@ -107,7 +107,7 @@ <hr> <div class="refsect2"> <a name="POPPLER-MICRO-VERSION:CAPS"></a><h3>POPPLER_MICRO_VERSION</h3> -<pre class="programlisting">#define POPPLER_MICRO_VERSION (4) +<pre class="programlisting">#define POPPLER_MICRO_VERSION (5) </pre> <p>The micro version number of the poppler header files (e.g. in poppler version 0.1.2 this is 2.)</p> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-0.26.4/glib/reference/version.xml new/poppler-0.26.5/glib/reference/version.xml --- old/poppler-0.26.4/glib/reference/version.xml 2014-08-21 20:09:07.000000000 +0200 +++ new/poppler-0.26.5/glib/reference/version.xml 2014-09-27 15:23:58.000000000 +0200 @@ -1 +1 @@ -0.26.4 +0.26.5 -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
