Hello community,

here is the log from the commit of package libraw for openSUSE:Factory checked 
in at 2015-12-09 19:32:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libraw (Old)
 and      /work/SRC/openSUSE:Factory/.libraw.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libraw"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libraw/libraw.changes    2015-12-01 
09:17:50.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libraw.new/libraw.changes       2015-12-09 
19:32:59.000000000 +0100
@@ -1,0 +2,9 @@
+Thu Dec  3 13:56:58 UTC 2015 - pgaj...@suse.com
+
+- updated to 1.17.1:
+* fixed two errors found by fuzzer (CVE-2015-8367)
+* phase_one_correct always returns value; handle P1 return codes 
+  in postprocessing
+- removed upstreamedretval.diff
+
+-------------------------------------------------------------------

Old:
----
  LibRaw-0.17.0.tar.gz
  retval.diff

New:
----
  LibRaw-0.17.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libraw.spec ++++++
--- /var/tmp/diff_new_pack.FCUhJB/_old  2015-12-09 19:33:00.000000000 +0100
+++ /var/tmp/diff_new_pack.FCUhJB/_new  2015-12-09 19:33:00.000000000 +0100
@@ -20,7 +20,7 @@
 
 Name:           libraw
 %define lname  libraw15
-Version:        0.17.0
+Version:        0.17.1
 Release:        0
 Summary:        Library for reading RAW files obtained from digital photo 
cameras
 License:        CDDL-1.0 or LGPL-2.1
@@ -29,7 +29,6 @@
 
 #Git-Clone:    git://github.com/LibRaw/LibRaw
 Source:         http://www.libraw.org/data/%tar_name-%version.tar.gz
-Patch1:         retval.diff
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  libjasper-devel
@@ -96,7 +95,6 @@
 
 %prep
 %setup -qn %tar_name-%version
-%patch -P 1 -p1
 
 %build
 export CXXFLAGS="%optflags -fPIC"

++++++ LibRaw-0.17.0.tar.gz -> LibRaw-0.17.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/LibRaw-0.17.0/Changelog.txt 
new/LibRaw-0.17.1/Changelog.txt
--- old/LibRaw-0.17.0/Changelog.txt     2015-08-15 15:10:27.000000000 +0200
+++ new/LibRaw-0.17.1/Changelog.txt     2015-11-24 08:43:29.000000000 +0100
@@ -1,3 +1,9 @@
+2015-11-24  Alex Tutubalin <l...@lexa.ru>
+ * fixed two errors found by fuzzer
+ * phase_one_correct always returns value; handle P1 return codes in postproces
+ sing
+ * LibRaw 0.17.1
+
 2015-08-15  Alex Tutubalin <l...@lexa.ru>
 
  * LibRaw 0.17 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/LibRaw-0.17.0/autom4te.cache/output.0 
new/LibRaw-0.17.1/autom4te.cache/output.0
--- old/LibRaw-0.17.0/autom4te.cache/output.0   2015-08-15 16:07:49.000000000 
+0200
+++ new/LibRaw-0.17.1/autom4te.cache/output.0   2015-11-24 16:17:27.000000000 
+0100
@@ -1,6 +1,6 @@
 @%:@! /bin/sh
 @%:@ Guess values for system-dependent variables and create Makefiles.
-@%:@ Generated by GNU Autoconf 2.69 for LibRaw 0.17.0.
+@%:@ Generated by GNU Autoconf 2.69 for LibRaw 0.17.1.
 @%:@
 @%:@ Report bugs to <i...@libraw.org>.
 @%:@ 
@@ -590,8 +590,8 @@
 # Identity of this package.
 PACKAGE_NAME='LibRaw'
 PACKAGE_TARNAME='libraw'
-PACKAGE_VERSION='0.17.0'
-PACKAGE_STRING='LibRaw 0.17.0'
+PACKAGE_VERSION='0.17.1'
+PACKAGE_STRING='LibRaw 0.17.1'
 PACKAGE_BUGREPORT='i...@libraw.org'
 PACKAGE_URL='http://www.libraw.org'
 
@@ -1352,7 +1352,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 LibRaw 0.17.0 to adapt to many kinds of systems.
+\`configure' configures LibRaw 0.17.1 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1422,7 +1422,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of LibRaw 0.17.0:";;
+     short | recursive ) echo "Configuration of LibRaw 0.17.1:";;
    esac
   cat <<\_ACEOF
 
@@ -1553,7 +1553,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-LibRaw configure 0.17.0
+LibRaw configure 0.17.1
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2043,7 +2043,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by LibRaw $as_me 0.17.0, which was
+It was created by LibRaw $as_me 0.17.1, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2906,7 +2906,7 @@
 
 # Define the identity of the package.
  PACKAGE='libraw'
- VERSION='0.17.0'
+ VERSION='0.17.1'
 
 
 # Some tools Automake needs.
@@ -16974,7 +16974,7 @@
 
 LIBRAW_SHLIB_VERSION=15:0:0
 
-LIBRAW_RELEASE_VERSION=0.17.0
+LIBRAW_RELEASE_VERSION=0.17.1
 
 
 cat >confcache <<\_ACEOF
@@ -17551,7 +17551,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by LibRaw $as_me 0.17.0, which was
+This file was extended by LibRaw $as_me 0.17.1, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -17609,7 +17609,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-LibRaw config.status 0.17.0
+LibRaw config.status 0.17.1
 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/LibRaw-0.17.0/autom4te.cache/output.1 
new/LibRaw-0.17.1/autom4te.cache/output.1
--- old/LibRaw-0.17.0/autom4te.cache/output.1   2015-08-15 16:07:54.000000000 
+0200
+++ new/LibRaw-0.17.1/autom4te.cache/output.1   2015-11-24 16:17:34.000000000 
+0100
@@ -1,6 +1,6 @@
 @%:@! /bin/sh
 @%:@ Guess values for system-dependent variables and create Makefiles.
-@%:@ Generated by GNU Autoconf 2.69 for LibRaw 0.17.0.
+@%:@ Generated by GNU Autoconf 2.69 for LibRaw 0.17.1.
 @%:@
 @%:@ Report bugs to <i...@libraw.org>.
 @%:@ 
@@ -590,8 +590,8 @@
 # Identity of this package.
 PACKAGE_NAME='LibRaw'
 PACKAGE_TARNAME='libraw'
-PACKAGE_VERSION='0.17.0'
-PACKAGE_STRING='LibRaw 0.17.0'
+PACKAGE_VERSION='0.17.1'
+PACKAGE_STRING='LibRaw 0.17.1'
 PACKAGE_BUGREPORT='i...@libraw.org'
 PACKAGE_URL='http://www.libraw.org'
 
@@ -1352,7 +1352,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 LibRaw 0.17.0 to adapt to many kinds of systems.
+\`configure' configures LibRaw 0.17.1 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1422,7 +1422,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of LibRaw 0.17.0:";;
+     short | recursive ) echo "Configuration of LibRaw 0.17.1:";;
    esac
   cat <<\_ACEOF
 
@@ -1553,7 +1553,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-LibRaw configure 0.17.0
+LibRaw configure 0.17.1
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2043,7 +2043,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by LibRaw $as_me 0.17.0, which was
+It was created by LibRaw $as_me 0.17.1, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2906,7 +2906,7 @@
 
 # Define the identity of the package.
  PACKAGE='libraw'
- VERSION='0.17.0'
+ VERSION='0.17.1'
 
 
 # Some tools Automake needs.
@@ -16974,7 +16974,7 @@
 
 LIBRAW_SHLIB_VERSION=15:0:0
 
-LIBRAW_RELEASE_VERSION=0.17.0
+LIBRAW_RELEASE_VERSION=0.17.1
 
 
 cat >confcache <<\_ACEOF
@@ -17551,7 +17551,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by LibRaw $as_me 0.17.0, which was
+This file was extended by LibRaw $as_me 0.17.1, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -17609,7 +17609,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-LibRaw config.status 0.17.0
+LibRaw config.status 0.17.1
 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/LibRaw-0.17.0/autom4te.cache/output.2 
new/LibRaw-0.17.1/autom4te.cache/output.2
--- old/LibRaw-0.17.0/autom4te.cache/output.2   2015-08-15 16:07:52.000000000 
+0200
+++ new/LibRaw-0.17.1/autom4te.cache/output.2   2015-11-24 16:17:32.000000000 
+0100
@@ -1,6 +1,6 @@
 @%:@! /bin/sh
 @%:@ Guess values for system-dependent variables and create Makefiles.
-@%:@ Generated by GNU Autoconf 2.69 for LibRaw 0.17.0.
+@%:@ Generated by GNU Autoconf 2.69 for LibRaw 0.17.1.
 @%:@
 @%:@ Report bugs to <i...@libraw.org>.
 @%:@ 
@@ -590,8 +590,8 @@
 # Identity of this package.
 PACKAGE_NAME='LibRaw'
 PACKAGE_TARNAME='libraw'
-PACKAGE_VERSION='0.17.0'
-PACKAGE_STRING='LibRaw 0.17.0'
+PACKAGE_VERSION='0.17.1'
+PACKAGE_STRING='LibRaw 0.17.1'
 PACKAGE_BUGREPORT='i...@libraw.org'
 PACKAGE_URL='http://www.libraw.org'
 
@@ -1352,7 +1352,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 LibRaw 0.17.0 to adapt to many kinds of systems.
+\`configure' configures LibRaw 0.17.1 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1422,7 +1422,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of LibRaw 0.17.0:";;
+     short | recursive ) echo "Configuration of LibRaw 0.17.1:";;
    esac
   cat <<\_ACEOF
 
@@ -1553,7 +1553,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-LibRaw configure 0.17.0
+LibRaw configure 0.17.1
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2043,7 +2043,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by LibRaw $as_me 0.17.0, which was
+It was created by LibRaw $as_me 0.17.1, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2906,7 +2906,7 @@
 
 # Define the identity of the package.
  PACKAGE='libraw'
- VERSION='0.17.0'
+ VERSION='0.17.1'
 
 
 # Some tools Automake needs.
@@ -16974,7 +16974,7 @@
 
 LIBRAW_SHLIB_VERSION=15:0:0
 
-LIBRAW_RELEASE_VERSION=0.17.0
+LIBRAW_RELEASE_VERSION=0.17.1
 
 
 cat >confcache <<\_ACEOF
@@ -17551,7 +17551,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by LibRaw $as_me 0.17.0, which was
+This file was extended by LibRaw $as_me 0.17.1, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -17609,7 +17609,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-LibRaw config.status 0.17.0
+LibRaw config.status 0.17.1
 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/LibRaw-0.17.0/autom4te.cache/requests 
new/LibRaw-0.17.1/autom4te.cache/requests
--- old/LibRaw-0.17.0/autom4te.cache/requests   2015-08-15 16:07:54.000000000 
+0200
+++ new/LibRaw-0.17.1/autom4te.cache/requests   2015-11-24 16:17:34.000000000 
+0100
@@ -43,196 +43,196 @@
                         'configure.ac'
                       ],
                       {
-                        'AM_SUBST_NOTMAKE' => 1,
-                        'AM_AUTOMAKE_VERSION' => 1,
-                        'AC_LIBTOOL_SETUP' => 1,
-                        'AM_RUN_LOG' => 1,
-                        '_AM_SET_OPTION' => 1,
+                        '_LT_AC_FILE_LTDLL_C' => 1,
+                        'AC_DISABLE_FAST_INSTALL' => 1,
+                        'AM_MISSING_HAS_RUN' => 1,
+                        '_LT_AC_PROG_ECHO_BACKSLASH' => 1,
+                        'AC_LTDL_SHLIBPATH' => 1,
+                        'AC_DISABLE_STATIC' => 1,
+                        'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1,
+                        'AC_CONFIG_MACRO_DIR_TRACE' => 1,
                         'AM_MISSING_PROG' => 1,
-                        'AC_PROG_LIBTOOL' => 1,
-                        'AC_LIBTOOL_COMPILER_OPTION' => 1,
-                        'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1,
-                        'AC_LIBTOOL_SYS_OLD_ARCHIVE' => 1,
-                        '_AM_AUTOCONF_VERSION' => 1,
-                        'AC_LTDL_SYS_DLOPEN_DEPLIBS' => 1,
-                        'AC_PATH_TOOL_PREFIX' => 1,
+                        'LT_LANG' => 1,
+                        'LT_PROG_RC' => 1,
+                        'PKG_HAVE_DEFINE_WITH_MODULES' => 1,
+                        'AX_OPENMP' => 1,
+                        'LT_PATH_LD' => 1,
                         '_LT_WITH_SYSROOT' => 1,
-                        'AC_CONFIG_MACRO_DIR_TRACE' => 1,
-                        'LT_LIB_M' => 1,
-                        'AC_LIBTOOL_WIN32_DLL' => 1,
-                        'AC_PATH_MAGIC' => 1,
-                        'AC_DISABLE_SHARED' => 1,
-                        'AM_PROG_CC_C_O' => 1,
-                        'AM_PROG_INSTALL_SH' => 1,
-                        'AM_MAKE_INCLUDE' => 1,
-                        'PKG_HAVE_WITH_MODULES' => 1,
-                        'LT_CMD_MAX_LEN' => 1,
-                        'LTDL_INSTALLABLE' => 1,
-                        'AC_LIBTOOL_CXX' => 1,
+                        'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1,
+                        'AC_PROG_NM' => 1,
                         'AC_LIBTOOL_POSTDEP_PREDEP' => 1,
+                        'LTDL_INSTALLABLE' => 1,
                         'AC_LIBTOOL_PROG_LD_SHLIBS' => 1,
-                        'AC_LIBTOOL_CONFIG' => 1,
+                        'AC_LTDL_ENABLE_INSTALL' => 1,
+                        '_AM_PROG_TAR' => 1,
+                        '_LT_AC_SYS_LIBPATH_AIX' => 1,
+                        'AC_LIBTOOL_SETUP' => 1,
+                        'AC_LTDL_DLLIB' => 1,
+                        '_LT_AC_TRY_DLOPEN_SELF' => 1,
                         '_LT_PROG_F77' => 1,
-                        'AC_LIBTOOL_LANG_C_CONFIG' => 1,
-                        'LT_FUNC_DLSYM_USCORE' => 1,
-                        'AC_DISABLE_FAST_INSTALL' => 1,
-                        'LTSUGAR_VERSION' => 1,
-                        '_AC_AM_CONFIG_HEADER_HOOK' => 1,
-                        'AC_ENABLE_FAST_INSTALL' => 1,
-                        'AC_CHECK_LIBM' => 1,
-                        'LT_SYS_DLSEARCH_PATH' => 1,
-                        '_LT_AC_LANG_RC_CONFIG' => 1,
-                        '_AM_SUBST_NOTMAKE' => 1,
-                        'AC_CONFIG_MACRO_DIR' => 1,
-                        'AM_ENABLE_STATIC' => 1,
-                        'PKG_HAVE_DEFINE_WITH_MODULES' => 1,
-                        'AM_PROG_LIBTOOL' => 1,
-                        '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
-                        'AC_PROG_LD' => 1,
-                        'AC_LIBTOOL_LANG_RC_CONFIG' => 1,
-                        'AC_PROG_NM' => 1,
-                        'AC_LIBTOOL_PROG_CC_C_O' => 1,
-                        'LT_SYS_MODULE_PATH' => 1,
-                        'LT_SYS_SYMBOL_USCORE' => 1,
-                        'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1,
-                        'LT_AC_PROG_SED' => 1,
+                        'AM_AUX_DIR_EXPAND' => 1,
+                        '_LT_AC_LANG_F77' => 1,
+                        '_AM_IF_OPTION' => 1,
+                        'AM_DISABLE_SHARED' => 1,
                         'PKG_PROG_PKG_CONFIG' => 1,
-                        'LT_LIB_DLLOAD' => 1,
-                        'AC_LTDL_SYMBOL_USCORE' => 1,
-                        '_LTDL_SETUP' => 1,
-                        'AC_LIBTOOL_OBJDIR' => 1,
-                        '_LT_PATH_TOOL_PREFIX' => 1,
-                        'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1,
+                        '_LT_AC_LANG_GCJ_CONFIG' => 1,
                         'AC_LTDL_OBJDIR' => 1,
-                        '_LT_AC_LANG_C_CONFIG' => 1,
-                        'AC_LTDL_PREOPEN' => 1,
-                        '_LT_CC_BASENAME' => 1,
+                        'include' => 1,
+                        'AC_LIBTOOL_COMPILER_OPTION' => 1,
+                        '_LT_AC_LOCK' => 1,
+                        '_AC_PROG_LIBTOOL' => 1,
+                        '_LT_AC_LANG_GCJ' => 1,
+                        'LT_OUTPUT' => 1,
                         'm4_pattern_allow' => 1,
-                        'PKG_NOARCH_INSTALLDIR' => 1,
-                        'AC_LIBTOOL_DLOPEN' => 1,
+                        'AM_DISABLE_STATIC' => 1,
+                        '_AM_MANGLE_OPTION' => 1,
+                        'LT_SUPPORTED_TAG' => 1,
+                        'AC_LIBTOOL_WIN32_DLL' => 1,
+                        'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1,
+                        '_AM_CONFIG_MACRO_DIRS' => 1,
+                        '_LT_COMPILER_OPTION' => 1,
+                        'LT_FUNC_ARGZ' => 1,
+                        'AC_LIB_LTDL' => 1,
+                        'LT_INIT' => 1,
+                        'AM_PROG_INSTALL_STRIP' => 1,
+                        '_LT_AC_LANG_CXX' => 1,
+                        'AC_PROG_LD_RELOAD_FLAG' => 1,
+                        'AC_LIBLTDL_CONVENIENCE' => 1,
+                        'AC_PROG_LIBTOOL' => 1,
+                        'LT_SYS_MODULE_PATH' => 1,
+                        'AC_PATH_MAGIC' => 1,
+                        'AM_INIT_AUTOMAKE' => 1,
+                        '_LT_AC_LANG_C_CONFIG' => 1,
                         'AM_ENABLE_SHARED' => 1,
-                        'LT_OUTPUT' => 1,
+                        'AM_PROG_INSTALL_SH' => 1,
+                        'AC_DEFUN' => 1,
+                        'LT_SYS_DLSEARCH_PATH' => 1,
+                        '_LT_AC_PROG_CXXCPP' => 1,
+                        'PKG_CHECK_MODULES' => 1,
                         'AC_LIBTOOL_FC' => 1,
-                        'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
-                        '_LT_REQUIRED_DARWIN_CHECKS' => 1,
-                        'AC_LTDL_DLSYM_USCORE' => 1,
-                        'AM_MISSING_HAS_RUN' => 1,
-                        '_LT_AC_SYS_COMPILER' => 1,
-                        'LTDL_CONVENIENCE' => 1,
-                        'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1,
-                        '_LT_PROG_LTMAIN' => 1,
-                        '_LT_AC_TRY_DLOPEN_SELF' => 1,
-                        '_PKG_SHORT_ERRORS_SUPPORTED' => 1,
-                        '_LT_COMPILER_BOILERPLATE' => 1,
+                        '_LT_PATH_TOOL_PREFIX' => 1,
+                        'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1,
+                        'AM_AUTOMAKE_VERSION' => 1,
+                        'AM_ENABLE_STATIC' => 1,
+                        '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
+                        'AM_RUN_LOG' => 1,
+                        'AU_DEFUN' => 1,
+                        '_AM_SET_OPTION' => 1,
+                        'AC_DISABLE_SHARED' => 1,
+                        'AC_LTDL_SYMBOL_USCORE' => 1,
+                        'AC_LTDL_PREOPEN' => 1,
+                        '_AM_DEPENDENCIES' => 1,
+                        'LT_CONFIG_LTDL_DIR' => 1,
+                        'LT_LIB_M' => 1,
                         'LT_SYS_MODULE_EXT' => 1,
-                        'm4_pattern_forbid' => 1,
-                        'LT_SYS_DLOPEN_SELF' => 1,
-                        'AC_LTDL_DLLIB' => 1,
-                        'AC_DEFUN_ONCE' => 1,
+                        'LT_PROG_GCJ' => 1,
+                        'LTVERSION_VERSION' => 1,
+                        'm4_include' => 1,
+                        'LT_SYS_DLOPEN_DEPLIBS' => 1,
+                        'AC_CONFIG_MACRO_DIR' => 1,
+                        'AC_LTDL_DLSYM_USCORE' => 1,
+                        'AC_DEPLIBS_CHECK_METHOD' => 1,
+                        'LTDL_INIT' => 1,
+                        'AC_LTDL_SYSSEARCHPATH' => 1,
+                        'LT_SYS_SYMBOL_USCORE' => 1,
+                        '_LT_PROG_CXX' => 1,
+                        'AC_LIBTOOL_PROG_COMPILER_PIC' => 1,
+                        'LT_AC_PROG_SED' => 1,
+                        'PKG_WITH_MODULES' => 1,
+                        'AC_LIBTOOL_F77' => 1,
+                        'AC_LIBTOOL_LINKER_OPTION' => 1,
+                        'AC_LIBTOOL_GCJ' => 1,
+                        'AC_CHECK_LIBM' => 1,
                         'PKG_CHECK_VAR' => 1,
-                        'AM_SILENT_RULES' => 1,
-                        'LT_PATH_LD' => 1,
-                        'AM_INIT_AUTOMAKE' => 1,
-                        'AM_SET_DEPDIR' => 1,
-                        'LT_PATH_NM' => 1,
-                        '_LT_AC_SYS_LIBPATH_AIX' => 1,
-                        '_LT_AC_LANG_CXX' => 1,
-                        '_LT_AC_LANG_GCJ_CONFIG' => 1,
-                        '_LT_LINKER_OPTION' => 1,
+                        'AC_PROG_EGREP' => 1,
+                        '_LT_PROG_LTMAIN' => 1,
                         'LTOBSOLETE_VERSION' => 1,
-                        '_AM_PROG_TAR' => 1,
-                        '_LT_DLL_DEF_P' => 1,
-                        '_LT_AC_LANG_GCJ' => 1,
-                        'AC_LIBLTDL_CONVENIENCE' => 1,
+                        '_LT_AC_TAGVAR' => 1,
+                        'AC_LIBTOOL_OBJDIR' => 1,
+                        '_AM_AUTOCONF_VERSION' => 1,
+                        '_AM_PROG_CC_C_O' => 1,
+                        '_LT_LINKER_OPTION' => 1,
+                        'AM_MAKE_INCLUDE' => 1,
+                        'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1,
+                        '_PKG_SHORT_ERRORS_SUPPORTED' => 1,
+                        '_LTDL_SETUP' => 1,
+                        'AM_PROG_LIBTOOL' => 1,
+                        '_LT_PREPARE_SED_QUOTE_VARS' => 1,
                         '_LT_LINKER_BOILERPLATE' => 1,
-                        'AM_DISABLE_STATIC' => 1,
-                        'AU_DEFUN' => 1,
-                        'm4_include' => 1,
-                        'AC_PROG_LD_RELOAD_FLAG' => 1,
+                        'AC_LIBTOOL_DLOPEN' => 1,
+                        'LTOPTIONS_VERSION' => 1,
+                        '_LT_AC_TAGCONFIG' => 1,
+                        '_LT_AC_LANG_CXX_CONFIG' => 1,
                         'AM_DEP_TRACK' => 1,
+                        '_LT_COMPILER_BOILERPLATE' => 1,
+                        'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
+                        '_LT_AC_LANG_F77_CONFIG' => 1,
+                        'AM_SUBST_NOTMAKE' => 1,
+                        '_LT_PROG_ECHO_BACKSLASH' => 1,
+                        '_LT_AC_SHELL_INIT' => 1,
                         'AC_LIBLTDL_INSTALLABLE' => 1,
-                        '_AM_CONFIG_MACRO_DIRS' => 1,
-                        'PKG_INSTALLDIR' => 1,
-                        '_m4_warn' => 1,
-                        '_LT_AC_FILE_LTDLL_C' => 1,
-                        'AC_LIBTOOL_F77' => 1,
-                        'AC_LIBTOOL_LINKER_OPTION' => 1,
-                        '_LT_AC_LANG_CXX_CONFIG' => 1,
-                        'AM_SET_LEADING_DOT' => 1,
+                        'LT_CMD_MAX_LEN' => 1,
+                        'AC_LIBTOOL_LANG_F77_CONFIG' => 1,
+                        'AM_SET_DEPDIR' => 1,
+                        'LT_LIB_DLLOAD' => 1,
                         'AC_LTDL_SHLIBEXT' => 1,
+                        'AC_LIBTOOL_RC' => 1,
+                        '_LT_CC_BASENAME' => 1,
+                        'LT_WITH_LTDL' => 1,
                         '_LT_LIBOBJ' => 1,
-                        'AC_WITH_LTDL' => 1,
-                        'AC_PROG_EGREP' => 1,
-                        'AM_PROG_INSTALL_STRIP' => 1,
-                        'AM_PROG_LD' => 1,
-                        'LT_SUPPORTED_TAG' => 1,
-                        'LTVERSION_VERSION' => 1,
-                        '_LT_AC_PROG_ECHO_BACKSLASH' => 1,
-                        'AC_LIBTOOL_LANG_F77_CONFIG' => 1,
+                        'AM_SANITY_CHECK' => 1,
+                        'AC_LIBTOOL_LANG_RC_CONFIG' => 1,
+                        '_LT_DLL_DEF_P' => 1,
+                        'AC_LIBTOOL_PICMODE' => 1,
+                        '_AC_AM_CONFIG_HEADER_HOOK' => 1,
+                        '_LT_AC_LANG_RC_CONFIG' => 1,
+                        'AC_LIBTOOL_LANG_C_CONFIG' => 1,
+                        'LT_PROG_GO' => 1,
+                        'PKG_NOARCH_INSTALLDIR' => 1,
+                        'AC_LIBTOOL_SYS_OLD_ARCHIVE' => 1,
+                        'PKG_HAVE_WITH_MODULES' => 1,
+                        'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1,
+                        'AC_LIBTOOL_LANG_CXX_CONFIG' => 1,
+                        'AC_PATH_TOOL_PREFIX' => 1,
+                        'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
+                        'AC_LTDL_SYS_DLOPEN_DEPLIBS' => 1,
+                        '_LT_AC_CHECK_DLFCN' => 1,
+                        'AM_SILENT_RULES' => 1,
+                        'AC_LIBTOOL_CONFIG' => 1,
+                        'LT_AC_PROG_RC' => 1,
+                        'LT_FUNC_DLSYM_USCORE' => 1,
+                        'AC_ENABLE_STATIC' => 1,
+                        'LT_PATH_NM' => 1,
+                        '_LT_AC_SYS_COMPILER' => 1,
+                        '_AM_SUBST_NOTMAKE' => 1,
+                        'AC_LIBTOOL_SYS_LIB_STRIP' => 1,
+                        'LT_SYS_DLOPEN_SELF' => 1,
+                        'AM_SET_LEADING_DOT' => 1,
+                        'AM_PROG_CC_C_O' => 1,
+                        'PKG_INSTALLDIR' => 1,
+                        'AC_ENABLE_SHARED' => 1,
+                        '_AM_SET_OPTIONS' => 1,
+                        'LT_AC_PROG_EGREP' => 1,
+                        'LTSUGAR_VERSION' => 1,
+                        'AC_ENABLE_FAST_INSTALL' => 1,
                         '_LT_PROG_FC' => 1,
+                        'AC_DEFUN_ONCE' => 1,
                         'AC_LIBTOOL_DLOPEN_SELF' => 1,
-                        'PKG_WITH_MODULES' => 1,
-                        'LTDL_INIT' => 1,
+                        'AM_CONDITIONAL' => 1,
+                        'AC_WITH_LTDL' => 1,
+                        'm4_pattern_forbid' => 1,
                         'PKG_CHECK_EXISTS' => 1,
-                        'AC_LIB_LTDL' => 1,
-                        'LT_LANG' => 1,
-                        'LT_WITH_LTDL' => 1,
-                        'LT_AC_PROG_EGREP' => 1,
-                        '_LT_AC_PROG_CXXCPP' => 1,
-                        '_AM_SET_OPTIONS' => 1,
-                        'AC_DEFUN' => 1,
-                        'LT_FUNC_ARGZ' => 1,
-                        '_AC_PROG_LIBTOOL' => 1,
-                        'AX_OPENMP' => 1,
-                        'LT_SYS_DLOPEN_DEPLIBS' => 1,
-                        'AC_DISABLE_STATIC' => 1,
-                        'AC_LIBTOOL_LANG_CXX_CONFIG' => 1,
-                        '_LT_PROG_ECHO_BACKSLASH' => 1,
-                        'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1,
-                        '_LT_AC_TAGCONFIG' => 1,
-                        '_LT_COMPILER_OPTION' => 1,
-                        'LT_PROG_GCJ' => 1,
-                        'AC_ENABLE_SHARED' => 1,
-                        'AC_LTDL_SYSSEARCHPATH' => 1,
-                        '_LT_AC_TAGVAR' => 1,
-                        '_AM_IF_OPTION' => 1,
-                        'AC_LIBTOOL_GCJ' => 1,
-                        '_AM_DEPENDENCIES' => 1,
-                        'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1,
-                        '_LT_PROG_CXX' => 1,
+                        '_LT_REQUIRED_DARWIN_CHECKS' => 1,
+                        'LTDL_CONVENIENCE' => 1,
+                        'AC_LIBTOOL_CXX' => 1,
+                        'AC_PROG_LD_GNU' => 1,
                         'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1,
+                        'AC_LIBTOOL_PROG_CC_C_O' => 1,
                         'AM_PROG_NM' => 1,
-                        'AC_LIBTOOL_PICMODE' => 1,
-                        '_LT_AC_SHELL_INIT' => 1,
-                        'LT_PROG_GO' => 1,
-                        '_LT_AC_LOCK' => 1,
-                        'AM_DISABLE_SHARED' => 1,
-                        'AC_DEPLIBS_CHECK_METHOD' => 1,
-                        'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
-                        'AC_LTDL_SHLIBPATH' => 1,
-                        'AM_SANITY_CHECK' => 1,
-                        'AC_PROG_LD_GNU' => 1,
-                        'include' => 1,
-                        'AC_LIBTOOL_RC' => 1,
-                        '_AM_MANGLE_OPTION' => 1,
-                        '_LT_PREPARE_SED_QUOTE_VARS' => 1,
+                        '_m4_warn' => 1,
+                        'AC_PROG_LD' => 1,
                         'LT_AC_PROG_GCJ' => 1,
-                        'AC_ENABLE_STATIC' => 1,
-                        '_LT_AC_CHECK_DLFCN' => 1,
-                        'AC_LIBTOOL_PROG_COMPILER_PIC' => 1,
-                        'PKG_CHECK_MODULES' => 1,
-                        'LT_AC_PROG_RC' => 1,
-                        '_LT_AC_LANG_F77_CONFIG' => 1,
-                        'LT_INIT' => 1,
-                        '_AM_PROG_CC_C_O' => 1,
-                        'LT_PROG_RC' => 1,
-                        '_LT_AC_LANG_F77' => 1,
-                        'AM_AUX_DIR_EXPAND' => 1,
-                        'LTOPTIONS_VERSION' => 1,
-                        'LT_CONFIG_LTDL_DIR' => 1,
-                        'AC_LTDL_ENABLE_INSTALL' => 1,
-                        'AC_LIBTOOL_SYS_LIB_STRIP' => 1,
-                        'AM_CONDITIONAL' => 1
+                        'AM_PROG_LD' => 1
                       }
                     ], 'Autom4te::Request' ),
              bless( [
@@ -247,65 +247,65 @@
                         'configure.ac'
                       ],
                       {
-                        'AM_INIT_AUTOMAKE' => 1,
-                        'AM_SILENT_RULES' => 1,
-                        '_AM_COND_ELSE' => 1,
+                        'AC_SUBST_TRACE' => 1,
+                        'AC_FC_PP_SRCEXT' => 1,
+                        'LT_INIT' => 1,
+                        'AM_PATH_GUILE' => 1,
+                        'AM_PROG_F77_C_O' => 1,
+                        'AC_CONFIG_SUBDIRS' => 1,
+                        'AC_LIBSOURCE' => 1,
                         'AM_PROG_MOC' => 1,
+                        'AC_DEFINE_TRACE_LITERAL' => 1,
+                        'AM_ENABLE_MULTILIB' => 1,
+                        'AC_REQUIRE_AUX_FILE' => 1,
+                        'AC_PROG_LIBTOOL' => 1,
+                        'AC_FC_FREEFORM' => 1,
+                        'AC_CONFIG_HEADERS' => 1,
                         'AM_XGETTEXT_OPTION' => 1,
-                        'AC_INIT' => 1,
-                        'AC_CANONICAL_TARGET' => 1,
-                        'LT_CONFIG_LTDL_DIR' => 1,
+                        'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
+                        'AH_OUTPUT' => 1,
                         'AC_FC_SRCEXT' => 1,
-                        'AC_FC_FREEFORM' => 1,
-                        'AM_CONDITIONAL' => 1,
-                        'AM_PROG_MKDIR_P' => 1,
+                        'AM_INIT_AUTOMAKE' => 1,
+                        'AM_SILENT_RULES' => 1,
+                        'AM_MAINTAINER_MODE' => 1,
                         'AM_GNU_GETTEXT' => 1,
-                        'LT_SUPPORTED_TAG' => 1,
-                        'AM_NLS' => 1,
-                        'AC_CANONICAL_HOST' => 1,
-                        'm4_pattern_forbid' => 1,
-                        'm4_sinclude' => 1,
-                        'include' => 1,
-                        'AC_CONFIG_LINKS' => 1,
-                        'AC_LIBSOURCE' => 1,
-                        'AC_DEFINE_TRACE_LITERAL' => 1,
-                        'AC_CONFIG_LIBOBJ_DIR' => 1,
-                        'AM_EXTRA_RECURSIVE_TARGETS' => 1,
-                        '_AM_COND_ENDIF' => 1,
-                        '_AM_SUBST_NOTMAKE' => 1,
-                        'AC_SUBST_TRACE' => 1,
-                        'AC_CONFIG_SUBDIRS' => 1,
-                        'AC_CANONICAL_BUILD' => 1,
                         'AM_MAKEFILE_INCLUDE' => 1,
-                        'LT_INIT' => 1,
-                        'AC_FC_PP_DEFINE' => 1,
-                        'AM_PROG_F77_C_O' => 1,
-                        'm4_pattern_allow' => 1,
-                        'AC_SUBST' => 1,
-                        '_AM_MAKEFILE_INCLUDE' => 1,
-                        'AM_ENABLE_MULTILIB' => 1,
+                        'AC_CONFIG_LINKS' => 1,
+                        '_LT_AC_TAGCONFIG' => 1,
                         'AM_PROG_CC_C_O' => 1,
-                        'AH_OUTPUT' => 1,
-                        '_AM_COND_IF' => 1,
-                        'AC_CONFIG_FILES' => 1,
-                        'AM_PATH_GUILE' => 1,
+                        'AM_POT_TOOLS' => 1,
                         'AM_AUTOMAKE_VERSION' => 1,
-                        'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
-                        '_LT_AC_TAGCONFIG' => 1,
-                        'AM_PROG_AR' => 1,
-                        'AC_FC_PP_SRCEXT' => 1,
-                        'AC_PROG_LIBTOOL' => 1,
+                        'AC_SUBST' => 1,
                         'AM_PROG_CXX_C_O' => 1,
-                        'AM_PROG_FC_C_O' => 1,
-                        'AM_POT_TOOLS' => 1,
-                        'AC_CONFIG_HEADERS' => 1,
+                        'AC_INIT' => 1,
+                        '_AM_SUBST_NOTMAKE' => 1,
+                        'm4_sinclude' => 1,
+                        'AM_EXTRA_RECURSIVE_TARGETS' => 1,
+                        'AM_PROG_MKDIR_P' => 1,
+                        'AC_CONFIG_FILES' => 1,
                         'sinclude' => 1,
+                        'AM_PROG_AR' => 1,
+                        'AC_CANONICAL_BUILD' => 1,
+                        'AM_CONDITIONAL' => 1,
+                        'include' => 1,
+                        'LT_CONFIG_LTDL_DIR' => 1,
+                        '_AM_COND_IF' => 1,
+                        'AC_CANONICAL_TARGET' => 1,
+                        'AC_CONFIG_LIBOBJ_DIR' => 1,
+                        'AC_CONFIG_AUX_DIR' => 1,
+                        'AM_NLS' => 1,
+                        'LT_SUPPORTED_TAG' => 1,
+                        'm4_pattern_forbid' => 1,
                         'm4_include' => 1,
-                        'AC_REQUIRE_AUX_FILE' => 1,
-                        '_m4_warn' => 1,
+                        'm4_pattern_allow' => 1,
+                        '_AM_COND_ELSE' => 1,
+                        'AC_FC_PP_DEFINE' => 1,
                         'AC_CANONICAL_SYSTEM' => 1,
-                        'AC_CONFIG_AUX_DIR' => 1,
-                        'AM_MAINTAINER_MODE' => 1
+                        'AC_CANONICAL_HOST' => 1,
+                        'AM_PROG_FC_C_O' => 1,
+                        '_m4_warn' => 1,
+                        '_AM_COND_ENDIF' => 1,
+                        '_AM_MAKEFILE_INCLUDE' => 1
                       }
                     ], 'Autom4te::Request' ),
              bless( [
@@ -348,196 +348,196 @@
                         'configure.ac'
                       ],
                       {
-                        '_LT_PROG_FC' => 1,
-                        'AC_LIBTOOL_LANG_F77_CONFIG' => 1,
-                        'LT_SUPPORTED_TAG' => 1,
+                        'AM_MISSING_HAS_RUN' => 1,
+                        'AC_DISABLE_FAST_INSTALL' => 1,
+                        '_LT_AC_FILE_LTDLL_C' => 1,
+                        'AC_CONFIG_MACRO_DIR_TRACE' => 1,
+                        'AM_MISSING_PROG' => 1,
+                        'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1,
                         '_LT_AC_PROG_ECHO_BACKSLASH' => 1,
-                        'LTVERSION_VERSION' => 1,
-                        'AC_LIB_LTDL' => 1,
-                        'PKG_CHECK_EXISTS' => 1,
-                        'LT_LANG' => 1,
-                        'LTDL_INIT' => 1,
-                        'AC_LIBTOOL_DLOPEN_SELF' => 1,
-                        'PKG_WITH_MODULES' => 1,
-                        '_AM_SET_OPTIONS' => 1,
-                        '_LT_AC_PROG_CXXCPP' => 1,
-                        'LT_WITH_LTDL' => 1,
-                        'LT_AC_PROG_EGREP' => 1,
-                        'LT_SYS_DLOPEN_DEPLIBS' => 1,
-                        'AC_LIBTOOL_LANG_CXX_CONFIG' => 1,
                         'AC_DISABLE_STATIC' => 1,
+                        'AC_LTDL_SHLIBPATH' => 1,
                         'AX_OPENMP' => 1,
-                        '_AC_PROG_LIBTOOL' => 1,
-                        'LT_FUNC_ARGZ' => 1,
-                        'AC_DEFUN' => 1,
-                        '_LT_AC_LANG_GCJ' => 1,
-                        '_LT_DLL_DEF_P' => 1,
+                        'LT_PATH_LD' => 1,
+                        'PKG_HAVE_DEFINE_WITH_MODULES' => 1,
+                        'LT_PROG_RC' => 1,
+                        'LT_LANG' => 1,
+                        'LTDL_INSTALLABLE' => 1,
+                        'AC_LIBTOOL_PROG_LD_SHLIBS' => 1,
+                        '_LT_WITH_SYSROOT' => 1,
+                        'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1,
+                        'AC_LIBTOOL_POSTDEP_PREDEP' => 1,
+                        'AC_PROG_NM' => 1,
+                        'AC_LIBTOOL_SETUP' => 1,
+                        '_LT_AC_SYS_LIBPATH_AIX' => 1,
+                        'AC_LTDL_DLLIB' => 1,
                         '_AM_PROG_TAR' => 1,
-                        '_m4_warn' => 1,
-                        'AC_LIBTOOL_F77' => 1,
-                        '_LT_AC_FILE_LTDLL_C' => 1,
-                        'AM_DEP_TRACK' => 1,
-                        '_AM_CONFIG_MACRO_DIRS' => 1,
-                        'PKG_INSTALLDIR' => 1,
-                        'AC_LIBLTDL_INSTALLABLE' => 1,
-                        'AC_PROG_LD_RELOAD_FLAG' => 1,
+                        'AC_LTDL_ENABLE_INSTALL' => 1,
+                        'PKG_PROG_PKG_CONFIG' => 1,
+                        'AC_LIBTOOL_COMPILER_OPTION' => 1,
+                        'include' => 1,
+                        '_LT_AC_LANG_GCJ_CONFIG' => 1,
+                        'AC_LTDL_OBJDIR' => 1,
+                        'AM_AUX_DIR_EXPAND' => 1,
+                        '_LT_PROG_F77' => 1,
+                        '_LT_AC_TRY_DLOPEN_SELF' => 1,
+                        'AM_DISABLE_SHARED' => 1,
+                        '_LT_AC_LANG_F77' => 1,
+                        '_AM_IF_OPTION' => 1,
                         'AM_DISABLE_STATIC' => 1,
+                        '_AM_MANGLE_OPTION' => 1,
+                        'AC_LIBTOOL_WIN32_DLL' => 1,
+                        'LT_SUPPORTED_TAG' => 1,
+                        '_AC_PROG_LIBTOOL' => 1,
+                        'LT_OUTPUT' => 1,
+                        '_LT_AC_LANG_GCJ' => 1,
+                        '_LT_AC_LOCK' => 1,
+                        'm4_pattern_allow' => 1,
+                        '_LT_COMPILER_OPTION' => 1,
+                        'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1,
+                        '_AM_CONFIG_MACRO_DIRS' => 1,
+                        'LT_INIT' => 1,
+                        'LT_FUNC_ARGZ' => 1,
+                        'AC_LIB_LTDL' => 1,
                         'AC_LIBLTDL_CONVENIENCE' => 1,
-                        '_LT_LINKER_BOILERPLATE' => 1,
+                        'AC_PROG_LIBTOOL' => 1,
+                        'AM_PROG_INSTALL_STRIP' => 1,
+                        'AC_PROG_LD_RELOAD_FLAG' => 1,
+                        '_LT_AC_LANG_CXX' => 1,
+                        'AM_PROG_INSTALL_SH' => 1,
+                        'AM_ENABLE_SHARED' => 1,
+                        'LT_SYS_DLSEARCH_PATH' => 1,
+                        'AC_DEFUN' => 1,
+                        'LT_SYS_MODULE_PATH' => 1,
+                        '_LT_AC_LANG_C_CONFIG' => 1,
+                        'AM_INIT_AUTOMAKE' => 1,
+                        'AC_PATH_MAGIC' => 1,
+                        'AM_AUTOMAKE_VERSION' => 1,
+                        '_LT_PATH_TOOL_PREFIX' => 1,
+                        'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1,
+                        'AM_ENABLE_STATIC' => 1,
+                        'AC_LIBTOOL_FC' => 1,
+                        '_LT_AC_PROG_CXXCPP' => 1,
+                        'PKG_CHECK_MODULES' => 1,
                         'AU_DEFUN' => 1,
+                        '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
+                        'AM_RUN_LOG' => 1,
+                        'AC_LTDL_PREOPEN' => 1,
+                        '_AM_DEPENDENCIES' => 1,
+                        'LT_LIB_M' => 1,
+                        'LT_CONFIG_LTDL_DIR' => 1,
+                        'AC_DISABLE_SHARED' => 1,
+                        '_AM_SET_OPTION' => 1,
+                        'AC_LTDL_SYMBOL_USCORE' => 1,
+                        'AC_DEPLIBS_CHECK_METHOD' => 1,
+                        'AC_LTDL_DLSYM_USCORE' => 1,
+                        'LT_SYS_DLOPEN_DEPLIBS' => 1,
+                        'AC_CONFIG_MACRO_DIR' => 1,
+                        'LTDL_INIT' => 1,
+                        'LTVERSION_VERSION' => 1,
+                        'LT_PROG_GCJ' => 1,
+                        'LT_SYS_MODULE_EXT' => 1,
                         'm4_include' => 1,
-                        '_LT_LIBOBJ' => 1,
-                        'AM_SET_LEADING_DOT' => 1,
-                        'AC_LTDL_SHLIBEXT' => 1,
-                        '_LT_AC_LANG_CXX_CONFIG' => 1,
+                        'PKG_WITH_MODULES' => 1,
+                        'AC_LIBTOOL_F77' => 1,
+                        'LT_AC_PROG_SED' => 1,
+                        'AC_LIBTOOL_GCJ' => 1,
                         'AC_LIBTOOL_LINKER_OPTION' => 1,
-                        'AM_PROG_LD' => 1,
-                        'AM_PROG_INSTALL_STRIP' => 1,
-                        'AC_WITH_LTDL' => 1,
+                        'AC_LTDL_SYSSEARCHPATH' => 1,
+                        'AC_LIBTOOL_PROG_COMPILER_PIC' => 1,
+                        'LT_SYS_SYMBOL_USCORE' => 1,
+                        '_LT_PROG_CXX' => 1,
+                        'PKG_CHECK_VAR' => 1,
                         'AC_PROG_EGREP' => 1,
-                        '_AM_MANGLE_OPTION' => 1,
-                        'include' => 1,
-                        'AC_LIBTOOL_RC' => 1,
-                        'AM_SANITY_CHECK' => 1,
-                        'AC_PROG_LD_GNU' => 1,
-                        'AC_LTDL_SHLIBPATH' => 1,
+                        'LTOBSOLETE_VERSION' => 1,
+                        '_LT_PROG_LTMAIN' => 1,
+                        '_LT_AC_TAGVAR' => 1,
+                        'AC_CHECK_LIBM' => 1,
+                        '_LT_LINKER_OPTION' => 1,
                         '_AM_PROG_CC_C_O' => 1,
-                        'LT_PROG_RC' => 1,
-                        '_LT_AC_LANG_F77_CONFIG' => 1,
-                        'LT_INIT' => 1,
-                        'LT_AC_PROG_RC' => 1,
-                        'AC_LIBTOOL_PROG_COMPILER_PIC' => 1,
-                        'PKG_CHECK_MODULES' => 1,
-                        '_LT_PREPARE_SED_QUOTE_VARS' => 1,
-                        'LT_AC_PROG_GCJ' => 1,
-                        '_LT_AC_CHECK_DLFCN' => 1,
-                        'AC_ENABLE_STATIC' => 1,
+                        'AM_MAKE_INCLUDE' => 1,
+                        'AC_LIBTOOL_OBJDIR' => 1,
+                        '_AM_AUTOCONF_VERSION' => 1,
+                        '_LTDL_SETUP' => 1,
+                        '_PKG_SHORT_ERRORS_SUPPORTED' => 1,
+                        'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1,
                         'LTOPTIONS_VERSION' => 1,
-                        '_LT_AC_LANG_F77' => 1,
-                        'AM_AUX_DIR_EXPAND' => 1,
-                        'AM_CONDITIONAL' => 1,
-                        'AC_LIBTOOL_SYS_LIB_STRIP' => 1,
-                        'AC_LTDL_ENABLE_INSTALL' => 1,
-                        'LT_CONFIG_LTDL_DIR' => 1,
-                        'AC_LTDL_SYSSEARCHPATH' => 1,
-                        'AC_ENABLE_SHARED' => 1,
-                        '_LT_AC_TAGVAR' => 1,
-                        '_LT_COMPILER_OPTION' => 1,
-                        'LT_PROG_GCJ' => 1,
+                        'AC_LIBTOOL_DLOPEN' => 1,
                         '_LT_AC_TAGCONFIG' => 1,
+                        '_LT_LINKER_BOILERPLATE' => 1,
+                        'AM_PROG_LIBTOOL' => 1,
+                        '_LT_PREPARE_SED_QUOTE_VARS' => 1,
                         '_LT_PROG_ECHO_BACKSLASH' => 1,
-                        'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1,
-                        '_LT_PROG_CXX' => 1,
-                        'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1,
-                        '_AM_DEPENDENCIES' => 1,
-                        'AC_LIBTOOL_GCJ' => 1,
-                        '_AM_IF_OPTION' => 1,
-                        'LT_PROG_GO' => 1,
-                        'AM_PROG_NM' => 1,
-                        'AC_LIBTOOL_PICMODE' => 1,
-                        '_LT_AC_SHELL_INIT' => 1,
-                        'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1,
                         'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
-                        'AM_DISABLE_SHARED' => 1,
-                        'AC_DEPLIBS_CHECK_METHOD' => 1,
-                        '_LT_AC_LOCK' => 1,
-                        'AC_ENABLE_FAST_INSTALL' => 1,
-                        'AC_CHECK_LIBM' => 1,
-                        '_AC_AM_CONFIG_HEADER_HOOK' => 1,
-                        'AC_PROG_LD' => 1,
-                        '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
-                        'AM_PROG_LIBTOOL' => 1,
-                        'AM_ENABLE_STATIC' => 1,
-                        'PKG_HAVE_DEFINE_WITH_MODULES' => 1,
-                        '_AM_SUBST_NOTMAKE' => 1,
-                        'AC_CONFIG_MACRO_DIR' => 1,
-                        '_LT_AC_LANG_RC_CONFIG' => 1,
-                        'LT_SYS_DLSEARCH_PATH' => 1,
-                        'AC_PROG_NM' => 1,
-                        'AC_LIBTOOL_PROG_CC_C_O' => 1,
-                        'AC_LIBTOOL_LANG_RC_CONFIG' => 1,
-                        'PKG_PROG_PKG_CONFIG' => 1,
+                        '_LT_AC_LANG_F77_CONFIG' => 1,
+                        'AM_SUBST_NOTMAKE' => 1,
+                        '_LT_AC_SHELL_INIT' => 1,
+                        '_LT_AC_LANG_CXX_CONFIG' => 1,
+                        'AM_DEP_TRACK' => 1,
+                        '_LT_COMPILER_BOILERPLATE' => 1,
+                        'AM_SET_DEPDIR' => 1,
                         'LT_LIB_DLLOAD' => 1,
-                        'AC_LTDL_SYMBOL_USCORE' => 1,
-                        'LT_AC_PROG_SED' => 1,
-                        'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1,
-                        'LT_SYS_MODULE_PATH' => 1,
-                        'LT_SYS_SYMBOL_USCORE' => 1,
+                        'LT_CMD_MAX_LEN' => 1,
+                        'AC_LIBLTDL_INSTALLABLE' => 1,
+                        'AC_LIBTOOL_LANG_F77_CONFIG' => 1,
+                        'AC_LIBTOOL_LANG_RC_CONFIG' => 1,
+                        '_LT_DLL_DEF_P' => 1,
+                        '_LT_LIBOBJ' => 1,
+                        'AM_SANITY_CHECK' => 1,
+                        'LT_WITH_LTDL' => 1,
+                        'AC_LIBTOOL_PICMODE' => 1,
+                        'AC_LTDL_SHLIBEXT' => 1,
+                        'AC_LIBTOOL_RC' => 1,
+                        '_LT_CC_BASENAME' => 1,
+                        '_LT_AC_LANG_RC_CONFIG' => 1,
+                        '_AC_AM_CONFIG_HEADER_HOOK' => 1,
+                        'PKG_NOARCH_INSTALLDIR' => 1,
                         'AC_LIBTOOL_SYS_OLD_ARCHIVE' => 1,
-                        'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1,
-                        '_AM_AUTOCONF_VERSION' => 1,
-                        'AC_LIBTOOL_SETUP' => 1,
-                        '_AM_SET_OPTION' => 1,
-                        'AM_RUN_LOG' => 1,
-                        'AM_MISSING_PROG' => 1,
-                        'AC_LIBTOOL_COMPILER_OPTION' => 1,
-                        'AC_PROG_LIBTOOL' => 1,
-                        'AM_AUTOMAKE_VERSION' => 1,
-                        'AM_SUBST_NOTMAKE' => 1,
-                        'LT_LIB_M' => 1,
-                        'AC_LIBTOOL_WIN32_DLL' => 1,
-                        'AC_PATH_MAGIC' => 1,
+                        'AC_LIBTOOL_LANG_C_CONFIG' => 1,
+                        'LT_PROG_GO' => 1,
+                        'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
                         'AC_PATH_TOOL_PREFIX' => 1,
-                        '_LT_WITH_SYSROOT' => 1,
-                        'AC_CONFIG_MACRO_DIR_TRACE' => 1,
                         'AC_LTDL_SYS_DLOPEN_DEPLIBS' => 1,
-                        'LT_CMD_MAX_LEN' => 1,
-                        'LTDL_INSTALLABLE' => 1,
-                        'AM_PROG_CC_C_O' => 1,
-                        'AM_MAKE_INCLUDE' => 1,
+                        'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1,
                         'PKG_HAVE_WITH_MODULES' => 1,
-                        'AM_PROG_INSTALL_SH' => 1,
-                        'AC_DISABLE_SHARED' => 1,
+                        'AC_LIBTOOL_LANG_CXX_CONFIG' => 1,
+                        'LT_AC_PROG_RC' => 1,
                         'LT_FUNC_DLSYM_USCORE' => 1,
+                        'AC_ENABLE_STATIC' => 1,
+                        '_LT_AC_CHECK_DLFCN' => 1,
+                        'AM_SILENT_RULES' => 1,
                         'AC_LIBTOOL_CONFIG' => 1,
-                        'AC_LIBTOOL_LANG_C_CONFIG' => 1,
-                        '_LT_PROG_F77' => 1,
-                        'AC_DISABLE_FAST_INSTALL' => 1,
-                        'LTSUGAR_VERSION' => 1,
-                        'AC_LIBTOOL_PROG_LD_SHLIBS' => 1,
-                        'AC_LIBTOOL_POSTDEP_PREDEP' => 1,
-                        'AC_LIBTOOL_CXX' => 1,
-                        'm4_pattern_forbid' => 1,
-                        '_LT_AC_TRY_DLOPEN_SELF' => 1,
-                        '_LT_PROG_LTMAIN' => 1,
-                        'LT_SYS_MODULE_EXT' => 1,
-                        '_PKG_SHORT_ERRORS_SUPPORTED' => 1,
-                        '_LT_COMPILER_BOILERPLATE' => 1,
-                        'PKG_CHECK_VAR' => 1,
-                        'AC_DEFUN_ONCE' => 1,
-                        'AC_LTDL_DLLIB' => 1,
                         'LT_SYS_DLOPEN_SELF' => 1,
+                        'AC_LIBTOOL_SYS_LIB_STRIP' => 1,
+                        'AM_PROG_CC_C_O' => 1,
+                        'AM_SET_LEADING_DOT' => 1,
                         'LT_PATH_NM' => 1,
-                        '_LT_AC_LANG_CXX' => 1,
-                        '_LT_AC_SYS_LIBPATH_AIX' => 1,
-                        'AM_INIT_AUTOMAKE' => 1,
-                        'AM_SILENT_RULES' => 1,
-                        'LT_PATH_LD' => 1,
-                        'AM_SET_DEPDIR' => 1,
-                        '_LT_LINKER_OPTION' => 1,
-                        'LTOBSOLETE_VERSION' => 1,
-                        '_LT_AC_LANG_GCJ_CONFIG' => 1,
-                        '_LT_PATH_TOOL_PREFIX' => 1,
-                        'AC_LIBTOOL_OBJDIR' => 1,
-                        '_LTDL_SETUP' => 1,
-                        '_LT_AC_LANG_C_CONFIG' => 1,
-                        'AC_LTDL_OBJDIR' => 1,
-                        'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1,
-                        'LT_OUTPUT' => 1,
-                        'AC_LIBTOOL_FC' => 1,
-                        'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
-                        'AM_ENABLE_SHARED' => 1,
-                        'AC_LIBTOOL_DLOPEN' => 1,
-                        '_LT_CC_BASENAME' => 1,
-                        'm4_pattern_allow' => 1,
-                        'PKG_NOARCH_INSTALLDIR' => 1,
-                        'AC_LTDL_PREOPEN' => 1,
-                        'LTDL_CONVENIENCE' => 1,
-                        'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1,
+                        '_AM_SUBST_NOTMAKE' => 1,
                         '_LT_AC_SYS_COMPILER' => 1,
-                        'AM_MISSING_HAS_RUN' => 1,
+                        'AC_ENABLE_FAST_INSTALL' => 1,
+                        'LTSUGAR_VERSION' => 1,
+                        'AC_ENABLE_SHARED' => 1,
+                        '_AM_SET_OPTIONS' => 1,
+                        'LT_AC_PROG_EGREP' => 1,
+                        'PKG_INSTALLDIR' => 1,
+                        'AM_CONDITIONAL' => 1,
+                        '_LT_PROG_FC' => 1,
+                        'AC_DEFUN_ONCE' => 1,
+                        'AC_LIBTOOL_DLOPEN_SELF' => 1,
+                        'AC_LIBTOOL_CXX' => 1,
                         '_LT_REQUIRED_DARWIN_CHECKS' => 1,
-                        'AC_LTDL_DLSYM_USCORE' => 1
+                        'LTDL_CONVENIENCE' => 1,
+                        'AC_WITH_LTDL' => 1,
+                        'PKG_CHECK_EXISTS' => 1,
+                        'm4_pattern_forbid' => 1,
+                        '_m4_warn' => 1,
+                        'AM_PROG_NM' => 1,
+                        'AC_LIBTOOL_PROG_CC_C_O' => 1,
+                        'AM_PROG_LD' => 1,
+                        'LT_AC_PROG_GCJ' => 1,
+                        'AC_PROG_LD' => 1,
+                        'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1,
+                        'AC_PROG_LD_GNU' => 1
                       }
                     ], 'Autom4te::Request' )
            );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/LibRaw-0.17.0/autom4te.cache/traces.1 
new/LibRaw-0.17.1/autom4te.cache/traces.1
--- old/LibRaw-0.17.0/autom4te.cache/traces.1   2015-08-15 16:07:54.000000000 
+0200
+++ new/LibRaw-0.17.1/autom4te.cache/traces.1   2015-11-24 16:17:34.000000000 
+0100
@@ -4,7 +4,7 @@
 m4trace:aclocal.m4:1444: -1- m4_include([m4/ltsugar.m4])
 m4trace:aclocal.m4:1445: -1- m4_include([m4/ltversion.m4])
 m4trace:aclocal.m4:1446: -1- m4_include([m4/lt~obsolete.m4])
-m4trace:configure.ac:2: -1- AC_INIT([LibRaw], [0.17.0], [i...@libraw.org], [], 
[http://www.libraw.org])
+m4trace:configure.ac:2: -1- AC_INIT([LibRaw], [0.17.1], [i...@libraw.org], [], 
[http://www.libraw.org])
 m4trace:configure.ac:2: -1- m4_pattern_forbid([^_?A[CHUM]_])
 m4trace:configure.ac:2: -1- m4_pattern_forbid([_AC_])
 m4trace:configure.ac:2: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS 
directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
@@ -622,7 +622,7 @@
 m4trace:configure.ac:225: -1- AC_SUBST([LIBRAW_SHLIB_VERSION], [15:0:0])
 m4trace:configure.ac:225: -1- AC_SUBST_TRACE([LIBRAW_SHLIB_VERSION])
 m4trace:configure.ac:225: -1- m4_pattern_allow([^LIBRAW_SHLIB_VERSION$])
-m4trace:configure.ac:226: -1- AC_SUBST([LIBRAW_RELEASE_VERSION], [0.17.0])
+m4trace:configure.ac:226: -1- AC_SUBST([LIBRAW_RELEASE_VERSION], [0.17.1])
 m4trace:configure.ac:226: -1- AC_SUBST_TRACE([LIBRAW_RELEASE_VERSION])
 m4trace:configure.ac:226: -1- m4_pattern_allow([^LIBRAW_RELEASE_VERSION$])
 m4trace:configure.ac:228: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/LibRaw-0.17.0/configure new/LibRaw-0.17.1/configure
--- old/LibRaw-0.17.0/configure 2015-08-15 16:07:53.000000000 +0200
+++ new/LibRaw-0.17.1/configure 2015-11-24 16:17:32.000000000 +0100
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for LibRaw 0.17.0.
+# Generated by GNU Autoconf 2.69 for LibRaw 0.17.1.
 #
 # Report bugs to <i...@libraw.org>.
 #
@@ -590,8 +590,8 @@
 # Identity of this package.
 PACKAGE_NAME='LibRaw'
 PACKAGE_TARNAME='libraw'
-PACKAGE_VERSION='0.17.0'
-PACKAGE_STRING='LibRaw 0.17.0'
+PACKAGE_VERSION='0.17.1'
+PACKAGE_STRING='LibRaw 0.17.1'
 PACKAGE_BUGREPORT='i...@libraw.org'
 PACKAGE_URL='http://www.libraw.org'
 
@@ -1352,7 +1352,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 LibRaw 0.17.0 to adapt to many kinds of systems.
+\`configure' configures LibRaw 0.17.1 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1422,7 +1422,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of LibRaw 0.17.0:";;
+     short | recursive ) echo "Configuration of LibRaw 0.17.1:";;
    esac
   cat <<\_ACEOF
 
@@ -1553,7 +1553,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-LibRaw configure 0.17.0
+LibRaw configure 0.17.1
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2043,7 +2043,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by LibRaw $as_me 0.17.0, which was
+It was created by LibRaw $as_me 0.17.1, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2906,7 +2906,7 @@
 
 # Define the identity of the package.
  PACKAGE='libraw'
- VERSION='0.17.0'
+ VERSION='0.17.1'
 
 
 # Some tools Automake needs.
@@ -16974,7 +16974,7 @@
 
 LIBRAW_SHLIB_VERSION=15:0:0
 
-LIBRAW_RELEASE_VERSION=0.17.0
+LIBRAW_RELEASE_VERSION=0.17.1
 
 
 cat >confcache <<\_ACEOF
@@ -17551,7 +17551,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by LibRaw $as_me 0.17.0, which was
+This file was extended by LibRaw $as_me 0.17.1, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -17609,7 +17609,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-LibRaw config.status 0.17.0
+LibRaw config.status 0.17.1
 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/LibRaw-0.17.0/internal/dcraw_common.cpp 
new/LibRaw-0.17.1/internal/dcraw_common.cpp
--- old/LibRaw-0.17.0/internal/dcraw_common.cpp 2015-08-15 16:07:46.000000000 
+0200
+++ new/LibRaw-0.17.1/internal/dcraw_common.cpp 2015-11-24 16:17:22.000000000 
+0100
@@ -1474,7 +1474,7 @@
   /* static */ const signed char dir[12][2] =
     { {-1,-1}, {-1,1}, {1,-1}, {1,1}, {-2,0}, {0,-2}, {0,2}, {2,0},
       {-2,-2}, {-2,2}, {2,-2}, {2,2} };
-  float poly[8], num, cfrac, frac, mult[2], *yval[2];
+  float poly[8], num, cfrac, frac, mult[2], *yval[2]={NULL,NULL};
   ushort *xval[2];
   int qmult_applied = 0, qlin_applied = 0;
 
@@ -1704,9 +1704,11 @@
   }
   catch (...)
   {
-         return LIBRAW_CANCELLED_BY_CALLBACK;
+    if(yval[0]) free(yval[0]);
+    return LIBRAW_CANCELLED_BY_CALLBACK;
   }
 #endif
+  return 0;
 }
 
 void CLASS phase_one_load_raw()
@@ -3473,6 +3475,10 @@
       diff = diff ? -diff : 0x80;
     if (ftell(ifp) + 12 >= seg[1][1])
       diff = 0;
+#ifdef LIBRAW_LIBRARY_BUILD
+    if(pix>=raw_width*raw_height)
+      throw LIBRAW_EXCEPTION_IO_CORRUPT;
+#endif
     raw_image[pix] = pred[pix & 1] += diff;
     if (!(pix & 1) && HOLE(pix / raw_width)) pix += 2;
   }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/LibRaw-0.17.0/libraw/libraw_version.h 
new/LibRaw-0.17.1/libraw/libraw_version.h
--- old/LibRaw-0.17.0/libraw/libraw_version.h   2015-08-15 15:10:27.000000000 
+0200
+++ new/LibRaw-0.17.1/libraw/libraw_version.h   2015-11-24 08:43:29.000000000 
+0100
@@ -25,7 +25,7 @@
 
 #define LIBRAW_MAJOR_VERSION  0
 #define LIBRAW_MINOR_VERSION  17
-#define LIBRAW_PATCH_VERSION  0
+#define LIBRAW_PATCH_VERSION  1
 #define LIBRAW_VERSION_TAIL   Release
 
 #define LIBRAW_SHLIB_CURRENT   15
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/LibRaw-0.17.0/src/libraw_cxx.cpp 
new/LibRaw-0.17.1/src/libraw_cxx.cpp
--- old/LibRaw-0.17.0/src/libraw_cxx.cpp        2015-08-15 15:10:27.000000000 
+0200
+++ new/LibRaw-0.17.1/src/libraw_cxx.cpp        2015-11-24 08:43:29.000000000 
+0100
@@ -1449,7 +1449,8 @@
 #endif
     if(!imgdata.rawdata.raw_image && !imgdata.rawdata.color4_image && 
!imgdata.rawdata.color3_image) //RawSpeed failed!
       {
-        // Not allocated on RawSpeed call, try call LibRaw
+        // Not allocated on RawSpeed call, try call LibRaow
+       int zero_rawimage = 0;
         if(decoder_info.decoder_flags &  LIBRAW_DECODER_OWNALLOC)
           {
             // x3f foveon decoder
@@ -1472,6 +1473,8 @@
             // allocate image as temporary buffer, size
             imgdata.rawdata.raw_alloc = 0;
             imgdata.image = (ushort (*)[4]) 
calloc(S.iwidth*S.iheight,sizeof(*imgdata.image));
+           imgdata.rawdata.raw_image = (ushort*) imgdata.image ;
+           zero_rawimage = 1;
           }
         ID.input->seek(libraw_internal_data.unpacker_data.data_offset, 
SEEK_SET);
 
@@ -1479,6 +1482,8 @@
         if(load_raw == &LibRaw::unpacked_load_raw && 
!strcasecmp(imgdata.idata.make,"Nikon"))
           C.maximum=65535;
         (this->*load_raw)();
+       if(zero_rawimage)
+         imgdata.rawdata.raw_image = 0;
         if(load_raw == &LibRaw::unpacked_load_raw && 
!strcasecmp(imgdata.idata.make,"Nikon"))
           C.maximum = m_save;
         if(decoder_info.decoder_flags &  LIBRAW_DECODER_OWNALLOC)
@@ -1699,8 +1704,14 @@
     if (is_phaseone_compressed())
       {
         phase_one_allocate_tempbuffer();
-        
phase_one_subtract_black((ushort*)imgdata.rawdata.raw_alloc,imgdata.rawdata.raw_image);
-        phase_one_correct();
+        int rc = 
phase_one_subtract_black((ushort*)imgdata.rawdata.raw_alloc,imgdata.rawdata.raw_image);
+       if(rc == 0)
+         rc = phase_one_correct();
+       if(rc!=0)
+       {
+         phase_one_free_tempbuffer();
+         return rc;
+       }
       }
 
     // free and re-allocate image bitmap
@@ -1971,8 +1982,14 @@
     if (is_phaseone_compressed())
       {
         phase_one_allocate_tempbuffer();
-        
phase_one_subtract_black((ushort*)imgdata.rawdata.raw_alloc,imgdata.rawdata.raw_image);
-        phase_one_correct();
+        int rc = 
phase_one_subtract_black((ushort*)imgdata.rawdata.raw_alloc,imgdata.rawdata.raw_image);
+       if(rc == 0)
+         rc = phase_one_correct();
+       if(rc!=0)
+         {
+           phase_one_free_tempbuffer();
+           return rc;
+         }
       }
 
     // process cropping


Reply via email to