diff --git a/xfig.spec b/xfig.spec index b23766b..9d0489f 100644 --- a/xfig.spec +++ b/xfig.spec @@ -3,7 +3,7 @@ Summary: An X Window System tool for drawing basic vector graphics Name: xfig Version: 3.2.5 -Release: 24.b%{?dist} +Release: 25.b%{?dist} License: MIT Group: Applications/Multimedia URL: http://www.xfig.org/ @@ -20,6 +20,7 @@ Patch10: xfig-3.2.5-enable-Xaw3d.patch Patch13: xfig-3.2.5-urwfonts.patch Patch19: xfig-3.2.5-debian.patch Patch20: xfig-3.2.5b-fix-eps-reading.patch +Patch21: xfig-3.2.5b-fix-fig-buffer-overflow.patch BuildRequires: libjpeg-devel BuildRequires: libpng-devel @@ -94,6 +95,7 @@ Files common to both the plain Xaw and the Xaw3d version of xfig. %patch13 -p1 -b .urw %patch19 -p1 %patch20 -p1 +%patch21 iconv -f ISO-8859-1 -t UTF8 CHANGES > tmp; touch -r CHANGES tmp; mv tmp CHANGES rm Doc/html/images/sav1a0.tmp chmod -x `find -type f` @@ -186,6 +188,9 @@ fi %changelog +* Mon Dec 6 2010 Stanislav Ochotnicky - 3.2.5-25.b +- Fix buffer overflow when opening malicious fig files + * Thu Nov 25 2010 Hans de Goede 3.2.5-24.b - Fix importing of eps files (#657290)