rpms/hunspell/F-13 hunspell-1.2.10.wrongmalloc.patch, NONE, 1.1 hunspell.spec, 1.78, 1.79
Caolan McNamara
caolanm at fedoraproject.org
Thu May 6 08:55:14 UTC 2010
Author: caolanm
Update of /cvs/pkgs/rpms/hunspell/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv8591
Modified Files:
hunspell.spec
Added Files:
hunspell-1.2.10.wrongmalloc.patch
Log Message:
Resolves: rhbz#589326 hunspell-1.2.10.wrongmalloc.patch
hunspell-1.2.10.wrongmalloc.patch:
affixmgr.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE hunspell-1.2.10.wrongmalloc.patch ---
diff -ru hunspell-1.2.10.orig/src/hunspell/affixmgr.cxx hunspell-1.2.10/src/hunspell/affixmgr.cxx
--- hunspell-1.2.10.orig/src/hunspell/affixmgr.cxx 2010-05-06 09:39:14.000000000 +0100
+++ hunspell-1.2.10/src/hunspell/affixmgr.cxx 2010-05-06 09:45:42.000000000 +0100
@@ -3833,7 +3833,7 @@
case 1: {
int setn = 0;
maptable[j].len = strlen(piece);
- maptable[j].set = (char **) malloc(maptable[j].len * sizeof(int));
+ maptable[j].set = (char **) malloc(maptable[j].len * sizeof(char*));
if (!maptable[j].set) return 1;
for (int k = 0; k < maptable[j].len; k++) {
int chl = 1;
Index: hunspell.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hunspell/F-13/hunspell.spec,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -p -r1.78 -r1.79
--- hunspell.spec 4 Mar 2010 10:34:24 -0000 1.78
+++ hunspell.spec 6 May 2010 08:55:14 -0000 1.79
@@ -1,7 +1,7 @@
Name: hunspell
Summary: A spell checker and morphological analyzer library
Version: 1.2.8
-Release: 17%{?dist}
+Release: 18%{?dist}
Source0: http://downloads.sourceforge.net/%{name}/hunspell-%{version}.tar.gz
Source1: http://people.debian.org/~agmartin/misc/ispellaff2myspell
Source2: http://people.redhat.com/caolanm/hunspell/wordlist2hunspell
@@ -17,6 +17,7 @@ Patch4: hunspell-1.2.8-2826164.fixtes
Patch5: hunspell-1.2.8-2910695.nohome.patch
Patch6: hunspell-1.2.8-2934195.suggestmgr.patch
Patch7: hunspell-1.2.9-stacksmash.patch
+Patch8: hunspell-1.2.10.wrongmalloc.patch
%description
Hunspell is a spell checker and morphological analyzer library and program
@@ -41,6 +42,7 @@ Includes and definitions for developing
%patch5 -p1 -b .nohome.patch
%patch6 -p1 -b .suggestmgr.patch
%patch7 -p1 -b .stacksmash.patch
+%patch8 -p1 -b .wrongmalloc.patch
# Filter unwanted Requires for the "use explicitely" string in ispellaff2myspell
cat << \EOF > %{name}-req
#!/bin/sh
@@ -131,6 +133,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/hunspell.3.gz
%changelog
+* Thu May 06 2010 Caolan McNamara <caolanm at redhat.com> - 1.2.8-18
+- Resolves: rhbz#589326 hunspell-1.2.10.wrongmalloc.patch
+
* Thu Mar 04 2010 Caolan McNamara <caolanm at redhat.com> - 1.2.8-17
- Resolves: ooo#107768 hunspell-1.2.9-stacksmash.patch
More information about the scm-commits
mailing list