Add patch for charview crash. Fixes bug #660376

This commit is contained in:
Paul Williams 2011-03-18 21:08:58 +00:00
parent f63c0bd743
commit 7430dad996
2 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- fontforge-20100501.orig/fontforge/charview.c 2010-04-15 03:26:28.000000000 +0100
+++ fontforge-20100501/fontforge/charview.c 2011-03-01 15:09:22.821753002 +0000
@@ -8597,7 +8597,7 @@
static int CVNumForePointsSelected(CharView *cv, BasePoint **bp) {
SplineSet *spl;
SplinePoint *test, *first;
- BasePoint *bps[4];
+ BasePoint *bps[5];
int i, cnt;
if ( cv->b.drawmode!=dm_fore )

View File

@ -5,7 +5,7 @@
Name: fontforge
Version: 20100501
Release: 7%{?dist}
Release: 8%{?dist}
Summary: Outline and bitmap font editor
Group: Applications/Publishing
@ -21,6 +21,7 @@ Patch2: fontforge-20100501-splinesets.patch
Patch3: fontforge-20100501-python27.patch
Patch4: fontforge-20100501-CVE-2010-4259.patch
Patch5: fontforge-20100501-unicode-crash.patch
Patch6: fontforge-20100501-select-points-crash.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: xdg-utils
@ -66,6 +67,7 @@ to compile applications against fontforge.
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
mkdir htdocs
tar xjf %{SOURCE2} -C htdocs
@ -156,6 +158,9 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
%{_libdir}/pkgconfig/*.pc
%changelog
* Tue Mar 01 2011 Paul Williams <paul@frixxon.co.uk> - 20100501-8
- Add patch for charview crash. Fixes bug #660376
* Wed Feb 16 2011 Kevin Fenzi <kevin@tummy.com> - 20100501-7
- Fix patch for python. Fixes bug #677917
- Add patch for unicode glyph crash. Fixes bug #631172