This commit is contained in:
parent
06e479ac17
commit
e52e1442ef
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:00f327c23b614235de122244787a71cbe72d099545fe032d8ca338d47e30974e
|
oid sha256:4ec6f6eee3b45c3ed7bf5787cffcb989ab16346d353d24f9fca088703482ba7f
|
||||||
size 754740
|
size 751042
|
||||||
|
@ -1,20 +0,0 @@
|
|||||||
--- libexif/exif-data.c 2008-03-17 08:22:12.755318000 +0100
|
|
||||||
+++ libexif/exif-data.c 2008-04-28 10:45:27.000000000 +0200
|
|
||||||
@@ -1219,8 +1219,16 @@
|
|
||||||
exif_log (c->parent->priv->log, EXIF_LOG_CODE_DEBUG, "exif-data",
|
|
||||||
"No thumbnail but entries on thumbnail. These entries have been "
|
|
||||||
"removed.");
|
|
||||||
- while (c->count)
|
|
||||||
+ while (c->count) {
|
|
||||||
+ int cnt = c->count;
|
|
||||||
exif_content_remove_entry (c, c->entries[c->count - 1]);
|
|
||||||
+ if (cnt == c->count) {
|
|
||||||
+ /* safety net */
|
|
||||||
+ exif_log (c->parent->priv->log, EXIF_LOG_CODE_DEBUG, "exif-data",
|
|
||||||
+ "failed to remove last entry from entries.");
|
|
||||||
+ c->count--;
|
|
||||||
+ }
|
|
||||||
+ }
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
default:
|
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 25 23:34:11 CEST 2008 - meissner@suse.de
|
||||||
|
|
||||||
|
- fixed eog and gimp crashes bnc#404475, bnc#406299
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Apr 28 10:52:57 CEST 2008 - meissner@suse.de
|
Mon Apr 28 10:52:57 CEST 2008 - meissner@suse.de
|
||||||
|
|
||||||
|
14
libexif.spec
14
libexif.spec
@ -15,13 +15,12 @@ Name: libexif
|
|||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
Url: http://libexif.sourceforge.net
|
Url: http://libexif.sourceforge.net
|
||||||
License: LGPL v2.1 or later
|
License: LGPL v2.1 or later
|
||||||
Group: Development/Libraries/C and C++
|
Group: System/Libraries
|
||||||
Summary: An EXIF Tag Parsing Library for Digital Cameras
|
Summary: An EXIF Tag Parsing Library for Digital Cameras
|
||||||
Version: 0.6.16.2
|
Version: 0.6.16.2
|
||||||
Release: 25
|
Release: 39
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Source0: %{name}-%{version}.tar.bz2
|
Source0: %{name}-%{version}.tar.bz2
|
||||||
Patch0: libexif-remove-safety.diff
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This library is used to parse EXIF information from JPEGs created by
|
This library is used to parse EXIF information from JPEGs created by
|
||||||
@ -53,7 +52,6 @@ Authors:
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
@ -71,11 +69,9 @@ make check
|
|||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%post
|
%post -p /sbin/ldconfig
|
||||||
%run_ldconfig
|
|
||||||
|
|
||||||
%postun
|
%postun -p /sbin/ldconfig
|
||||||
%run_ldconfig
|
|
||||||
|
|
||||||
%files -f %{name}-12.lang
|
%files -f %{name}-12.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -90,6 +86,8 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jul 26 2008 meissner@suse.de
|
||||||
|
- fixed eog and gimp crashes bnc#404475, bnc#406299
|
||||||
* Mon Apr 28 2008 meissner@suse.de
|
* Mon Apr 28 2008 meissner@suse.de
|
||||||
- fixed endless loop problem in exif_content_remove_entry()
|
- fixed endless loop problem in exif_content_remove_entry()
|
||||||
bnc#380716
|
bnc#380716
|
||||||
|
Loading…
Reference in New Issue
Block a user