rpms/hunspell/devel hunspell-1.1.5.freem.patch, NONE, 1.1 hunspell.spec, 1.18, 1.19
Caolan McNamara (caolanm)
fedora-extras-commits at redhat.com
Fri Jun 29 11:31:57 UTC 2007
- Previous message (by thread): rpms/perl-Test-MockObject/devel .cvsignore, 1.10, 1.11 perl-Test-MockObject.spec, 1.14, 1.15 sources, 1.10, 1.11
- Next message (by thread): rpms/perl-Text-WikiFormat/devel .cvsignore, 1.4, 1.5 perl-Text-WikiFormat.spec, 1.4, 1.5 sources, 1.4, 1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: caolanm
Update of /cvs/pkgs/rpms/hunspell/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24674
Modified Files:
hunspell.spec
Added Files:
hunspell-1.1.5.freem.patch
Log Message:
memory leak
hunspell-1.1.5.freem.patch:
--- NEW FILE hunspell-1.1.5.freem.patch ---
diff -ru hunspell-1.1.5.orig/src/hunspell/hunspell.cxx hunspell-1.1.5/src/hunspell/hunspell.cxx
--- hunspell-1.1.5.orig/src/hunspell/hunspell.cxx 2007-06-29 12:12:57.000000000 +0100
+++ hunspell-1.1.5/src/hunspell/hunspell.cxx 2007-06-29 12:18:31.000000000 +0100
@@ -1674,7 +1674,12 @@
if (!word) return 0;
char * m = morph(word);
if(!m) return 0;
- if (!out) return line_tok(m, out);
+ if (!out)
+ {
+ n = line_tok(m, out);
+ free(m)
+ return n;
+ }
// without memory allocation
/* BUG missing buffer size checking */
Index: hunspell.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hunspell/devel/hunspell.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- hunspell.spec 6 Jun 2007 11:07:19 -0000 1.18
+++ hunspell.spec 29 Jun 2007 11:31:21 -0000 1.19
@@ -1,7 +1,7 @@
Name: hunspell
Summary: Hunspell is a spell checker and morphological analyzer library
Version: 1.1.5.3
-Release: 4%{?dist}
+Release: 5%{?dist}
Source: http://downloads.sourceforge.net/%{name}/hunspell-1.1.5-3.tar.gz
Group: System Environment/Libraries
URL: http://hunspell.sourceforge.net/
@@ -12,6 +12,7 @@
Patch0: hunspell-1.1.4-defaultdictfromlang.patch
Patch1: hunspell-1.1.5-badheader.patch
Patch2: hunspell-1.1.5.encoding.patch
+Patch3: hunspell-1.1.5.freem.patch
%description
Hunspell is a spell checker and morphological analyzer library and program
@@ -31,7 +32,8 @@
%setup -q -n hunspell-1.1.5
%patch0 -p1 -b .defaultdictfromlang.patch
%patch1 -p1 -b .badheader.patch
-%patch2 -p1 -b .hunspell-1.1.5.encoding.patch
+%patch2 -p1 -b .encoding.patch
+%patch3 -p1 -b .freem.patch
%build
libtoolize --automake --force
@@ -82,6 +84,10 @@
%{_libdir}/pkgconfig/hunspell.pc
%changelog
+* Fri Jun 29 2007 Caolan McNamara <caolanm at redhat.com> - 1.1.5.3-5
+- fix memory leak
+ http://sourceforge.net/tracker/index.php?func=detail&aid=1745263&group_id=143754&atid=756395
+
* Wed Jun 06 2007 Caolan McNamara <caolanm at redhat.com> - 1.1.5.3-4
- Resolves: rhbz#212984 discovered problem with missing wordchars
- Previous message (by thread): rpms/perl-Test-MockObject/devel .cvsignore, 1.10, 1.11 perl-Test-MockObject.spec, 1.14, 1.15 sources, 1.10, 1.11
- Next message (by thread): rpms/perl-Text-WikiFormat/devel .cvsignore, 1.4, 1.5 perl-Text-WikiFormat.spec, 1.4, 1.5 sources, 1.4, 1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list