Package: ufraw Version: 0.15-2+b1 Severity: important File: /usr/bin/nikon-curve Tags: patch, upstream
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 In 0.15, upstream wrapped all calls to fwrite/fread with their own nc_frwrite/nc_fread functions. Unfortunately, their nc_fwrite calls itself instead of frwrite which leads to nikon-curve crashing due to infinitely calling nc_fwrite. Attached patch fixes this. - -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (100, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.29-2-686 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages ufraw depends on: ii desktop-file-utils 0.15-2 Utilities for .desktop files ii libatk1.0-0 1.26.0-1 The ATK accessibility toolkit ii libbz2-1.0 1.0.5-2 high-quality block-sorting file co ii libc6 2.9-13 GNU C Library: Shared libraries ii libcairo2 1.8.6-2+b1 The Cairo 2D vector graphics libra ii libexiv2-5 0.18.1-1 EXIF/IPTC metadata manipulation li ii libfontconfig1 2.6.0-3 generic font configuration library ii libfreetype6 2.3.9-5 FreeType 2 font engine, shared lib ii libgcc1 1:4.4.0-5 GCC support library ii libglib2.0-0 2.20.3-1 The GLib library of C routines ii libgomp1 4.4.0-5 GCC OpenMP (GOMP) support library ii libgtk2.0-0 2.16.2-1 The GTK+ graphical user interface ii libgtkimageview0 1.6.1-2 image viewer widget for GTK+ ii libjpeg62 6b-14 The Independent JPEG Group's JPEG ii liblcms1 1.18.dfsg-1 Color management library ii libpango1.0-0 1.24.2-1 Layout and rendering of internatio ii libpng12-0 1.2.37-1 PNG library - runtime ii libstdc++6 4.4.0-5 The GNU Standard C++ Library v3 ii libtiff4 3.8.2-11 Tag Image File Format (TIFF) libra ii zlib1g 1:1.2.3.3.dfsg-13 compression library - runtime ufraw recommends no packages. ufraw suggests no packages. - -- no debconf information -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAko1jxcACgkQDb3UpmEybUAPDACfc/9I0Gre8PqXRuoWgz+i1FkV wSsAoJ8VondUlNt5iDWmY9odmpkmcifx =7IJE -----END PGP SIGNATURE-----
--- ufraw-0.15/nikon_curve.c 2009-06-14 18:55:44.000000000 -0400 +++ ufraw-0.15.new/nikon_curve.c 2009-06-14 18:40:34.000000000 -0400 @@ -254,7 +254,7 @@ size_t nc_fwrite(const void *ptr, size_t size, size_t nmemb, FILE *stream) { - size_t num = nc_fwrite(ptr, size, nmemb, stream); + size_t num = fwrite(ptr, size, nmemb, stream); if ( num!=nmemb ) nc_message(NC_WARNING, "WARNING: nc_fwrite %d != %d\n", num, nmemb); return num;